MOMENTUM & OSCILLATORS

RSI (Relative Strength Index)

How hard price has been pushed up or down lately, squeezed into a 0–100 scale.

spec id: rsilength (default 14)

What does RSI measure?

A 0-100 meter for "overbought or oversold." High means the stock has been bought hard lately; low means it has been sold hard.

How is RSI calculated?

Look at the last 14 candles. Add up the gains on up days and the losses on down days, then compare them: mostly gains pushes the meter toward 100, mostly losses toward 0. Each new candle nudges those two running totals rather than restarting the count.

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

How do traders read RSI?

Below 30 the market is stretched down (oversold); above 70 it is stretched up (overbought). Traders fade the extremes or wait for RSI to turn back through them.

The honest caveat

Oversold alone isn't an edge. Our own oversold-bounce bot graded LIVE only as a full rule — signal plus liquidity gate plus a real exit — not because RSI dipped under 30.

How do I use RSI in a bot?

Add indicator → RSI, set period (default 14). It appears in your rules as rsi14 — e.g. rsi14 < 30 for an oversold entry.

See it inside a famous strategy

Related indicators

Or browse all 158 indicators in the full library.

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

Run a free backtest