On This Page
Key Takeaways
- Divergence compares the direction of consecutive price swing points with the direction of the matching indicator swing points.
- Regular bullish divergence pairs a lower price low with a higher indicator low; regular bearish divergence pairs a higher price high with a lower indicator high.
- Hidden bullish divergence pairs a higher price low with a lower indicator reading. Hidden bearish divergence pairs a lower price high with a higher indicator reading.
- Define the indicator series and its settings, then compare its readings at the selected price anchors.
- Record when each swing becomes recognizable and define the subsequent entry, invalidation, size and exit.
What is divergence in trading?
Divergence in trading is a mismatch between the direction of two price swing points and the direction of a defined indicator, such as RSI or MACD, read at matching points. Regular bullish divergence pairs a lower price low with a higher indicator reading. Regular bearish divergence pairs a higher price high with a lower indicator reading.
Hidden bullish divergence pairs a higher price low with a lower indicator reading. Hidden bearish divergence pairs a lower price high with a higher indicator reading. These comparisons are used in continuation setups with a separately defined trend condition.
RSI vs MACD divergence: what each indicator measures
RSI compares smoothed gains and losses. The MACD line measures the gap between fast and slow price EMAs. The MACD histogram measures the MACD line minus its signal line.
Those are different measurements. A lower indicator high records a lower value of that selected calculation, so read each divergence by what its own indicator measures.
Set the interval, input and parameters before comparing anchors. Changing MACD’s signal length changes its signal line and histogram, while the underlying MACD line remains unchanged.
Formula
Regular bullish divergence when price low 2 < price low 1 and indicator low 2 > indicator low 1; regular bearish divergence when price high 2 > price high 1 and indicator high 2 < indicator high 1- Swing points 1 and 2 must be measured on the same chart interval and the same indicator settings.
- This example reads the indicator on the price-anchor bars. Define that pairing rule and the swing-confirmation rule before identifying the setup.
- Hidden divergence flips both comparisons: a higher price low with a lower indicator low, or a lower price high with a higher indicator high.
Worked Example
Compare two daily closing-price lows six sessions apart, with Wilder RSI(14) sampled at the same bars. Define a low as a close below the immediately preceding and following closes, so each anchor is recognized on the following bar.
- Swing low 1: price $44.00 with RSI 22
- Swing low 2: price $43.20 with RSI 31
- Price change between lows: $43.20 − $44.00 = −$0.80, a lower low
- RSI change between lows: 31 − 22 = +9 points, a higher low
The price lows are $44.00 and $43.20, paired with RSI 22 and 31. This meets the defined regular bullish-divergence condition. The later $48.60 close breaks above the intervening $48.20 closing-price high. Use that completed event in the entry rule and set the selected stop relative to the $43.20 anchor.
When a divergence swing becomes known
A swing rule needs an explicit recognition point. Here, a closing-price low must be below the immediately preceding and following closes. The next bar therefore recognizes the low.
Read RSI at the price-anchor bar while recording the later recognition bar. Use the recognition time when evaluating entry rules. Apply the same pairing convention to both swings.
Bullish divergence example with RSI
This example samples Wilder RSI(14) on the same bars as the closing-price anchors. Bar 5 closes at $44 with RSI 22. Bar 11 closes at $43.20 with RSI 31. Price is $0.80 lower and the corresponding RSI is nine points higher.
The first anchor becomes recognizable at bar 6 and the second at bar 12. The intervening closing-price high is $48.20 at bar 7. At bar 14, a $48.60 close moves above it.
These observations define both the divergence and a later price trigger. Specify how the trade executes after that trigger. A selected stop below the $43.20 anchor is the trade-management rule that handles a failed setup.
How traders use divergence
A complete divergence plan defines the active anchors, setup expiry, trigger, entry, size and exit. If another swing qualifies, the plan states whether it replaces the earlier setup or creates a separate one.
After price closes above the $48.20 high, Options Flow shows whether the big premium in the underlying backs the reversal the RSI divergence flagged, and the Options Profit Calculator prices each structure from that trigger to your target.
Limitations of divergence
- Fix the settings before reading anchors. The interval, price input, lookback and smoothing set the indicator readings, so a divergence on one chart can disappear on another.
- Date each swing from its recognition bar. Under this page’s rule a swing low is known only on the next bar, and the price trigger can come later still: the second low is bar 11 and the trigger close is bar 14.
- Let the price trigger time the entry. In a strong trend, price can keep making new highs or lows while divergences repeat.
- Name the indicator in the rule, because each one measures something different. An RSI divergence and a MACD histogram divergence are separate conditions, and a lower reading does not mean the same change in price movement for every indicator.
- Write the swing rule into the plan. Swing rules vary between traders and platforms, so the same chart can produce different anchors and different signals.
Bottom line
Divergence shows where price and a chosen indicator disagree at matching swing points: regular divergence frames a reversal setup and hidden divergence a continuation setup. Fix the indicator, its settings and the swing rule before reading anchors, and act on a price trigger, such as a close beyond the intervening swing, rather than on the divergence alone.
Clear answers
Frequently Asked Questions
Sources and Further Reading
- Fidelity: Relative Strength Index
- Fidelity: Moving Average Convergence Divergence
- Fidelity: What Is Technical Analysis?
How entries are sourced, calculated and updated: editorial methodology.