What is the formula of iEnvelopes deviation?

 
I know the MODE_MAIN value is an ordinary moving average.

What about UPPER and LOWER? What is the formula for calculating the percent deviation?

I know how to use it in MT4. Now I want to know how it is calculated.
 
whoowl: I know the MODE_MAIN value is an ordinary moving average. What about UPPER and LOWER? What is the formula for calculating the percent deviation? I know how to use it in MT4. Now I want to know how it is calculated.
It's in the documentation ... Envelopes - Technical Indicators - Analytics - MetaTrader 4 Help
Envelopes - Technical Indicators - Analytics - MetaTrader 4 Help
Envelopes - Technical Indicators - Analytics - MetaTrader 4 Help
  • www.metatrader4.com
Envelopes Technical Indicator is formed with two Moving Averages one of which is shifted upward and another one is shifted downward. The selection...
 
Thank you again, Fernando.
 
whoowl #: Thank you again, Fernando.
You are welcome!
Reason: