The Moving Average Convergence Divergence (MACD) indicator was developed by Gerald Appel in the 1970s and remains one of the most popular technical tools today. It combines trend-following and momentum analysis in a single indicator, generating signals when its two moving averages converge or diverge.

How MACD is constructed

MACD consists of three components: The MACD Line: Calculated by subtracting the 26-period EMA from the 12-period EMA. When the faster EMA (12) is above the slower EMA (26), the MACD is positive — bullish. When below, MACD is negative — bearish. The Signal Line: A 9-period EMA of the MACD line itself. This smooths out the MACD to generate clearer signals. The Histogram: The difference between the MACD line and the signal line. The histogram grows when momentum is accelerating and shrinks when it's decelerating.

Default settings (12, 26, 9) are widely used for daily charts. For shorter timeframes (1-hour), consider faster settings (8, 21, 5).

MACD crossovers: the primary signal

Bullish crossover: The MACD line crosses above the signal line. Suggests upward momentum is building. Bearish crossover: The MACD line crosses below the signal line. Suggests downward momentum is building.

The most powerful MACD crossovers occur when: the crossover happens far from the zero line (indicates strong momentum shift), it's confirmed by the histogram expanding in the signal direction, and price is near a key support/resistance level.

Weakness: Crossovers are lagging signals — by the time the crossover occurs, much of the move has already happened. They're most useful as confirmation tools, not as primary entry triggers.

MACD and the zero line

The zero line separates bullish and bearish territory. When the MACD is above zero, the 12-period EMA is above the 26-period EMA — bullish bias. Below zero: bearish bias. The zero line crossover is a longer-term trend signal. Price crossing from negative to positive MACD after a sustained downtrend is a significant bullish signal. Many traders use the zero line as a trend filter — only taking long trades when MACD is above zero, short trades when below.

MACD divergence: the most powerful signal

Like RSI, MACD divergence is one of its most powerful applications. Bearish divergence: price makes higher highs but MACD makes lower highs — momentum is weakening as price advances. This often precedes a reversal. Bullish divergence: price makes lower lows but MACD makes higher lows — selling momentum is weakening despite new price lows. Often precedes a rally.

Divergence is most meaningful on daily charts at key support/resistance levels. On shorter timeframes, MACD divergence produces more false signals.

Frequently Asked Questions

Is MACD a good indicator? +
MACD is a useful trend-following momentum indicator but should not be used in isolation. It works best in trending markets and generates many false signals in sideways/ranging conditions. Combine with support/resistance analysis and RSI for better results.
What are the best MACD settings? +
Default settings (12, 26, 9) work well for daily charts. For more sensitivity (faster signals with more false positives), try (8, 21, 5). For less sensitivity (fewer signals but higher quality), try (19, 39, 9) — often used for weekly charts.