Documentation / @finchart/indicators / rsi
Function: rsi()
Call Signature
rsi(
source,options?):Rsi
Defined in: indicators/src/factories.ts:514
RSI — the ratio of Wilder averages (rma) of gains and losses. 0 to 100. The first point has no change, so it's null; rma handles warmup. When avgLoss is 0, the result is 100 (TA-Lib convention).
Parameters
source
Source<OHLC>
options?
Returns
Call Signature
rsi<
T>(source,options):Rsi
Defined in: indicators/src/factories.ts:515
RSI — the ratio of Wilder averages (rma) of gains and losses. 0 to 100. The first point has no change, so it's null; rma handles warmup. When avgLoss is 0, the result is 100 (TA-Lib convention).
Type Parameters
T
T extends BaseDataPoint
Parameters
source
Source<T>
options
RsiOptions & object