array | Array with data |
total | The number of items to be counted. 0 means the whole array |
ma_period | Averaging period for calculation of the main line |
ma_method | Moving Average method. It can be any of following values:
MODE_SMA | Simple averaging |
MODE_EMA | Exponential averaging |
MODE_SMMA | Smoothed averaging |
MODE_LWMA | Linear-weighted averaging |
|
ma_shift | MA shift. Indicator line offset relate to the chart by timeframe |
deviation | Percent deviation from the main line |
mode | Indicator line index. It can be any of Indicators line identifiers value (0 - MODE_MAIN, 1 - MODE_UPPER, 2 - MODE_LOWER) |
shift | Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago) |