MACD: lines, histogram and crossovers
MACD turns two moving averages into a single momentum picture. It helps you see when a trend is speeding up or slowing down, but because it is built from averages, it always reacts after price.
How MACD is built
MACD stands for Moving Average Convergence Divergence. The standard setting uses three numbers: 12, 26 and 9.
If moving averages are new to you, read that lesson first. MACD uses exponential moving averages (EMAs), which give more weight to recent prices.
- MACD line: the 12-day EMA minus the 26-day EMA. When the short average is above the long one, the line is positive.
- Signal line: a 9-day EMA of the MACD line. It is a smoother, slower version.
- Histogram: the MACD line minus the signal line, drawn as bars. Tall bars mean the gap is widening; shrinking bars mean it is narrowing.
Crossovers and the zero line
A bullish crossover is when the MACD line crosses above the signal line. A bearish crossover is when it crosses below. The histogram flips from negative to positive (or back) at the same moment.
The zero line matters too. When the MACD line is above zero, the 12-day average is above the 26-day average, so the short-term trend is up. A crossover above zero, during an uptrend, is stronger than one far below zero in a downtrend.
Why MACD lags
MACD is an average of averages. By the time it crosses, price has already moved. On a fast breakout from a base, the stock may be 5% to 10% above the pivot before MACD turns positive. That is why traders in this method do not buy on MACD crossovers. The buy point comes from the base and the pivot, with volume.
MACD also gives many false signals when a stock moves sideways. In a tight range the lines cross back and forth every few days and mean very little.
How traders use it
Think of MACD as a speedometer. A shrinking histogram during a strong run says the advance is slowing, which can be an early hint to tighten your plan. A bearish divergence, where price makes a new high and MACD makes a lower high, is another warning sign, just like with the RSI.
On the weekly chart, MACD can help you see whether the bigger trend is healthy. Add it from the Indicators button on any chart and compare it with the price action you already see.
Common mistakes
- Buying every bullish crossover, even in sideways or falling stocks.
- Waiting for MACD to confirm a breakout and buying far above the buy zone.
- Ignoring the zero line and treating all crossovers as equal.
- Using MACD instead of price, volume and the base.
Key points
- MACD shows the gap between a 12-day and a 26-day EMA, plus a 9-day signal line and a histogram.
- Crossovers above the zero line in an uptrend carry more weight.
- MACD lags price, so use it to judge momentum, not to time your buys.
Check what you learned
Answer at least 2 of 3 correctly to complete the lesson.
1. What is the MACD line?
The MACD line is the gap between a 12-day and a 26-day EMA. The signal line is a 9-day EMA of the MACD line, and the histogram is the difference between the two.
2. Why don't traders in this method buy on MACD crossovers?
MACD is an average of averages, so it reacts after price. The buy point comes from the base and the pivot, with volume.
3. Which bullish crossover carries the most weight?
Above zero, the 12-day average is above the 26-day, so the short-term trend is already up. A crossover there is stronger than one deep in a downtrend.
Add MACD to a chart → Try it on Ticker&Tape