Skip to content
MT5MT4soonTradingViewsooncTradersoonNinjaTradersoonPythonsoon
Oscillators & momentum

Stochastic RSI

Also called StochRSI, Stoch RSI

Stochastic RSI (StochRSI) is a momentum oscillator that applies the Stochastic formula to RSI values instead of price. It scores where RSI sits within its own recent range on a 0-100 scale.

StochRSI turns faster than RSI and often turns before RSI reaches 70 or 30. That speed has a cost: it reaches its extremes far more often. The mistake that costs money is treating every touch of 20 or 80 as a trade.

How Stochastic RSI scores an RSI reading from 0 to 100

StochRSI never looks at price directly. It asks one question: of the RSI readings in the lookback window, how close is the current RSI to the top of that range?

The formula is StochRSI = (current RSI − lowest RSI) ÷ (highest RSI − lowest RSI) × 100. The highest and lowest values are taken from the RSI readings inside the Stochastic lookback. The worked example below uses round numbers for illustration. Over the lookback, RSI ranged from 40 to 60, and it now reads 52.

Calculating Stochastic RSI from an RSI reading of 52
RSI range over the lookback60 − 40= 20
Distance of current RSI above the low52 − 40= 12
Position inside the range12 ÷ 20 × 100= 60
Raw StochRSI60

The misread this formula causes

Keep the same 40-60 range and suppose RSI slips to 41. StochRSI is then (41 − 40) ÷ 20 × 100 = 5. It reads deeply oversold while RSI sits at a neutral 41. The drawing below shows how: RSI stays between 40 and 60, yet StochRSI swings all the way from 0 to 100.

RSI stays in a quiet 40-60 range while Stochastic RSI swings between 0 and 100
RSI never reaches 70 or 30, yet StochRSI touches both 0 and 100.

A StochRSI extreme means RSI is at the edge of its own recent range. It does not mean RSI itself is overbought or oversold. Before you act on a StochRSI extreme, look at the plain RSI value. If RSI is in the 40s or 50s, you are looking at a small wiggle inside a quiet range, not a stretched market.

Stochastic RSI is not the Stochastic Oscillator

Both use the same %K/%D math on different inputs. The Stochastic Oscillator places the closing price inside the recent price range. StochRSI places RSI inside its own recent range. The lines look alike but rarely match bar for bar, so check which one a strategy actually uses.

The parts of a Stochastic RSI chart

  • Base RSI: the input series. RSI compares the average size of recent up-moves with recent down-moves on a 0-100 scale.
  • Stochastic lookback: how many RSI readings set the highest and lowest values in the formula. A short lookback gives a narrow range, so the score jumps around more.
  • %K line: the raw score from the formula, usually smoothed a little. This is the fast line.
  • %D line: a moving average of %K. It is slower and acts as the signal line.
  • 80 and 20 bands: the usual overbought and oversold markers.
  • 50 midline: the halfway point of RSI's recent range.

Stochastic RSI inputs and what each one changes

MT5's built-in RSI uses period 14, applied to Close. The Stochastic lookback and both smoothing inputs vary by platform, so check the version you load.

InputDefaultWhat changing it does
RSI period14A shorter period makes RSI swing harder, so StochRSI hits 0 and 100 more often. A longer period calms both lines.
Applied priceCloseChanges the price RSI reads. Close uses the settled price of each candle.
Stochastic lookbackVariesFewer RSI readings make a narrower range and a jumpier score. More readings make a wider range and fewer extremes.
%K smoothingVariesMore smoothing removes single-bar spikes from %K but delays it.
%D smoothingVariesMore smoothing slows the signal line, so crossovers come later and less often.

Which input to change first if StochRSI feels too busy

The IndicatorFree Lab counted RSI swings on 12 months of broker demo data, from 2025-10-02 to 2026-10-02 (6,222 EUR/USD 1-hour candles). RSI(7) crossed above 70 18.2 times a month, about 6.5 times as often as RSI(21) at 2.8. This is past data, not a forecast. It measures RSI only, not StochRSI, and shows how much faster RSI swings with a shorter period.

The StochRSI rule is a reasoned step from that, not a Lab result: a calmer RSI feeds StochRSI fewer sharp swings, so if StochRSI touches the bands too often, a longer RSI period is one lever to try. The Stochastic lookback and %K smoothing control band touches more directly. If a longer RSI period is not enough, widen the lookback or add %K smoothing.

Reading the signals Stochastic RSI gives

Overbought above 80, oversold below 20

Above 80, RSI is near the top of its recent range. Below 20, it is near the bottom. This tells you where momentum stands, not what to do.

In a steady trend, both lines can stay pinned above 80 or below 20 for many candles, and every cross that bets on a reversal fails. A long stay at an extreme shows trend strength, not a coming reversal. When that happens, trade only in the trend's direction or stand aside.

%K crossing %D near the bands

This is the trigger most traders use. If %K crosses up through %D while both are below 20, the dip in momentum is starting to turn up. If %K crosses down through %D while both are above 80, the push is starting to fade. In the chart below, %K falls into the oversold zone, crosses above %D, runs up into the overbought zone and then crosses back down.

Stochastic RSI %K and %D crossing inside the 20 and 80 bandsIllustration
StochRSI %K (signal lineOverbought 80Midline 50Oversold 20%K crosses above %D%K crosses below %D

A crossover near 50 tells you little. The two lines cross back and forth there all the time.

Crossing the 50 midline

A move above 50 means RSI has climbed into the upper half of its recent range. A move below 50 means it has dropped into the lower half. Use it to confirm a direction you already see in price, not as an entry trigger.

Divergence between StochRSI and price

Suppose price makes a higher high but StochRSI peaks lower, as in the drawing below. Both StochRSI peaks sit above 80, but the second one is lower. Momentum is not backing the move.

Bearish divergence: price makes a higher high while Stochastic RSI makes a lower high
The two peaks slope in opposite directions: price is rising, momentum is fading.

Divergence is a warning, not an entry. Wait for a %K/%D cross or a break in price structure before you act.

When Stochastic RSI helps and when it misleads

It works well

  • In ranges, where price moves back and forth between clear support and resistance.
  • For timing pullback entries in a trend you have already confirmed on a higher timeframe.

Avoid relying on it

  • In strong one-way trends (see the overbought and oversold section above).
  • Around news releases and in thin, choppy markets, where the lines whip between extremes.
  • As your only reason to enter on very short charts, where crossovers come every few candles.

Is Stochastic RSI a good indicator? Pros and cons

ProsCons
Shows turns in momentum earlier than RSIGives far more false signals than RSI
Simple 0-100 scale with fixed bandsFour settings besides applied price make it easy to over-fit to past charts
%K/%D crossovers are clear and repeatableHeavy %K and %D smoothing adds delay and removes the speed advantage
Reaches its bands even when RSI stays in a quiet 40-60 range, so it still produces signals in low-volatility markets, but check plain RSI firstAn extreme can sit next to a neutral RSI value

Filtering Stochastic RSI signals with a 50-period EMA

A trend filter removes the signals that fight the bigger move. A 50-period exponential moving average (EMA) is enough. Use one rule:

  • If price is above a rising 50 EMA, take only bullish crosses below 20 and ignore overbought signals.
  • If price is below a falling 50 EMA, take only bearish crosses above 80 and ignore oversold signals.
  • If the EMA is flat, the market is ranging, and you can trade both sides from the range edges.

You will skip some reversals that would have worked. In exchange, you stop selling into a strong uptrend every time StochRSI touches 80.

Two Stochastic RSI trading strategies, step by step

The prices and position sizes in both setups are an illustrative example, not a record of a real chart and not a forecast.

Range bounce on EUR/USD, 1-hour chart

The 50 EMA is flat, and EUR/USD has moved between support at 1.0820 and resistance at 1.0880 for several sessions.

  • Entry trigger: price tests 1.0820, %K crosses above %D below 20, and you buy at 1.0825.
  • Stop loss: 1.0805, under the swing low. That is 1.0825 − 1.0805 = 20 pips of risk.
  • Exit: 1.0875, just below resistance, for 50 pips. Exit early if %K crosses below %D above 80.

At 0.10 lot (10,000 units), one pip on EUR/USD is worth $1. Your risk is 20 × $1 = $20 against a possible 50 × $1 = $50, which is 2.5 times the risk.

Pullback in a gold uptrend, 4-hour chart

Gold is trending up above a rising 50 EMA and pulls back toward it.

  • Entry trigger: StochRSI drops below 20, then %K crosses above %D, and you buy at 2,425.
  • Stop loss: 2,405, below the pullback low. That is 2,425 − 2,405 = $20 of price movement.
  • Exit: the prior swing high at 2,460, a $35 move. Exit early if %K crosses below %D above 80.

The possible gain is $35 ÷ $20 = 1.75 times the risk. Before you enter, turn that $20 of price movement into money at risk for your lot size. What each $1 move is worth depends on the contract size of your account.

Stochastic RSI settings for scalping, day trading and swing trading

Start from the rule in the FAQ below (a Stochastic lookback near your RSI period), then adjust in the direction the table shows.

Trading styleChartDirection to adjustWhat to expect
Scalping1- to 5-minuteShorten both the RSI period and the Stochastic lookback from that starting pointVery frequent band touches; you need a trend filter
Day trading15-minute to 1-hourKeep RSI near 14 and the Stochastic lookback near the RSI periodA balance between speed and fewer whipsaws
Swing trading4-hour to dailyLengthen both from that starting pointFewer signals, each lasting more candles

On gold vs major FX pairs: on the 1-hour chart from 2025-10-02 to 2026-10-02, the Lab counted gold's RSI(14) crossing above 70 9.3 times a month, against 6.1 for EUR/USD (past data, not a forecast). That measures RSI, not StochRSI. Gold's RSI runs hotter, so check plain RSI before you sell a StochRSI extreme on gold.

Practical tips for trading Stochastic RSI

  • Act only on a crossover that sits at a visible swing high, swing low or range edge.
  • Wait for the candle to close. On the open candle, %K and %D keep moving, and a cross can vanish before the close.

Quick checklist

  • Did the %K/%D cross happen near 20 or 80, not near 50?
  • Does the 50 EMA filter agree with the direction of the cross?
  • Is plain RSI also stretched, or only StochRSI?
  • Is the stop beyond the recent swing, with the risk in money worked out?

FAQ

Why does my Stochastic RSI read 0.8 when someone else's reads 80?

Some charting tools plot StochRSI on a 0-1 scale instead of 0-100. The bands become 0.2 and 0.8, and the signals mean the same thing.

Does a Stochastic RSI trading strategy work the same on crypto?

The math is identical on any market. The difference is that crypto trades around the clock, so news can land at any hour and move both lines while you are away from the chart.

What Stochastic lookback should I start with if my platform asks for one?

Start with a lookback close to your RSI period, so both calculations cover a similar stretch of candles. Then change one input at a time and watch how often the lines reach the bands before you change anything else.

Related terms