MQL4 Reference
Standard constants
Moving Average methods
|
Moving Average calculation method used with iAlligator(),
iEnvelopes(), iEnvelopesOnArray,
iForce(), iGator(),
iMA(), iMAOnArray(),
iStdDev(), iStdDevOnArray(),
iStochastic() indicators.
It can be any of the following values:
| Constant | Value | Description |
| MODE_SMA | 0 | Simple moving average, |
| MODE_EMA | 1 | Exponential moving average, |
| MODE_SMMA | 2 | Smoothed moving average, |
| MODE_LWMA | 3 | Linear weighted moving average. |
|
|
|