> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/reference/grid-language/indicators/stochastic-rsi.md).

# Stochastic RSI

stochrsi() calculates the Stochastic RSI from candles, applying the stochastic formula to RSI values.

Learn how the Stochastic RSI indicator in Origami Tech combines RSI and stochastic methods to identify market momentum and overbought conditions.

## Stochastic RSI

`stochrsi(candles: List[[Candle]], rsi_period: int = 14, stoch_period: int = 14) -> List[Decimal]`
