MACD Explained for Traders

The MACD (Moving Average Convergence Divergence) is one of the most popular momentum indicators in trading, combining trend-following and momentum measurement into a single tool. Unlike RSI, which is bounded between 0 and 100, MACD is unbounded — it measures the changing relationship between two moving averages rather than price levels directly.
How MACD Is Built
MACD is constructed from three components:
- MACD line: the difference between a 12-period exponential moving average and a 26-period EMA of price.
- Signal line: a 9-period EMA of the MACD line itself, acting as a smoothed trigger line.
- Histogram: the difference between the MACD line and the signal line, plotted as bars above or below a zero baseline.
When the 12-EMA is above the 26-EMA, the MACD line sits above zero, reflecting upward momentum; when the 12-EMA is below the 26-EMA, the MACD line sits below zero, reflecting downward momentum.
Reading the Zero Line
The simplest read on MACD is its position relative to zero:
- MACD above zero: the shorter-term average is above the longer-term average — a broad indication of bullish momentum.
- MACD below zero: the shorter-term average is below the longer-term average — a broad indication of bearish momentum.
Example: If USD/JPY’s 12-EMA sits at 150.40 and its 26-EMA sits at 149.80, the MACD line will be positive (roughly +0.60), reflecting the shorter average’s lead over the longer one. As the two averages converge, the MACD line moves back toward zero.
MACD Signal Line Crossovers
A crossover happens when the MACD line crosses above or below its signal line:
- Bullish crossover: MACD line crosses above the signal line, often read as a shift toward positive momentum.
- Bearish crossover: MACD line crosses below the signal line, often read as a shift toward negative momentum.
Example: Suppose gold has been consolidating and the MACD line, sitting slightly below its signal line at -1.2, curls upward and crosses above the signal line as price breaks above a resistance zone around 2,395. This crossover, appearing alongside a genuine breakout, is a more convincing signal than the same crossover occurring in the middle of a quiet, directionless range.
Like moving average crossovers generally, MACD crossovers are a lagging signal — by the time the cross confirms, price has typically already moved a meaningful distance.
The Histogram: An Earlier Read on Momentum
Because the histogram measures the gap between the MACD line and signal line, it often starts shrinking before an actual crossover occurs — giving a slightly earlier warning that momentum is fading.
Example: If the histogram bars have been growing for several sessions during a EUR/USD rally, then start shrinking even though price is still making marginal new highs, that’s often an early signal that upward momentum is decelerating — worth watching even before the MACD and signal lines actually cross.
MACD Divergence
Just like RSI, MACD divergence compares price direction to the indicator’s direction, looking for disagreement:
- Bearish divergence: price makes a higher high, MACD makes a lower high — momentum weakening despite price still climbing.
- Bullish divergence: price makes a lower low, MACD makes a higher low — downside momentum weakening despite price still falling.
Example: If the S&P 500 rallies from 5,300 to a new high of 5,480, pulls back, then pushes to another marginal new high at 5,495 — but the MACD line peaks lower on the second push than the first — that divergence is a commonly watched (though not guaranteed) warning that the rally’s momentum is fading, often prompting traders to tighten stops or reduce position size rather than necessarily reverse direction outright.
MACD vs. RSI: When to Use Which
MACD and RSI are both momentum tools but answer slightly different questions. RSI is bounded and better at flagging overbought/oversold extremes within a range. MACD, built from moving averages, tends to track better with trending markets and captures the relationship between short- and long-term momentum rather than an absolute extreme. Many traders use both together — RSI for extremes, MACD for trend-aligned momentum confirmation — rather than choosing one over the other.
Common Mistakes
- Trading every crossover in a choppy market. In a sideways range, the MACD and signal lines cross frequently, generating repeated false signals (“whipsaws”).
- Ignoring price structure. A MACD crossover at a random price level carries far less weight than one occurring alongside a genuine chart pattern breakout or a bounce off support/resistance.
- Overreacting to divergence. Divergence flags weakening momentum, not a guaranteed reversal — price can continue for some time even after divergence appears.
- Using MACD on too short a timeframe without adjustment. Default settings (12, 26, 9) were designed with daily/weekly data in mind; some traders adjust these for faster intraday markets, though there’s no universally “correct” substitute.
Key Takeaways
- MACD tracks the relationship between a 12-period and 26-period EMA, plus a 9-period signal line and histogram, to gauge momentum direction and strength.
- MACD above/below zero reflects whether short-term momentum is leading or lagging longer-term momentum.
- Signal line crossovers can flag shifts in momentum but are lagging — confirmed after price has already moved.
- The histogram often shrinks before an actual crossover, offering an earlier (though less certain) read on fading momentum.
- MACD divergence — price and indicator disagreeing on direction — is a useful warning sign, not a guaranteed reversal signal.
- MACD complements RSI rather than replacing it; many traders use both together with trend and price structure.
For the full toolkit these momentum indicators fit into, see technical analysis for beginners and how to use moving averages.
Risk warning: Trading carries a high level of risk to your capital. MACD is a lagging momentum tool and does not guarantee future performance. Only trade with money you can afford to lose.
Frequently asked questions
- What does MACD stand for and what does it measure?
- MACD stands for Moving Average Convergence Divergence. It measures the relationship between two exponential moving averages of price (typically 12-period and 26-period) to gauge whether momentum is strengthening or fading, and in which direction.
- What is a MACD crossover signal?
- A crossover happens when the MACD line crosses above or below its signal line (typically a 9-period EMA of the MACD line itself). A cross above the signal line is often read as bullish; a cross below is often read as bearish. Like most crossover-based signals, it lags the actual turning point in price.
- What is the MACD histogram?
- The histogram plots the distance between the MACD line and its signal line as vertical bars. It grows taller as the gap widens (momentum accelerating) and shrinks toward zero as the gap narrows (momentum fading), often giving an earlier read on momentum shifts than waiting for the lines to actually cross.