MACD
The gap between a fast and a slow EMA, with its own average and a histogram of the difference.
Key ideas
- 1The MACD line is the 12-candle EMA minus the 26-candle EMA. Above zero, the short-term average is over the long-term one.
- 2The Average line is a 9-candle EMA of the MACD line. The histogram is the gap between the two.
- 3A growing histogram means momentum is building in that direction; a shrinking one means it is fading.
- 4MACD is built from averages, so it lags. Crosses come after the move has started.
How it works
Average = EMA(9) of MACD
Histogram = MACD − Average
Made-up candles. The histogram grows while momentum builds and shrinks as it fades.
Reading it
- MACD above zero: the short-term average is above the long-term one.
- MACD crossing its Average: momentum is changing direction, after the price has moved.
- Histogram bars growing: momentum building. Shrinking: fading.
What it can’t do
MACD is built from averages of averages, so it is late by design. In sideways markets its lines cross constantly and each cross means little.
Common mistakes
- Trading every cross of the two lines. In a sideways market they cross constantly.
- Forgetting that MACD’s values are in price terms, so they look very different on BTC and a small coin.
Check yourself
The MACD line is above zero. What does that mean?
Try it in Lance
Add MACD from Indicators to see the two lines and the histogram in a pane under the chart.
Add MACD