Good day coders,if some good soul can help me,it would be much apreciated.Following are the instructions:

The Metatrader indicator I’m looking for is a modified Envelopes which automatically sets its Deviation parameter according to the changes in volatility(measured by the ATR indicator).

This automatic adaptation must be dependent on a “Deviation/ATR ratio” which has to be customizable by the user.If,for instance,this ratio is set to 1.5,the difference between upper and lower envelope(which is a derivative of the Envelopes Deviation setting)must be equal to 1.5 times the ATR.

Consequently,the customizable parameters will be:

- Envelopes Ma period

- Envelopes Ma mode(0=simple,1=exponential)

- ATR period

- Deviation / ATR ratio

See attached jpeg file as visual example.

Thanks.

The Metatrader indicator I’m looking for is a modified Envelopes which automatically sets its Deviation parameter according to the changes in volatility(measured by the ATR indicator).

This automatic adaptation must be dependent on a “Deviation/ATR ratio” which has to be customizable by the user.If,for instance,this ratio is set to 1.5,the difference between upper and lower envelope(which is a derivative of the Envelopes Deviation setting)must be equal to 1.5 times the ATR.

Consequently,the customizable parameters will be:

- Envelopes Ma period

- Envelopes Ma mode(0=simple,1=exponential)

- ATR period

- Deviation / ATR ratio

See attached jpeg file as visual example.

Thanks.