Skip to main content
ForexNews24
MACD: What It Shows and How It's Calculated — Indicators, ForexNews24

MACD: What It Shows and How It's Calculated

MACD is one of the most popular indicators because it shows both the direction of a trend and its momentum at the same time. At its core is the difference between two exponential moving averages, one fast and one slow. MACD is valued for being visual and versatile, but it is important to understand that it is a lagging indicator, reflecting the state of the market with a delay.

What MACD is made of

MACD has three components. The MACD line is the difference between the fast and slow exponential moving averages (12 and 26 by default). The signal line is a smoothing of the MACD line itself (usually 9). The histogram is the difference between the MACD line and the signal line: it visually shows whether the move is accelerating or fading. When the histogram grows, momentum is strengthening; when it shrinks, momentum is weakening. Together the three components paint a picture of both direction and strength.

What it shows

When the lines diverge upward, upside momentum is strengthening; when they converge or spread the other way, the move is weakening. A crossover of the MACD line and the signal line is read as a shift in momentum. The position of MACD relative to the zero line shows the overall direction: above zero, upside momentum prevails; below, downside. But MACD, like any moving-average-based indicator, lags: it is built from past candles and reflects what has already happened rather than predicting the future.

MACD divergence

One of MACD's valuable signals is divergence: price makes a new extreme while MACD (the line or the histogram) does not. This warns of a weakening move and a possible reversal. As with RSI, MACD divergence is not an entry command but a warning that needs confirmation from structure. It reinforces a reversal idea, but a strong trend can run against it for a long time.

Why MACD is a confirmation tool

Beginners often expect a perfect entry from MACD. But the indicator does not predict the market; it merely reflects its state with a delay. Line crossovers lag, especially on lower timeframes and in noise, where they produce false signals. So it is wiser to use MACD as confirmation of an idea already formed from price, rather than as the sole basis for a trade. It helps you see whether a trend is backed by momentum or whether the move is running out of steam.

The practical takeaway

MACD is an indicator of direction and momentum, made up of the MACD line, the signal line, and the histogram, built on the difference between exponential moving averages. Read it as a whole: the line crossover (shift in momentum), the position relative to zero (direction), the histogram (acceleration or fading), and divergence (a weakening move). Remember that MACD lags; it reflects the past, it does not predict the future. Use it as confirmation, not as a standalone signal: it shows whether the trend is backed by momentum. Don't expect precise entry points from MACD; its strength is in confirming an idea, not generating one. Understanding how MACD is built and what it is by nature helps you apply it as a second vote for a trade, not as a holy grail.

This material is for educational purposes and is not individual investment advice.

From research to application

In our Allocation product we implemented these algorithms with all the nuances covered across the portal.

Learn about Allocation