the attached is MetaStock code but should be an easy conversion to any charting program code the indicators function like a Darvis envelope and are meant primarily for MWD charts, not sure how useful it may be