Indicators.RSIOnArray()

Calculates the Relative Strength Index indicator on data, stored in array, and returns its value.
Indicators.RSIOnArray(prices:Array, total:int, period:int)

Parameters

Name Type Действие Значение по умолчанию
prices Array Array with data.
total int The number of items to be counted. 0 means the whole array.
period int Averaging period for calculation.

Return value

Numerical values of the Relative Strength Index indicator, calculated on data, stored in array[].

Example

let list = Indicator.RSIOnArray(ExtBuffer, 1000, 14);