talib.rsi

Relative Strength Index for source over length bars. Two arguments and one series float back — the same shape as talib.cmo and talib.cci.

talib.rsi(series float source, series int length) → series float
ParameterTypeRequiredDescription
sourceseries floatyesThe series the index is calculated on.
lengthseries intyesHow many bars the calculation covers.

Returns series float — A series float index value.

indicator("Relative Strength Index")
plot(talib.rsi(close, 14))

See also talib.alma · talib.atr · talib.barssince

Part of the function index.

Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.
Upgrade