Technical Analysis

What is Divergence?

Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy

DefinitionDivergence is when price and a momentum indicator such as RSI or MACD move in different directions, for example price making a higher high while the indicator makes a lower high. On an illustrative Bank Nifty daily chart, a new high at 56,800 with RSI at 66, against an earlier high of 56,400 with RSI at 74, is a bearish divergence.

Momentum indicators measure how strongly price is moving. When price reaches a new extreme but the indicator does not, the latest push had less force behind it than the previous one. That is information about momentum, not a forecast that the trend will reverse.

The four types of divergence

TypePriceIndicatorUsually read as
Regular bearishHigher highLower highUptrend losing momentum; possible reversal down
Regular bullishLower lowHigher lowDowntrend losing momentum; possible reversal up
Hidden bullishHigher lowLower lowPullback inside an uptrend; possible continuation up
Hidden bearishLower highHigher highBounce inside a downtrend; possible continuation down

The usual indicators are RSI with the standard 14-period Wilder setting, MACD at 12, 26 and 9 (either the MACD line or the histogram) and the stochastic at 14, 3 and 3. Pick one per strategy. Checking three indicators until one shows a divergence is a way to find what you were already hoping to see.

How to spot it step by step

  1. Mark two consecutive swing highs (for bearish) or swing lows (for bullish) on price, using a fixed definition of a swing.
  2. Read the indicator value at the same two bars, not at nearby bars where it happened to peak.
  3. Compare directions: if price and indicator disagree, you have a divergence.
  4. Mark the trigger level: the swing low between the two highs, or the swing high between the two lows.
  5. Act only if price closes beyond the trigger, and place the stop beyond the latest extreme.

Worked example on Bank Nifty (illustrative)

Bank Nifty makes a swing high at 56,400 with RSI(14) at 74, pulls back to 55,900, then rallies to a new high of 56,800 with RSI at 66. Price is 400 points higher; RSI is 8 points lower. The trigger is a daily close below 55,900.

Price highs
56,400 → 56,800
RSI(14) at the highs
74 → 66
Trigger
Close < 55,900
Risk on 1 futures lot
₹28,200

A short in Bank Nifty futures at 55,880 after the trigger, with a stop above the high at 56,820, risks 940 points. With a lot of 30 (check the current NSE circular) that is ₹28,200 per lot before charges. If that is more than your risk per trade, the position does not fit the account. A trader who is already long has a cheaper use for the same reading: move the stop to just below 55,900.

Rule of thumb
Tag every divergence trade with the indicator, the timeframe and whether you entered before or after the trigger. After 30 or more trades, compare the before-trigger and after-trigger groups to see whether waiting is worth the worse price.

Hidden divergence is used the other way round, to join an existing trend. Illustrative: Nifty is in an uptrend and pulls back to a higher low at 24,700, above the previous swing low of 24,500, while RSI(14) dips to 41, below its reading of 45 at that earlier low. Price held a higher low while momentum reset lower, which trend traders read as a pullback rather than a reversal. The entry trigger is a break above the most recent minor high, with the stop below 24,700.

With MACD, divergence can be read on the MACD line (the 12-period EMA minus the 26-period EMA) or on the histogram (the MACD line minus its 9-period signal line). The histogram turns sooner and so gives more, earlier and noisier divergences. Whichever you use, read it at the same bars as the price swings.

Limits and when it misleads

  • In strong trends, divergence can repeat several times while price keeps going. Each one looks like a top.
  • RSI and the stochastic are bounded, so after a very sharp move they often cannot make a higher reading, which produces a divergence almost by design.
  • On 1- and 5-minute charts, swings are small and divergences appear constantly; most traders find higher timeframes cleaner.
  • Indicator values on the latest bar change until it closes. Read divergences on closed bars only.

Divergence

Price and indicator disagree across two swings. Says momentum is fading or building.
Needs two swings to compare

Overbought or oversold

An indicator reading at an extreme level, such as RSI above 70. Says the move is stretched right now.
Single reading, no comparison

Reference guide

ContextValueReading
Divergence plus a price trigger, such as a break of the swing between the two peaksUsable setupThe trigger gives the stop a logical place
Acting on divergence alone in a strong trendEarly and riskyMomentum can fade for weeks while price keeps rising
Drawing it between swings that are not clear highs or lowsHindsight drawingDefine a swing in your rules, for example a high with two lower highs on each side

Questions

What is divergence in trading?

It is a disagreement between price and a momentum indicator, such as price making a higher high while RSI makes a lower high. It shows the latest move had less momentum than the one before.

What is the difference between regular and hidden divergence?

Regular divergence compares two highs in an uptrend or two lows in a downtrend and is read as a possible reversal. Hidden divergence compares the pullback lows or bounce highs inside a trend and is read as possible continuation.

Which indicator is best for divergence?

RSI(14) and MACD(12, 26, 9) are the most common. Neither is better in general; choose one, keep it fixed and judge it on your own tagged trades.

Does RSI divergence work on Nifty intraday charts?

It appears often on intraday charts, which is part of the problem: many divergences, small swings. Traders who use it intraday usually add a price trigger and a time-of-day filter.

Is divergence a buy or sell signal?

On its own it is a warning about momentum. Most rule-based traders wait for a price trigger, such as a break of the swing between the two peaks or troughs.

Related terms