Calculates the Standard Deviation indicator on data, stored in array, and returns its value.
Indicators.StdDevOnArray(prices:Array, total:int, maPeriod:int, maShift:int, maMethod:int)
Parameters
Name |
Type |
Действие |
Значение по умолчанию |
prices |
Array |
Array with data. |
— |
total |
int |
The number of items to be counted. 0 means the whole array. |
— |
maPeriod |
int |
Moving Average period. |
— |
maShift |
int |
Moving Average shift. |
— |
maMethod |
int |
Moving Average method. It can be any of Averaging enumeration values. |
— |
Return value
Numerical values of the Standard Deviation indicator, calculated on data, stored in array[].
Example
let list = Indicator.StdDevOnArray(ExtBuffer, 100, 10, 0, Averaging.Exponential);