Skip to content
← All articles

MACD indicator explained: lines, histogram and divergences

14 November 2026 · 3 min read

The MACD (Moving Average Convergence Divergence) measures the gap between two exponential moving averages to show whether a market's momentum is building or fading. It doesn't predict anything. It sums up the speed of the current move. Used alone, it throws a lot of false signals.

How is the MACD calculated?

With the default settings (12, 26, 9), the indicator has three parts, plotted under the price chart.

  • The MACD line: the 12-period exponential moving average minus the 26-period one. When it is positive, the short average sits above the long one.
  • The signal line: a 9-period exponential moving average of the MACD line. It reacts more slowly.
  • The histogram: the gap between the MACD line and the signal line. It is above zero when the MACD is above its signal, below zero when it isn't.

These settings date from the days of six-day trading weeks. Nothing forces you to keep them, but most traders watch them, so they are the ones that matter most.

What does a MACD crossover mean?

When the MACD line crosses above the signal line, bullish momentum is taking over: a bullish crossover. When it crosses below, it's a bearish crossover. On the histogram, this is the moment the bars cross the zero line.

The MACD line crossing above or below zero is another reference. Above zero, the short average is above the long one, so the market leans up. Below zero, it leans down.

Example (illustrative): an asset has been rising for three weeks and the MACD line is positive. Price pauses, the histogram shrinks, then the MACD line crosses back below its signal. That doesn't say the rally is over. It says momentum has weakened. It's up to you to check whether price holds a support before drawing a conclusion.

How do you read the MACD histogram?

The height of the bars matters, not just their color. Growing positive bars show a rise gaining speed. Shrinking positive bars show a rise slowing down, even if price is still going up. The histogram often flags the crossover a few candles before it happens.

What is a MACD divergence?

A divergence happens when price and the indicator tell two different stories.

  • Bearish divergence: price makes a new high, but the MACD makes a lower high. The rise is happening with less momentum.
  • Bullish divergence: price makes a new low, but the MACD makes a higher low. The fall is running out of steam.

It's a warning sign, not an entry signal. A divergence can last a long time while price keeps going the same way. Many traders wait for a break of structure or a reversal candle to confirm it. For those candles, see Japanese candlesticks.

What are the limits of the MACD?

  • It lags. It is built from moving averages, so from past prices. The crossover often arrives after the move has started.
  • It misleads in ranges. When price drifts sideways, the lines cross again and again and produce a string of false signals. To know where you stand, read trending vs ranging market.
  • It gives no level and no stop. It doesn't tell you where to enter, exit or place protection. You need a chart with support and resistance.
  • It depends on the timeframe. A bullish crossover on the 5-minute chart can sit inside a bearish trend on the 4-hour. See how to choose a timeframe.

How do you combine the MACD with other tools?

The MACD measures momentum, the RSI measures overextension, and moving averages give direction. None replaces reading price itself. A simple routine: mark the structure first (trend, support, resistance), then check whether the MACD confirms or contradicts what you see. If it contradicts, that isn't an order to stay out. It's a reason to size down or wait. For sizing, see position size.

If you're new, add only one indicator at a time. Watch it on twenty past charts before you give it weight in a decision.

Want a quick read of your chart?

Scanzivo reads a screenshot of your chart, with or without indicators showing, and suggests levels and a numbered plan. You can check what it says about the MACD against what you see yourself, which is a good way to practice.

This content is educational and is not investment advice. Trading carries a risk of capital loss, up to the full amount you put in.

This article is educational. It is not investment advice. Trading carries a risk of capital loss.

Read next

Secure payment by Stripe

Your screenshot

Your chart is ready.

The AI reads your chart right away, no card needed: trend, structure, patterns. The plan with numbers (entry, stop, targets) then unlocks with a pack.

Free reading, no sign-up. Full plan with a pack, from €10/month, no commitment.

I already have an account