Alan Ross

Alan Ross Forex

Free Forex Indicators, MetaTrader Tools and Honest Trading Guides

Learn Forex

MACD Divergence Indicator Explained (With Examples)

TL;DR

  • A MACD divergence indicator flags when price and the MACD momentum reading disagree, which often warns that the current move is running out of fuel.
  • Regular divergence hints at a reversal (trend may flip), while hidden divergence hints at continuation (trend may resume after a pause).
  • On MetaTrader you read it by comparing swing highs/lows on price against the matching peaks/troughs on the MACD line or histogram.
  • Divergence is a warning, not a trade trigger. Wait for confirmation (a candle close, a structure break) before acting.

A MACD divergence indicator highlights moments when price makes a new high or low but the MACD does not agree. That disagreement signals fading momentum. In plain terms: price is still pushing, but the energy behind the push is draining. This article explains regular and hidden divergence, shows how to read both on MetaTrader, and walks through the common traps.

What MACD Divergence Actually Means

MACD measures the gap between two moving averages of price. When that gap widens, momentum is building. When it narrows, momentum is fading. Divergence happens when price and that momentum reading move in opposite directions.

price: higher highMACD: lower high = bearish divergenceBearish divergence: price higher high, MACD lower high.

Think of a car still rolling forward while the driver eases off the gas. The car keeps moving, but it is slowing under the surface. A MACD divergence indicator is the gauge that catches that easing before the car actually stops.

  • Price says one thing: a higher high, or a lower low.
  • MACD says another: a lower high, or a higher low.
  • The conflict is the signal. Momentum is no longer confirming the move.

Regular Divergence vs Hidden Divergence

This is the single most confusing part for new traders, so I will keep it simple. There are two families, and they point in opposite directions.

Regular divergence warns of a possible reversal. The trend may be tired and ready to turn.

Hidden divergence warns of a possible continuation. The trend paused, caught its breath, and may resume.

TypePrice actionMACD actionWhat it suggests
Regular bullishLower lowHigher lowDowntrend weakening, possible turn up
Regular bearishHigher highLower highUptrend weakening, possible turn down
Hidden bullishHigher lowLower lowUptrend likely to continue
Hidden bearishLower highHigher highDowntrend likely to continue

A quick memory trick

Regular divergence is named for what price does at the extreme: price makes the new extreme, MACD does not follow. Hidden divergence is the mirror: MACD makes the new extreme, price does not follow. If you remember “regular reverses, hidden holds,” you will rarely mix them up.

How to Read MACD Divergence on MetaTrader

MetaTrader chart showing MACD divergence indicator with candlestick price swings and momentum histogram below

Both MT4 and MT5 ship with a standard MACD in the indicator list, and if you are new to adding a custom indicator on MetaTrader 4 the steps are quick. The default MetaTrader MACD shows the difference as a histogram plus a signal line, which is enough to spot divergence by eye. Here is the step by step.

  • Step 1. Open a chart in MetaTrader and attach MACD from the Insert menu under Oscillators.
  • Step 2. Mark the two most recent clear swing points on price. For a potential top, mark two swing highs. For a potential bottom, mark two swing lows.
  • Step 3. Look directly below those same points on the MACD reading. Compare the matching peaks or troughs.
  • Step 4. Draw a line connecting the price points and a line connecting the MACD points. If the two lines slope in opposite directions, you have divergence.
  • Step 5. Identify which of the four types it is using the table above, then wait for confirmation before doing anything.

One note on the MetaTrader default

The MT4 built-in MACD draws only the histogram and a signal line and hides the true MACD line, which can make readings look slightly different from textbook versions. For cleaner divergence work, many traders use a custom MACD that draws the full MACD line. Either tool works once you know to compare the same swings on price and momentum.

A Worked Example, Step by Step

Candlestick chart on a trading monitor illustrating a MACD divergence reversal at a swing low

Imagine the EUR pair is selling off on the H1 chart. Price prints a low, bounces, then drops again to a fresh lower low. Classic downtrend, on the surface.

reversal pointAfter the divergence, price reverses near the prior swing high.

Now look at the MACD beneath those two lows. The second trough is shallower than the first. Price went lower, momentum did not. That is regular bullish divergence: the selling is losing force.

What I would do here is not buy instantly. I would wait for price to close back above the recent minor swing high, or for the MACD line to cross its signal line upward. The divergence told me to get ready. The confirmation told me to act, much like the alerts you get from buy and sell signal indicators for Forex. That two step rhythm is the whole discipline.

Best Settings and Timeframes

Multi-monitor trading desk with Forex charts used to test MACD divergence settings across timeframes

You do not need exotic numbers. The defaults are fine for most traders, and changing them mostly shifts sensitivity.

SettingDefaultFaster (more signals)Slower (fewer, cleaner)
Fast EMA12819
Slow EMA261739
Signal999

On timeframes, divergence is more reliable the higher you go. A divergence on the H4 or daily chart carries more weight than one on the M1, where noise produces dozens of false signals. If you are learning, start on H1 and above.

Common Pitfalls That Cost Traders Money

Divergence is powerful, but it is misused constantly. Here are the traps I see most.

  • Trading divergence alone. It is a warning gauge, not an entry trigger. Always pair it with a confirmation, such as a candle close or a break of structure.
  • Divergence in a strong trend. A roaring trend can show divergence again and again while continuing for a long time. In powerful moves, hidden divergence (continuation) is often the smarter read than regular divergence (reversal).
  • Forcing lines onto unclear swings. If you have to squint to find the swing points, the signal is weak. Trade only the obvious ones.
  • Ignoring the higher timeframe. A bullish divergence on M5 means little if the daily chart is in a hard downtrend.
  • Repainting tools. Some automated divergence markers redraw after the fact, showing perfect signals in hindsight that were never there live. Use a non-repaint indicator for MT4 and MT5 so what you see is what you got.

Frequently Asked Questions

Is MACD divergence a reliable signal on its own?

No. On its own it only tells you momentum is fading, which can persist for a long time before price reacts. It becomes reliable when you combine it with a confirmation step like a candle close, a trendline break, or a signal line cross, and when you favor higher timeframes.

What is the difference between regular and hidden MACD divergence?

Regular divergence points to a possible reversal: price makes a new extreme that momentum fails to match. Hidden divergence points to a possible continuation: momentum makes a new extreme that price fails to match. Regular reverses, hidden holds.

Can I use MACD divergence on MT4 and MT5?

Yes. Both MetaTrader 4 and MetaTrader 5 include a standard MACD, and you can spot divergence by comparing swing highs and lows on price with the matching peaks and troughs on the MACD. Custom indicators can also mark divergence automatically on your charts, and you can browse our roundup of the best MT4 Forex indicators for trusted options.

Which timeframe is best for spotting MACD divergence?

Higher timeframes give cleaner, more trustworthy divergence. H4 and the daily chart filter out the noise that floods lower timeframes like M1 and M5. If you are new, build your eye on H1 and above before going faster.

I built a free indicator that does exactly this.

It is my own enhanced DeMARK Trend Line indicator for MetaTrader 4 and 5. Non repaint, clean, and free. Grab it and try it on your charts.

Download the Free DeMARK Indicator

Written by Alan Ross

Forex trader and MetaTrader indicator developer. I build and test MT4 and MT5 tools, then write the honest version of how they actually work. More about me.

Last reviewed June 2026
Alan Ross
Alan Ross

Forex educator and indicator developer. I build and trade my own MetaTrader tools, and share the ones that genuinely help.

21 comments

  1. Not sure I fully agree that higher timeframes are always better. I scalp the M15 and hidden divergence works fine for me there if you filter with the trend. Lower timeframes just need more patience and discipline.

  2. Does this work the same on MT5 as MT4? I just switched over and the MACD looks a little different on the new platform.

  3. i been trading macd for a while but never understood why my divergence trades kept failing. turns out i was acting on it alone without waiting for the candle close. this was eye opening

  4. step 4 confused me at first. when you draw the line connecting the macd points are you connecting the histogram bars or the signal line? want to make sure im reading the right thing

    1. I had the same doubt, I think he means the MACD line itself not the histogram, thats why he mentions the custom one that shows the full line

  5. I actually prefer using RSI divergence over MACD, find it cleaner on lower timeframes. But I can see the case for MACD on H4 and daily, the histogram is easier to eyeball there.

  6. does the free demark indicator show divergence automatically or do i still need to mark the swings myself? thinking about installing it

  7. as a beginner this is exactly the kind of plain english guide i needed. the table with all four types is super handy, printed it out

  8. honestly the part about repainting tools is so important, i got burned by one of those divergence scanners that showed perfect signals in the backtest and then never fired the same live. lesson learned

  9. The worked example with the EUR pair on H1 really helped me picture it. Could you maybe do a follow up with a hidden divergence example too? That one is still a bit fuzzy for me.

  10. quick question, do you run the default 12 26 9 settings on the daily or do you slow them down a bit for the higher timeframes?

  11. Finally an explanation of regular vs hidden divergence that actually makes sense. The car easing off the gas analogy clicked for me instantly.

  12. What confirmation do you personally trust most, the candle close above the swing high or the signal line cross? Sometimes they happen at different times and I dont know which to wait for.

  13. Solid article. One thing I would add is to always check the higher timeframe bias first, saved me from a lot of bad counter trend divergence trades.

  14. appreciate the honesty that its a warning not a trigger. too many guides sell macd divergence like its a magic entry button

Leave a comment

Your email address will not be published. Comments are reviewed before they appear.