Strategy · Indicator strategies

Divergence trading: an RSI divergence strategy that waits for confirmation

Divergence is when price and momentum disagree: price makes a new low, but RSI makes a higher one. It is one of the few indicator signals that tries to spot a turn early, which is exactly why it needs strict rules about when to act on it.

Last reviewed by the MarketPro research desk · Editorial policy

At a glance

Style
Counter-trend reversal with confirmation
Timeframes
4-hour and daily
Markets
Major forex pairs, gold, indices
Holding time
2 to 10 days
Works when
An extended move into a known support or resistance level
Level
Intermediate
Short answer

Divergence trading looks for moments when price and an oscillator such as RSI move in opposite directions. A bullish divergence is a lower low in price with a higher low in RSI; a bearish divergence is a higher high in price with a lower high in RSI. Both suggest the move is losing momentum. A disciplined RSI divergence strategy waits for confirmation before entering, usually a candle closing beyond the swing point between the two lows (or highs), puts the stop beyond the second extreme, and targets the last swing in the opposite direction or twice the risk.

Key takeaways

  • Bullish divergence: price makes a lower low, RSI makes a higher low. Bearish is the mirror image at the highs.
  • Divergence shows fading momentum, not a reversal. A trend can slow down and still keep going.
  • Wait for confirmation: a close beyond the swing point between the two lows (or highs) turns a pattern into a trade.
  • The stop goes beyond the second extreme, the point where the divergence idea is plainly wrong.
  • In strong trends, divergence can repeat three or four times before anything turns. That is the main way this strategy loses.

What divergence is, and what RSI measures

The Relative Strength Index (RSI) compares the size of recent up-closes with the size of recent down-closes over a lookback period, 14 bars by default, and scales the result from 0 to 100. When most of the recent movement has been up, RSI is high; when most has been down, it is low. Readings above 70 and below 30 are the conventional overbought and oversold zones.

Because RSI measures the strength of the moves rather than the price itself, it can disagree with price. Picture a downtrend. Price falls hard to a low, bounces, then falls again to a slightly lower low. If the second fall was slower and smaller than the first, RSI will not get as low the second time. Price says lower low; RSI says higher low. That disagreement is divergence, and it says the sellers pushed less hard on the second attempt.

The idea is sound: trends usually lose momentum before they turn. The problem is that they can lose momentum and carry on anyway, slowly. Divergence tells you the engine is running cooler. It does not tell you the car is about to stop.

RSI settings

The default 14-period RSI is the version this strategy uses. Shorter periods, such as 7, make RSI jumpier and produce more divergences, most of them meaningless. Longer periods, such as 21, smooth it so that divergences are rarer and each one covers a bigger move. Pick one setting and keep it; switching periods until a divergence appears is a way of seeing what you want to see. The academy lesson on understanding RSI covers the calculation in full.

Regular and hidden divergence

There are two families of divergence, and they mean opposite things.

  • Regular bullish divergence: price makes a lower low, RSI makes a higher low. Momentum is fading in a downtrend; a possible reversal up.
  • Regular bearish divergence: price makes a higher high, RSI makes a lower high. Momentum is fading in an uptrend; a possible reversal down.
  • Hidden bullish divergence: price makes a higher low, RSI makes a lower low. Found inside uptrends, it suggests the pullback was sharp in momentum terms but shallow in price, so the trend is likely to continue.
  • Hidden bearish divergence: price makes a lower high, RSI makes a higher high. The same idea inside a downtrend.

Regular divergence is a reversal idea and trades against the current trend. Hidden divergence is a continuation idea and trades with it. This page builds its strategy on regular divergence because that is what most people mean by divergence trading, but the confirmation and stop rules apply to both. The same comparison works with MACD or the stochastic in place of RSI; the academy lesson on divergence between price and indicators compares them.

The setup: location, divergence, confirmation

A divergence on its own is a pattern, not a trade. This strategy needs three things in order.

1. Location

The second low should form at a level that matters: a daily support zone, a previous swing low, a round number. Divergence in the middle of nowhere is common and means little. Divergence at a level where buyers have stepped in before is worth watching. It also helps if the first RSI low went below 30, showing that the first leg was a genuine, stretched selloff.

2. The divergence

Price makes a lower low than the previous swing low, and RSI makes a clearly higher low at the same time. Draw a line connecting the two price lows and another connecting the two RSI lows; the lines should slope in opposite directions. Compare swing points that are a sensible distance apart, typically 10 to 40 bars on the 4-hour chart. Two lows three bars apart are the same low.

3. Confirmation

Do not buy the second low. Wait for price to close above the swing high that formed between the two lows. That close shows buyers have taken back ground, and it is the difference between a market that is falling more slowly and one that has turned. Some traders accept a break of a short-term trendline or a bullish engulfing candle at the low instead; whichever you choose, write it down and test it.

GBP/USD 4-hour chart in a decline. Price makes a lower low near 1.2638 while RSI in the lower panel makes a higher low; a long entry is taken when price closes above the swing high between the two lows, with the stop below the second low.
Price makes a lower low; RSI makes a higher low. The entry waits for a close above the swing high between the two lows, with the stop under the second low. RSI line sketched for illustration. Illustrative chart, not live market data.

In the chart above, price falls to a lower low near 1.2638 while RSI makes a higher low. The entry waits for a close above the swing high between the two lows; the stop goes under the second low, and the target is twice the risk.

Stops, exits and position size

The stop goes below the second low (above the second high for a bearish divergence), plus a buffer for the spread and wicks. If price breaks that low, the momentum argument has failed: the sellers managed another push, and the divergence was just a pause.

Waiting for confirmation has a cost. By the time price closes above the middle swing high, it is some way off the low, so the stop is wider than it would be on an aggressive entry at the low itself. That is the trade-off for filtering out the divergences that never turn. Size the trade from the actual stop distance with the position size calculator, keeping the risk per trade fixed.

For exits, reversal trades have natural targets:

  • The last lower high in the prior downtrend, the first place sellers are likely to return.
  • Twice the risk, as a fixed rule that is easy to test.
  • A partial exit and trail. Take half at the first target, move the stop to breakeven, and trail the rest below new higher lows if the turn becomes a trend.

The rules, as a checklist

Divergence trading, written so you can test it before trading it.

Setup

What has to be true before you look for an entry

  • Price makes a lower low (higher high for a short) at a support (resistance) level that held before.
  • RSI (14) makes a higher low (lower high) at the same time, ideally after a first reading beyond 30 (70).
  • The two swing points are a sensible distance apart, roughly 10 to 40 bars on the 4-hour chart.

Entry

The trigger

  • A candle closes beyond the swing high (low) that formed between the two lows (highs).
  • Enter at that close; if it is far from the low, wait for a small pullback towards the broken level.

Stop-loss

Where the idea is wrong

  • Beyond the second low (high), plus the spread and a buffer for wicks.
  • Lot size set so the stop costs your fixed risk, for example 1% of the account.

Exit

How the trade ends

  • First target at the last swing in the opposite direction, or twice the risk.
  • Optional: take half there, move the stop to breakeven and trail the rest behind new swings.

Skip it when

Conditions that void the setup

  • The divergence fights a strong trend on the daily chart.
  • A divergence trade on this swing has already failed once.
  • No confirmation close has come and price is still making new extremes.

When divergence fails: the trend that keeps going

The main way divergence trading loses money is the divergence that keeps diverging. In a strong trend, RSI peaks early, during the steepest part of the move. Every later high in price comes with a slightly lower RSI reading, because the trend is maturing and its pace is slowing. Price keeps climbing anyway, and a trader shorting each bearish divergence is stopped out three or four times in a row.

USD/JPY 4-hour chart in a steady uptrend from about 148.20 to 152.00. Price makes four higher highs while RSI in the lower panel makes four lower highs; each bearish divergence fails as the trend carries on.
Four higher highs in price, four lower highs in RSI. Each bearish divergence looks like a top and each one fails, because momentum can fade while the trend continues. None of them confirmed with a close below the prior swing low. Illustrative chart.

Three habits limit the damage:

  • Always wait for confirmation. In the chart above, none of the divergences ever produced a close below the swing low between the two highs, so the rule would have kept you out.
  • Respect the higher timeframe. A bearish divergence on the 4-hour chart against a strong daily uptrend is a pullback signal at best. Divergences that agree with the daily structure, or appear at a major daily level, are the ones worth trading.
  • Limit attempts. If a divergence trade fails, do not short the next higher high just because RSI is even lower. A rule such as one attempt per swing keeps a losing streak from growing.

Oversold is not a reason to buy, and overbought is not a reason to sell. RSI can sit above 70 for weeks in a trending market. Divergence is more informative than a raw RSI level, but it belongs to the same family of signals and shares the same weakness. For a with-trend use of momentum, see the MACD crossover strategy.

How to test a divergence strategy

Divergence is easy to see after the fact and hard to see in real time, so testing it honestly takes care.

  1. Use one market, the 4-hour chart and RSI at 14. Hide the right side of the chart and move forward one candle at a time.
  2. Mark a divergence only when the second low (or high) is confirmed as a swing, which means a few candles have closed after it. Do not mark it at the low itself, because in real time you would not yet know it was the low.
  3. Record every divergence you spot, including those that never confirmed. Then record the trades the confirmation rule produced.
  4. Compare divergences at a key level with divergences anywhere. If the location filter does not improve results in your sample, it is not helping.

Count spreads and swaps, gather fifty or more trades, and look at the average win against the average loss and the longest losing streak. Counter-trend strategies tend to have uneven streaks, so put the numbers through the risk of ruin calculator before deciding what to risk per trade.

Written and reviewed by the MarketPro research desk

MarketPro is a trading-signal and trading-education app operated by Harajuku Holdings LTD (Cyprus). Our signal desk publishes and tracks every trade idea in-app, and every page here is checked against the app's live behaviour before publishing. Last reviewed . How we produce signals and content · About MarketPro

FAQ

Frequently asked questions

What is RSI divergence?
It is when price and the Relative Strength Index move in different directions at a swing point. Bullish divergence is a lower low in price with a higher low in RSI; bearish divergence is a higher high in price with a lower high in RSI. Both show that momentum is weakening in the direction of the move.
Is divergence a reliable signal?
It reliably shows fading momentum, which is a fact about the past. It does not reliably time a reversal, because trends can slow down and continue. That is why the strategy here waits for a confirmation close beyond the middle swing point and only takes divergences at meaningful levels.
What is the difference between regular and hidden divergence?
Regular divergence (lower low in price, higher low in RSI, or the bearish mirror) points to a possible reversal. Hidden divergence (higher low in price, lower low in RSI in an uptrend, or the mirror in a downtrend) points to the trend continuing after a pullback.
Which timeframe is best for divergence trading?
The 4-hour and daily charts. On very short timeframes divergence appears constantly and mostly reflects noise. Divergence on the daily chart is rarer and covers larger moves; the 4-hour chart is a reasonable balance for most traders.
Can I use MACD instead of RSI for divergence?
Yes. The same comparison works with MACD, the stochastic or any momentum oscillator: compare the swing points in price with the swing points in the indicator. Pick one indicator and use it consistently, rather than checking several until one shows a divergence.
Trade · Learn · Earn

See strategies on live charts

Every MarketPro signal names its setup and timeframe, with the entry, stop and targets drawn on the chart. Free signals every week, and 320 lessons in the academy.

Same account as the app · No install · Free to start

Not investment advice. Past performance is not indicative of future results.