Studies · Momentum
Stochastic RSI
stochasticRsi · Chande & Kroll's stochastic of the RSI's own range
Drawn in its own panelReads one column (close here)Guide lines at 20, 80
Hover the chart to read values · practice data: a seeded random walk with no overnight gaps
What it measures
The stochastic formula applied to RSI instead of price: where RSI sits within its own recent range, 0 to 100. RSI spends most of its time between 40 and 60, so this rescaling makes the extremes come up far more often.
How traders use it
- A faster overbought/oversold signal: above 80 and below 20.
- Crossovers of %K and %D for short-term timing.
- It is very sensitive, so it is usually combined with a trend filter to avoid acting on every swing.
Parameters
| Name | Value | Default | Allowed | What it does |
|---|---|---|---|---|
| rsiPeriod | 14 | ≥ 1 usual 5–30 | Length of the RSI underneath. | |
| stochPeriod | 14 | ≥ 1 usual 5–30 | Look-back window for RSI’s high and low. | |
| kPeriod | 3 | ≥ 1 usual 1–10 | Simple moving average applied to give %K. | |
| dPeriod | 3 | ≥ 1 usual 1–10 | Simple moving average of %K giving %D. |
Outputs
| K | %K: the smoothed position of RSI in its range. |
| D | %D: a moving average of %K. |
Drawn in one colour, one line per output, told apart by line texture. Hover the chart to read each one.