StochRSI

forge.taclassSince Forge API 1
Signaturepython
forge.ta.StochRSI(**inputs: Any) -> None

The stochastic oscillator applied to RSI.

Inputs

NameTypeDefaultRange
sourcesourceclose
rsi_periodint141 to 5000
stoch_periodint141 to 5000
k_smoothint31 to 5000
d_smoothint31 to 5000

Indicator: Stochastic RSI

RSI is Wilder's relative strength index over rsi_period

raw = 100 * (RSI - lowest RSI) / (highest RSI - lowest RSI) over stoch_period; RSI itself when its range is 0

%K = the simple average of raw over k_smooth, %D = the simple average of %K over d_smooth