Technical analysis · Intermediate

MACD: Moving Average Convergence Divergence

MACD is the distance between a fast and a slow moving average. It is slow on purpose, which is both its weakness and the reason it is useful.

Last reviewed by the MarketPro research desk · Editorial policy

In short

MACD measures the gap between a fast exponential moving average and a slow one, usually the 12 and 26 period. The MACD line is that gap, the signal line is a 9-period average of it, and the histogram plots the distance between the two lines. A widening gap means momentum is building and a narrowing gap means it is fading. Because it is built from averages, MACD confirms moves rather than predicting them.

What to remember

  • The zero line is the most reliable part of MACD. Above zero simply means the fast EMA is above the slow one, which is a context filter rather than a trigger.
  • The histogram is the earliest signal and the noisiest, because it is the gap between an already derived line and a smoothed copy of itself.
  • MACD is unbounded and quoted in price units, so there is no overbought level and readings cannot be compared between instruments.
  • Use MACD for one job, not three. Reading all three elements at once produces contradictions that get resolved in favour of the trade you already wanted.

MACD is the distance between two moving averages

The Moving Average Convergence Divergence indicator measures the gap between a fast exponential moving average and a slow one, conventionally the 12-period and the 26-period. When the fast average pulls away from the slow one, momentum is building. When the two converge, momentum is fading. That is the entire idea, and everything else in MACD is presentation.

Three elements appear on the chart. The MACD line is the fast EMA minus the slow EMA. The signal line is a 9-period EMA of the MACD line itself, so it is a smoothed version of the first line. The histogram plots the gap between those two lines, which makes it a difference between a difference and its own average. Each step removes you further from price, which is both the reason MACD looks so clean and the reason it is late.

The three readings, and what each is worth

  • Crossovers. The MACD line crossing above the signal line says the gap between the two averages is widening upward. It is the most-used reading and the least distinctive, because it is very close to a plain moving average crossover with extra smoothing.
  • The zero line. MACD above zero simply means the 12 EMA is above the 26 EMA. Broadly a bullish regime, broadly bearish below. This is a context filter, and it is the most reliable thing MACD offers.
  • The histogram. A histogram shrinking while price still rises says the two averages are converging, so the move is losing thrust before any crossover appears. This is the earliest of the three signals and the noisiest.

Putting numbers on the lag

Suppose EUR/USD rallies from 1.0800 to 1.0950 over nine days. The 12 EMA responds quickly, the 26 EMA follows slowly, and the MACD line rises. Price then turns and falls to 1.0890. The histogram starts shrinking almost immediately, because the averages begin converging as soon as the advance slows. The signal-line crossover, however, might not appear until price is back at 1.0870.

So on a 150 pip advance, the exit signal arrives roughly 80 pips off the high. That is not a defect to be tuned away with better settings. It is what a smoothed derivative of a smoothed average does. Anyone selling a MACD setting that catches tops is selling a curve fitted to the past.

11 more sections in MarketPro

Finish this lesson in MarketPro

The rest of MACD: Moving Average Convergence Divergence, a quiz that checks it landed, and your place kept in the curriculum.

  • 11 more sections of this lesson
  • All 320 lessons, with no cap and no paywall
  • Free on any account, including a free one
In your browserContinue on webor continue on web

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

Or scan with your phone camera to get the MarketPro app.

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

Run the numbers while this is fresh

Work it through on your own position size. Nothing leaves your browser and there is no sign-up: Pivot points calculator, Fibonacci calculator.

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

MACD: Moving Average Convergence Divergence: questions

What do the 12, 26 and 9 settings mean in MACD?
They are the periods of the fast EMA, the slow EMA and the signal line. The MACD line is the 12-period EMA minus the 26-period EMA, and the signal line is a 9-period EMA of that result. The numbers date from an era of six-day trading weeks rather than from any market principle, so they are a convention worth testing rather than an optimum.
Is MACD a leading or lagging indicator?
MACD is lagging, because every component is derived from moving averages of past prices. The histogram is the least lagging of the three elements since it reacts as soon as the two averages start converging, but it is also the noisiest. Expect MACD to confirm a move that has already begun rather than anticipate one.
Can you compare MACD values between different pairs?
No. MACD is expressed in the price units of the instrument, so a value of 0.0015 on EUR/USD and 3.40 on gold are not on the same scale and cannot be ranked against each other. Even on a single instrument, a MACD level from a high-volatility period is not comparable with one from a calm period.
Trade · Learn · Earn

The whole academy is free in MarketPro

All 320 lessons, 12 guided paths, quizzes and a daily streak. Free on every account, in the app or your browser, with vetted free signals alongside it.

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

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