MACD Explained: Crossovers, Histogram and the Zero Line
MACD — Moving Average Convergence Divergence — turns two moving averages into one momentum gauge. It is simple, popular, and easy to misread.
The three parts
- MACD line: the 12-period exponential moving average (EMA) of the close minus the 26-period EMA. When short-term prices rise faster than longer-term prices, the line goes up.
- Signal line: a 9-period EMA of the MACD line — a smoothed version of it.
- Histogram: MACD line minus signal line, drawn as bars. It shows whether momentum is speeding up or slowing down.
OrderView uses 12, 26 and 9 by default; you can change all three, and the colours, in the MACD settings.
Reading crossovers
When the MACD line crosses above the signal line, short-term momentum is turning up; a cross below means it is turning down. Crossovers are frequent, and in a sideways market most of them lead nowhere. They are more useful in the direction of a larger trend.
The zero line
The MACD line is above zero when the 12 EMA is above the 26 EMA — broadly, an uptrend — and below zero in a downtrend. Where a crossover happens matters:
- A bullish crossover below zero catches momentum turning up from a weak area. Some trend-following strategies only take these when price is still above a long average such as the 200 EMA — a pullback inside a bigger uptrend.
- A bullish crossover far above zero happens late in a move and carries more risk of a quick reversal.
The histogram
Bars growing taller mean the gap between the two lines is widening: momentum is accelerating. Bars shrinking toward zero warn that the move is losing steam, often before the lines actually cross. Many traders watch the histogram for that early hint.
Divergence
As with RSI, a higher high in price with a lower high in the MACD line is a bearish divergence, and the opposite a bullish one. Turn on Show divergences in the MACD settings to have OrderView mark them.
Why MACD lags
MACD is built from moving averages of moving averages, so it always reacts after price. That is the price of smoothness: fewer false wiggles, but later signals. Fast markets can move a long way before MACD confirms.
Common mistakes
- Taking every crossover in a range-bound market.
- Comparing MACD values between coins — the numbers are in price units, so a large coin naturally has larger values.
- Using MACD alone without any idea of trend or levels.
Educational information only, not investment advice. Add MACD to a chart in the web app.