Watch the lesson
Trending or Ranging? Reading Volatility with the Last Closed 4H ATR (11:24). Also on the free lessons page, with chapters. Education only. The video explains how the rules work; it is not personal advice.
What MACD divergence measures
MACD is the difference between a 12-period and a 26-period EMA. When price makes a new high but MACD makes a lower high, the push that made the new high was weaker than the previous one, measured by how far the fast average pulled away from the slow one. That's all divergence says: momentum on this push was smaller. It doesn't say the trend is ending.
The four types
| Type | Price | MACD | Usually read as |
|---|---|---|---|
| Regular bearish | Higher high | Lower high | Upward momentum fading |
| Regular bullish | Lower low | Higher low | Downward momentum fading |
| Hidden bullish | Higher low | Lower low | Pullback in an uptrend; trend continuation context |
| Hidden bearish | Lower high | Higher high | Pullback in a downtrend; continuation context |
Step 1: Use confirmed swing points only
The biggest source of misleading divergence is comparing a confirmed old high with a candle that might not be a high yet. A swing high is only confirmed after a set number of lower highs on its right, say three to five candles. Until then, the “divergence” can vanish if price keeps rising. Decide your pivot length and only draw divergence between two confirmed pivots.
The trade-off is delay: a divergence confirmed with a 5-bar right side appears five candles after the high. That delay is honest. Divergence that appears earlier is usually repainting.
Step 2: Compare the same thing on both ends
Use either the MACD line or the histogram, not a mix. Histogram divergence appears more often and earlier; MACD-line divergence is less frequent. Many people unknowingly switch between the two to find the divergence they want.
Step 3: Check where it happens
Divergence at an obvious level (a higher-timeframe resistance zone, a prior swing high) is more interesting than divergence in the middle of nowhere. Divergence against a strong higher-timeframe trend is the most common way to get repeatedly stopped out: in strong trends, bearish divergence can print three or four times in a row while price keeps climbing.
Step 4: Wait for structure, not just momentum
A divergence becomes a more complete idea when price structure also changes, for example a close below the last higher low (a change of character, explained in BOS vs CHoCH). Divergence warns; structure confirms.
Worked example (illustrative numbers, 4-hour chart)
- Swing high A at 1.0950, MACD line at that bar 0.0024. Confirmed after 5 lower highs.
- Price rallies to swing high B at 1.0972. MACD line 0.0016. Confirmed five candles later. Regular bearish divergence between A and B.
- The Daily trend test is still bullish. So this divergence is against the larger trend: a reason for caution with longs, not a reason to sell.
- Two days later, price closes below the last higher low at 1.0905. Now structure and momentum agree. Only now would a bearish idea have both pieces.
Notice the order: momentum warned first, structure confirmed later, and the higher timeframe was considered throughout.
Where MACD divergence fails
- Strong trends. Momentum naturally fades as a trend matures without the trend ending.
- Ranges. MACD oscillates around zero and produces divergence constantly.
- Different pivot settings. A 2-bar and a 10-bar pivot find different highs and different divergences.
- Hindsight. Scrolling back and finding perfect divergences at every top is survivorship: the failed ones aren't memorable.
Adding volatility context
A divergence while volatility is contracting often just means the market is going quiet; a divergence with volatility expanding is a different situation. The video above shows how to read a last-closed 4-hour ATR as expanding, contracting or flat. Smart MACD puts that 4-hour reading next to the MACD histogram. If you want divergence marks drawn only after the pivot confirms, Pulse Oscillator does that, and MACD Momentum Score folds MACD divergence into a single score.
Tools for this guide: Apex Edge Smart MACD. For a free starting point, the Free Trend Check Dashboard shows trend bias across ten timeframes: claim it free with your email.
Frequently asked questions
What is MACD divergence?
A disagreement between price and MACD: for example price makes a higher high while MACD makes a lower high. It shows the latest push had less momentum.
Is MACD divergence reliable?
It is a useful warning but a weak standalone reason to act. In strong trends it can appear repeatedly while the trend continues.
What is hidden divergence?
Price makes a higher low while MACD makes a lower low (or the bearish mirror). It is usually read as a pullback within a trend rather than a reversal.
Why does MACD divergence repaint?
If you compare a confirmed pivot with a candle that hasn't been confirmed as a pivot yet, the divergence can disappear when price continues. Only compare confirmed pivots.
Should I use the MACD line or histogram for divergence?
Either, but be consistent. Histogram divergence is earlier and more frequent; MACD-line divergence is rarer.
Keep reading
Best MACD settings: 12-26-9 compared with faster and slower sets
MACD settings compared: what 12-26-9 means, what 5-35-5, 8-17-9 and 19-39-9 change, and how to choose settings by holding period rather than by hindsight.
Multi-timeframe RSI: reading strength across timeframes
How to read RSI on several timeframes at once: the 50 line as a regime filter, closed higher-timeframe candles, and weighting rows.
BOS vs CHoCH: break of structure vs change of character
Break of structure (BOS) vs change of character (CHoCH): close-vs-wick rules, pivot length, a worked example and where the labels mislead.
More in MACD and momentum, or browse all guides by topic. Questions? Email contact@brainiosoftware.com.
General information only. This guide is general education, not personal financial product advice or a recommendation to buy or sell anything. Indicator readings, alerts and screener results are not trade recommendations. Examples use illustrative numbers. TradingView is a third-party platform; we are not affiliated with or endorsed by TradingView. Education only. Not financial advice. Trading involves risk of loss. Read the full risk disclaimer.