MQL4参考 标准常量,列举和架构 指标常量 平滑方式

Smoothing Methods

Many technical indicators are based on various methods of the price series smoothing. Some standard technical indicators (iAlligator(), iEnvelopes(), iEnvelopesOnArray(), iForce(), iGator(), iMA(), iMAOnArray(), iStdDev(), iStdDevOnArray() and iStochastic() indicators) require specification of the smoothing type as an input parameter. For specifying the desired type of smoothing, identifiers listed in the ENUM_MA_METHOD enumeration are used.

ENUM_MA_METHOD

ID

Value

Description

MODE_SMA

0

Simple averaging

MODE_EMA

1

Exponential averaging

MODE_SMMA

2

Smoothed averaging

MODE_LWMA

3

Linear-weighted averaging