MACD: two averages and the gap between them
Caliente Signals · Updated
MACD is the gap between two EMAs, and then a smoothed version of that gap. Three series come out of it, and the builder offers each as its own operand:
- MACD line — EMA(12) minus EMA(26). How far the fast average has pulled away from the slow one, measured in price.
- MACD signal line — a 9-candle EMA of the MACD line. The same gap, smoothed.
- MACD histogram — the MACD line minus the signal line, drawn as bars. How far the gap has moved away from its own recent average.
The periods 12, 26 and 9 are the common defaults and all three are editable.
What the three numbers look like in motion
Illustration, not a backtest
Three consecutive candles as a fast average catches up with a slow one. Values are in the quote currency.
| Candle 1 | Candle 2 | Candle 3 | |
|---|---|---|---|
| MACD line | −120 | −60 | +40 |
| Signal line | −40 | −45 | −25 |
| Histogram | −80 | −15 | +65 |
Made-up numbers chosen to show the arithmetic. The histogram is always the first row minus the second.
Follow the bottom row. On candle 2 the histogram is still negative but much smaller, which is the gap closing. On candle 3 it turns positive, and that is the same event as the MACD line crossing above its signal line. They are one thing seen two ways, because the histogram is the distance between them.
That is what the histogram adds. The cross tells you the moment it happened. The bars tell you how fast it was approaching.
It is late, and that is arithmetic
MACD is built from two lagging averages and then smoothed again, so it cannot be anything other than late.
In a market with no direction the line and its signal cross back and forth, and each crossing is an alert about very little. Pairing MACD with a second condition, or running it on a slower timeframe, is what people usually reach for.
Read next
Write the rule. We'll watch for it.
Unlimited backtests on the free plan, and no card to start.
Caliente Signals is an alert tool, not an investment advisor. Nothing on this page is financial advice, and past performance is not indicative of future results.