MACD Explained: How to Read the Lines, Histogram and Crossovers
5 min read · Updated 2026-11-14
MACD (Moving Average Convergence Divergence) shows how two exponential moving averages of price move relative to each other. It is used to judge both the direction of a trend and the strength of its momentum. It has three parts that are easy to mix up: the MACD line, the signal line and the histogram.
The three parts
- MACD line: the 12-period EMA minus the 26-period EMA. It is positive when the faster average is above the slower one.
- Signal line: a 9-period EMA of the MACD line, a smoothed version that it crosses.
- Histogram: the gap between the MACD line and the signal line, drawn as bars. It shrinks as a move loses momentum.
How traders read it
- Crossovers: MACD crossing above the signal line is read as improving momentum, crossing below as weakening momentum.
- Zero line: MACD above zero suggests an uptrend, below zero a downtrend.
- Histogram shrinking while price rises can warn the move is slowing before the lines cross.
- Divergence: price makes a new high but MACD does not, which can precede a reversal.
Where MACD struggles
MACD is built from moving averages, so it lags. In sideways, choppy markets it crosses back and forth and generates many false signals. Treat a crossover as one input, check the trend and nearby support or resistance, and expect to be wrong sometimes.
Frequently asked questions
- What do the 12, 26 and 9 mean?
- They are the periods of the two EMAs that make the MACD line (12 and 26) and of the EMA that makes the signal line (9). They are the defaults, and traders can change them.
- Is MACD a leading or lagging indicator?
- Lagging, because it is derived from past prices. The histogram and divergences can hint at momentum changes slightly earlier than a crossover.
Practise it, free
Step-by-step lessons with exercises on this topic:
Related guides
Education only, not financial advice. Examples use hypothetical numbers. Trading and options can lose money, including all of what you put in.