The Test Bench › Mean reversion › Stochastic RSI

Stochastic RSI Explained: How It Is Calculated and What Our Tests Found

How Stochastic RSI places RSI in its own recent range, what %K, %D, 20 and 80 mean, and how it differs from RSI, with what our tests found.

Stochastic RSI is an indicator of an indicator: it takes RSI and asks where today’s reading sits between its recent low and high. Because it measures RSI against its own 14-day range, it can swing from one extreme to the other within days, and traders use it to time short swings and mean reversion entries.

This page covers:

Stochastic RSI places RSI in its own recent rangeIt shows where RSI(14) sits between its lowest and highest values of the last 14 days, from 0 to 100.It is usually read with 20 and 80, and the common setting smooths it over 3 days (%K).An oversold reading describes the recent past. It does not predict a rise by itself.
Stochastic RSI can read oversold while RSI does notA reading of 0 means RSI(14) is at its 14-day low, wherever that low is.In the worked example below, RSI(14) reads 41.0, between its usual 30 and 70, and Stochastic RSI reads 12.5.RSI and Stochastic RSI measure different things, so their zones are not interchangeable.
Stochastic RSI reaches its zones far more often than RSIBecause it measures RSI against its own range, it swings from one extreme to the other within days.A rule built on it trades often, so its trading costs are paid often.How often a signal fires matters as much as what follows it.

What is Stochastic RSI?

Stochastic RSI, introduced by Tushar Chande and Stanley Kroll in The New Technical Trader (1994), applies the stochastic formula to RSI itself: it shows where today’s RSI(14) sits between its lowest and highest values of the last 14 days, from 0 to 100. GU Analyser’s default, a common choice, uses an RSI length of 14 and a stochastic length of 14, smooths the line over 3 days (%K) and adds a 3-day average of it (%D); platforms name these settings differently. Chande and Kroll’s own version ran from 0 to 1 with no smoothing, which is why some platforms show a more jagged line or a different scale.

How is Stochastic RSI calculated?

  1. Compute RSI(14) for each day.
  2. Find the lowest and highest RSI(14) of the last 14 days.
  3. Stochastic RSI = (today’s RSI − lowest RSI) ÷ (highest RSI − lowest RSI), scaled to 0 to 100.
  4. %K = the last 3 days of that value, averaged. %D = the last 3 days of %K, averaged.

For example, if RSI(14) ranged from 38.0 to 62.0 over the last 14 days and reads 41.0 today, Stochastic RSI is (41.0 − 38.0) ÷ (62.0 − 38.0) = 12.5, below 20, even though RSI(14) itself sits in the middle of its usual range.

When RSI(14) has not moved at all over the 14 days, the highest and lowest values are equal and the formula divides by zero. Platforms handle this differently; GU Analyser shows no reading for that day.

If the two days before gave 18.0 and 9.0, %K is (18.0 + 9.0 + 12.5) ÷ 3 = 13.2. With %K at 21.0 and 15.5 on those two days, %D is (21.0 + 15.5 + 13.2) ÷ 3 = 16.6: %K below %D, the line still falling.

What do 20 and 80 mean on Stochastic RSI?

Below 20 is called oversold: RSI(14) is near the bottom of its own recent range. That is a statement about RSI’s recent range, and RSI(14) itself may be far from its own oversold line. Above 80 is called overbought. Because the line is measured against its own range, it reaches these zones far more often than RSI(14) reaches 30 and 70, and it can sit at 0 or 100 for several days. The usual signal is the line leaving a zone: crossing back above 20, or back below 80.

RSI(14) and Stochastic RSI on the same illustrated daysdaily closesStochastic RSI %KRSI(14)Shaded: below 20 and above 8020307080RSI(14)Stochastic RSI %KIllustration with invented prices — not market data
Invented daily prices. RSI(14) (dashed) stays mostly between 30 and 70; Stochastic RSI %K (solid), built from it, crosses the shaded zones below 20 and above 80 many times. Prices are invented.

Stochastic RSI vs RSI

RSI is built from prices; Stochastic RSI is built from RSI. A Stochastic RSI of 0 says RSI(14) is at its 14-day low, which can happen with RSI(14) near 40 and far from oversold. Many readings that look extreme on Stochastic RSI are ordinary on RSI, so the two sets of zones are not interchangeable.

The Stochastic oscillator uses the same formula on prices: it places today’s close within the high and low of the last 14 days. Stochastic RSI places RSI within its own range, so it moves faster and reaches its extremes more often.

RSI(14)Stochastic RSI
Introduced byJ. Welles Wilder, 1978Tushar Chande and Stanley Kroll, 1994
InputClosing pricesRSI(14)
MeasuresThe balance of up and down closesWhere RSI sits in its own 14-day range
Usual zones30 and 7020 and 80
A reading of 0 meansAlmost nothing but down closes recentlyRSI(14) at its 14-day low
Trades in our backtest (typical stock, 20 years)6209

How traders use Stochastic RSI

Mean reversion trading explains the entries, exits and risks of these rules, with Stochastic RSI beside RSI(14), RSI(2) and ConnorsRSI.

What our Stochastic RSI tests found

How to read these results. An event study compares the days after a signal with ordinary days of the same stocks; a backtest runs one complete rule with costs and reports a median total return per stock over the whole period. “Clear” means the 95% interval excluded zero under every test setting we ran. All tests use today’s S&P 500 members projected back, which favours rules that buy dips, and price returns without dividends.

The event studies compared the days after a signal with ordinary days for the same S&P 500 stocks, 2006 to 2026; the backtest ran the signals as one trading rule.

The two results answer different questions. The event study compares the next 10 days after a signal with ordinary days; the backtest buys each dip and sells after the first close above the 5-day average, usually within days, so it can collect small rebounds that the 10-day comparison does not show.

Our Stochastic RSI tests

Each study states the signal, the stocks, the period and what it compares the signal with. The results show what happened in the tested sample, and each study states what the test cannot establish.

Want to test a Stochastic RSI rule?

  1. In the Events panel or on the strategy canvas, build the condition: Stochastic RSI %K crossing below 20, crossing back above 20, or any other level.
  2. Add a trend filter if you use one, such as the close above its 200-day moving average.
  3. Run an event study to see what followed the signal, or a backtest with an entry, an exit and a cost on each trade.

Common questions

What is Stochastic RSI?

Stochastic RSI, introduced by Tushar Chande and Stanley Kroll in 1994, places today’s RSI(14) within its own range over the last 14 days, on a 0 to 100 scale, usually smoothed over 3 days. It is read with 20 and 80 in place of 30 and 70, and reaches them far more often than RSI(14).

How is Stochastic RSI calculated?

Stochastic RSI = (today’s RSI − lowest RSI of the last 14 days) ÷ (highest RSI − lowest RSI), scaled to 0 to 100. The %K line is that value averaged over 3 days, and %D is %K averaged over 3 days.

What does a Stochastic RSI of 0 or 100 mean?

A reading of 0 means RSI(14) is at its lowest level of the last 14 days; 100 means it is at its highest. It describes where RSI sits in its own recent range, so it can read 0 while RSI(14) itself is near 40.

What do 20 and 80 mean on Stochastic RSI?

They are the usual zones: below 20 is called oversold and above 80 overbought. Many traders act when the line leaves a zone, crossing back above 20 or back below 80.

What are %K and %D in Stochastic RSI?

%K is Stochastic RSI smoothed over 3 days; %D is a 3-day average of %K, so it moves more slowly. A %K crossing above %D is read as the line turning up.

What is the difference between the Stochastic oscillator and Stochastic RSI?

The Stochastic oscillator places today’s close within the high and low of the last 14 days. Stochastic RSI applies the same formula to RSI(14), placing it within its own 14-day range. Both are read with 20 and 80; Stochastic RSI moves faster and reaches them more often.

What is the difference between RSI and Stochastic RSI?

RSI measures the balance of recent up and down closes. Stochastic RSI takes RSI(14) as its input and shows where today’s reading sits within its own range over the last 14 days. RSI is usually read with 30 and 70; Stochastic RSI with 20 and 80, and it reaches them much more often.

What are the best Stochastic RSI settings?

There is no single best setting, and platforms name the settings differently. GU Analyser’s default uses an RSI length of 14, a stochastic length of 14, 3-day smoothing for %K and 3-day smoothing for %D, a common choice. Shorter settings react faster and reach 0 and 100 even more often. Our tests use the default.

Does Stochastic RSI work?

In our test on 483 S&P 500 stocks, the 10 days after Stochastic RSI crossed 20 or 80 returned within 0.16 percentage points of ordinary days in every case, with no clear difference. In a separate backtest using the same signal as the entry of one dip-buying rule, Stochastic RSI ranked second of the four entries by median total return per stock over 2006 to 2026 (+44%), and trailed buying and holding on most stocks.

Can you backtest a Stochastic RSI strategy?

Yes. In GU Analyser Stochastic RSI %K is a built-in signal: build the entry and exit rules on a visual canvas and run a backtest or an event study on daily bars, with no code.

Want to test your own Stochastic RSI rule?

Set the zones and the trend filter, and measure what followed the signal across your stocks, or backtest it with an entry, an exit and a cost on each trade.

Create a free account and build your own strategies → or read how Stochastic RSI is calculated in the app →

The methods: how a backtest is built · how an event study works

These are historical analyses. They are neither advice nor forecasts. They describe what happened on past data under stated, simplified assumptions. Past results do not prove what will happen next, and nothing in the Test Bench is a recommendation to buy or sell an investment. GU Analyser is an analytical and educational tool — no money is ever traded here.