MOMENTUM & OSCILLATORS

Stochastic RSI

A stochastic run on RSI rather than on price.

spec id: stochrsioutputs: k · dlength (default 14)

What does Stochastic RSI measure?

A stochastic run on RSI rather than on price. Because RSI already ranges 0-100, this reaches its extremes far more often — it is a sensitive, fast trigger.

How is Stochastic RSI calculated?

Compute the 14-candle RSI. Then over the last 14 candles find RSI's own highest and lowest values, and see where today's RSI sits between them. Smooth that over 3 candles for `k`, and smooth `k` again for `d`.

Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.

How do I use Stochastic RSI in a bot?

In the builder, add an indicator of type stochrsi (parameters: length, default 14). Its output series — k, d — become operands you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.

Related indicators

Or browse all 158 indicators in the full library.

Build a bot that trades on Stochastic RSI — the first backtest is free.

Run a free backtest