Home / Learn / MACD Indicator Explained
AD SPACE AVAILABLE Your banner can be here. Contact us for placement terms and conditions. Contact us →
LEARN

MACD Indicator Explained

How the MACD indicator works in forex: its moving-average components, the signal line and histogram, and what it does and does not tell traders.

Tom Whitfield · November 5, 2026 · 4 min read
LEARN

MACD, short for Moving Average Convergence Divergence, is another widely used momentum indicator, built directly out of moving averages rather than a separate formula of its own. It’s often shown in a small panel below the main price chart.

What MACD is made of

MACD has three parts, all derived from exponential moving averages (EMAs) of price:

  • MACD line: the difference between two EMAs of different lengths, commonly a 12-period and a 26-period EMA. Subtracting the longer one from the shorter one gives the MACD line.
  • Signal line: typically a 9-period EMA of the MACD line itself — essentially a smoothed average of the MACD line.
  • Histogram: a set of bars showing the gap between the MACD line and the signal line, which expands and contracts as the two lines move closer together or further apart.

Because it’s built from the gap between two moving averages of different speeds, MACD is essentially a way of visualizing how quickly short-term momentum is changing relative to the slightly longer-term trend. The specific lengths of 12, 26, and 9 periods are the traditional defaults rather than fixed rules, and many charting platforms let a trader change them to suit a different pair or timeframe.

How traders commonly read it

Line crossovers

When the MACD line crosses above the signal line, it indicates that shorter-term momentum has just picked up relative to the smoothed average of itself; a cross below indicates the opposite. This is a description of what the lines have just done — it doesn’t say what price will do afterward, and crossovers happen often, including during periods when price goes on to move sideways.

Zero-line position

The MACD line sits above zero when the shorter EMA is above the longer EMA (broadly associated with upward momentum) and below zero when the reverse is true. Some traders use the zero line as a rough dividing point between bullish and bearish momentum conditions.

Divergence

As with RSI, some traders watch for MACD divergence — where price makes a new high or low that MACD doesn’t confirm — as a sign that underlying momentum may be weakening. Divergence is a pattern to be aware of, not a dependable early-warning system; it can occur well before, during, or without any accompanying change in price direction.

What MACD does and doesn’t tell you

MACD gives a visual sense of whether momentum is accelerating or decelerating, and in which direction, compared to the recent trend. What it cannot do is tell you, with any certainty, what price will do over the next period. Like any indicator built from past price data, it reacts to what has already happened — it doesn’t anticipate news, shifts in sentiment, or sudden changes in market conditions, and its signals can occur well after a meaningful part of a move has already taken place, or fail to lead anywhere at all.

MACD also tends to produce more frequent, less useful signals during sideways or choppy markets, where the two EMAs cross back and forth repeatedly without a clear trend to follow. This is a known characteristic of moving-average-based indicators generally, not a flaw specific to MACD.

Using it as one tool among several

Most traders who rely on MACD treat it as a way of reading momentum alongside other chart elements — trend direction, support and resistance, and the broader context of price action — rather than as a stand-alone entry and exit system. Combining it with clear risk management, such as predetermined stop-loss levels, is standard practice precisely because no single indicator, MACD included, can be relied on by itself to call the market correctly.

Written by Tom Whitfield
Technical Analysis Writer · Published November 5, 2026
Covers chart reading and technical analysis for GlobalFXHub, including our candlestick pattern library.