Skip to content

Function: rsi() ​

ts
function rsi(close, period?): Float64Array;

Defined in: finance/indicators.ts:106

Wilder's RSI over period (default 14). Values in 0..100; warm-up is NaN.

Parameters ​

ParameterTypeDefault value
closeArrayLike<number>undefined
periodnumber14

Returns ​

Float64Array

MIT licensed. WebGL2 required.