MACD measures trend momentum as the difference between a fast and a slow exponential moving average (classically 12 and 26 periods), compared against its own 9-period smoothed signal line. A positive and rising histogram reads as accelerating trend; crossings mark momentum shifts. Because it is built from moving averages it lags, and it has no fixed scale.
MACD measures trend momentum as the difference between a fast and a slow exponential moving average of price, classically 12 and 26 periods, and then compares that difference against its own 9-period smoothed signal line. A positive and rising histogram reads as accelerating trend; a crossing of the line and its signal marks a shift in momentum. The three numbers in the standard setting, 12, 26 and 9, are those three lookbacks.
An exponential moving average updates as EMA today = EMA yesterday + k x (close minus EMA yesterday), with k = 2 / (N + 1): about 0.154 for 12 periods, 0.074 for 26 and 0.200 for 9. MACD is measured in price units, so a reading of $1.20 on a $100 stock is not comparable with $1.20 on a $20 stock; some charts divide by price to make it a percentage.
Suppose on day 1 the 12-day EMA of a stock near $100 is 102.40 and the 26-day EMA is 101.20, and the signal line stands at 0.90. Over the next two days the stock rises and the averages follow.
| Day | EMA 12 | EMA 26 | MACD line | Signal | Histogram |
|---|---|---|---|---|---|
| 1 | 102.40 | 101.20 | 1.20 | 0.90 | +0.30 |
| 2 | 102.90 | 101.40 | 1.50 | 1.02 | +0.48 |
| 3 | 103.00 | 101.55 | 1.45 | 1.11 | +0.34 |
Day 2's signal is 0.90 + 0.2 x (1.50 minus 0.90) = 1.02, and day 3's is 1.02 + 0.2 x (1.45 minus 1.02) = 1.11, rounded. On day 3 the MACD line is still positive, the fast average is still above the slow one, and price is still rising, yet the histogram shrank from +0.48 to +0.34. The gap between the averages stopped widening. That is the distinction the histogram exists to make: the line reads direction, the histogram reads whether the move is accelerating or fading.
A positive MACD line says the recent average is above the longer one, a trend by that definition. The histogram's sign says whether the line is above or below its own smoothed history, so a crossing is the moment momentum changed relative to its recent norm. Because MACD is built from moving averages, it lags by construction and whipsaws in range-bound tape, generating crossing after crossing with no trend behind them. A crossing is a statement about averages that have already happened, not a forecast. MACD also has no bounds, so there is no overbought level; that is the job of a bounded oscillator such as RSI.
Pairing it with a trend-strength filter like ADX is the standard remedy: MACD reads direction and acceleration, ADX certifies a trend exists for it to describe. Inside the composite signal score, MACD contributes a bounded vote on direction and acceleration next to RSI, Bollinger Bands and ADX, and the tape fit methodology weighs that vote against the regime the tape is in. For strategy selection the reading informs the directional lean of a vertical spread, a put side versus a call side, rather than whether an entry exists at all; the volatility gate and the liquidity screen decide that.
They are the three lookbacks in the standard setting: a 12-period fast EMA, a 26-period slow EMA, and a 9-period EMA of their difference, which is the signal line. The histogram is the difference between the MACD line and the signal line.
The MACD line has crossed its 9-period signal line, so momentum has changed relative to its own recent norm. It describes averages that have already moved, and in range-bound markets crossings occur repeatedly with no trend behind them.
Lagging, by construction. It is built from exponential moving averages, so every reading reflects price changes that have already happened, smoothed over 12 and 26 periods.
Optionscanner is an options scanner and screener that works from the data in your own brokerage account.