Smoothing Methods
Many technical indicators use various price series smoothing methods. The ENUM_MA_METHOD enumeration specifies the smoothing type for input parameters in functions like iAlligator(), iEnvelopes(), iMA(), iStdDev(), and iStochastic().
ENUM_MA_METHOD Enumeration
| Identifier | ID | Value | Description |
|---|---|---|---|
| MODE_SMA | 0 | Simple averaging |
| MODE_EMA | 1 | Exponential averaging |
| MODE_SMMA | 2 | Smoothed averaging |
| MODE_LWMA | 3 | Linear-weighted averaging |
This enumeration is part of the MQL4 Constants, Enumerations and Structures, specifically within Indicator Constants.