Indicators / Momentum / MACD

MACD Indicator Explained: Histogram, Zero Line and Divergence

Quick answer

MACD (Moving Average Convergence Divergence) measures momentum by comparing a fast and a slow exponential moving average. The histogram shows whether that momentum is growing or fading, and the zero line tells you which side of the trend momentum is on.

Video: MACD for Beginners. There is a second video further down: MACD Made Simple: Divergence & Zero Line Strategy.

What MACD measures

MACD tracks the gap between a 12-period and a 26-period exponential moving average (EMA). When the fast EMA pulls away from the slow one, momentum is building. When the two converge, momentum is fading.

It is a momentum tool built from trend tools, which is why it sits between the two worlds: slower than an oscillator like RSI, faster than the moving averages it comes from.

How MACD is calculated

MACD line = 12-period EMA − 26-period EMA
Signal line = 9-period EMA of the MACD line
Histogram = MACD line − signal line

Because MACD is measured in price units, its values are not comparable between markets. A reading of 50 on a high-priced stock or coin and 0.002 on a currency pair can mean the same thing.

Settings by timeframe

UseSettingsWhy
Most charts, 15 minute to daily12, 26, 9The standard; most traders watch the same lines
Faster, short-term charts5, 35, 5Reacts earlier to turns, with more noise
Weekly and longer12, 26, 9 or 19, 39, 9Smoother, fewer but larger signals

How to read MACD

1. The zero line first

MACD above zero means the fast EMA is above the slow EMA: short-term momentum is with the uptrend. Below zero, it is with the downtrend. Treat crossovers that agree with the zero-line side as stronger than those that fight it.

2. The histogram shows acceleration

Rising bars mean momentum is growing; shrinking bars mean it is slowing, often before price turns. A histogram that shrinks while price still makes new highs is an early warning.

3. Signal-line crossovers

MACD crossing above its signal line is the classic buy signal and crossing below is the sell signal. On their own they fire constantly in sideways markets, so use them in the direction of the trend and near levels that matter.

Divergence

When price makes a higher high but MACD makes a lower high, the push behind the move is weakening. The opposite at a low shows selling pressure fading. As with any divergence, it is a warning rather than an entry: wait for price structure to break or for MACD to cross back through zero.

Common mistakes

  • Taking every crossover. In a range, MACD crosses back and forth and most signals fail.
  • Ignoring the zero line. A buy crossover far below zero is fighting the trend.
  • Comparing values across markets. MACD is in price units, so the number itself means little.
  • Expecting it to be early. MACD is built from moving averages and always lags price a little.

What to pair MACD with

  • RSI for a faster momentum read; its 50 line plays the same role as MACD's zero line.
  • Moving averages on price to confirm the trend MACD is measuring.
  • ADX to avoid crossovers when the market is not trending.
  • Volume to check that a momentum shift has participation.

Watch next: MACD Made Simple: Divergence & Zero Line Strategy

Another take on MACD from the Indicator Guide channel.

MACD FAQ

What are the best MACD settings?

The default 12, 26, 9 works on most timeframes and is what most traders watch. Faster settings react sooner but give more false signals.

What does the MACD histogram show?

The gap between the MACD line and its signal line. Growing bars mean momentum is accelerating; shrinking bars mean it is slowing.

Is a MACD crossover a buy signal?

Only in context. Crossovers in the direction of the trend, and on the right side of the zero line, are far more reliable than crossovers in a sideways market.

Chart MACD live on Kraken Pro Affiliate link. Trading is high risk.