TradeMUX SDK Documentation
1.0
TradeMUX SDK Documentation
|
double iBandsOnArray | ( | TMXArray< double > | array, |
int | total, | ||
int | period, | ||
int | deviation, | ||
int | bands_shift, | ||
int | mode, | ||
int | shift | ||
) |
Calculates the Bollinger BandsĀ® indicator on data, stored in array, and returns its value
array | Array with data |
total | The number of items to be counted. 0 means the whole array |
period | Averaging period for calculation |
deviation | Number of standard deviations from the main line |
bands_shift | The indicator shift relative to the chart |
mode | Indicator line index. It can be any of the Indicators line identifiers values (MODE_MAIN, MODE_UPPER, MODE_LOWER) |
shift | Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago) |