What Is MACD? Definition and Simple Example
MACD, short for Moving Average Convergence Divergence, is a trend and momentum indicator calculated as the difference between a 12-period and a 26-period exponential moving average of price.
Example
A stock's 12-day EMA is $52.40 and its 26-day EMA is $51.10.
MACD line = 12 EMA − 26 EMA = $52.40 − $51.10 = $1.30
A positive value means the faster average is above the slower one, which suggests upward momentum. The signal line is a 9-period EMA of the MACD line. If the signal line is at $1.05, MACD is above its signal line, another bullish sign. The histogram shows the gap between the two: $1.30 − $1.05 = $0.25.
If prices start to fall, the 12-day EMA drops faster than the 26-day, the MACD line shrinks, and it may cross below the signal line or below zero.
Why it matters
MACD packs trend direction and momentum into one view. Traders watch for:
- Signal line crossovers: MACD crossing above or below its signal line.
- Zero line crosses: MACD turning positive or negative.
- Divergence: price making a new high or low that MACD does not confirm.
Stupid Simple Trader uses standard 12/26/9 settings. MACD above its signal line scores +1 (below scores −1), and MACD above zero adds +0.5 (below zero −0.5).
Common misunderstanding
Many traders treat every signal line crossover as a trade. In sideways markets, MACD crosses back and forth frequently, producing whipsaw signals. Because it is built from moving averages, it also lags price.
Learn more
This page is a short definition. For a full explanation, read:
Try it
See MACD combined with trend and RSI in one signal on a ticker page like /t/MSFT.