Back to Blog

MACD Indicator Explained: Trend Following and Divergence Trading

2025-12-09

MACD (Moving Average Convergence Divergence) is a versatile momentum indicator that shows the relationship between two moving averages. It's one of the most popular tools for identifying trend changes and trading opportunities.

What Is MACD?

MACD was developed by Gerald Appel in the late 1970s. It consists of three components:

1. MACD Line

The difference between the 12-period EMA and 26-period EMA.

MACD Line = 12 EMA - 26 EMA

2. Signal Line

A 9-period EMA of the MACD Line.

Signal Line = 9 EMA of MACD Line

3. Histogram

The difference between the MACD Line and Signal Line, shown as bars.

Histogram = MACD Line - Signal Line

Reading the MACD

Above/Below Zero

  • MACD above zero: 12 EMA is above 26 EMA = bullish momentum
  • MACD below zero: 12 EMA is below 26 EMA = bearish momentum

MACD and Signal Line Crossovers

  • MACD crosses above Signal Line: Bullish signal
  • MACD crosses below Signal Line: Bearish signal

Histogram Interpretation

  • Growing histogram: Momentum is increasing
  • Shrinking histogram: Momentum is decreasing
  • Histogram changes direction: Early warning of potential crossover

MACD Trading Strategies

Strategy 1: Signal Line Crossovers

The most basic MACD strategy:

Bullish signal: Buy when MACD crosses above Signal Line Bearish signal: Sell when MACD crosses below Signal Line

Tips:

  • Works best in trending markets
  • Generates many false signals in ranges
  • Consider filtering by overall trend direction

Strategy 2: Zero Line Crossovers

A more significant signal:

Bullish: MACD crosses from below zero to above zero Bearish: MACD crosses from above zero to below zero

This represents an actual change in which moving average is higher, indicating a more significant trend shift.

Strategy 3: MACD Divergence

Often the most reliable MACD signal:

Bullish Divergence:

  • Price makes a lower low
  • MACD makes a higher low
  • Suggests selling pressure is weakening

Bearish Divergence:

  • Price makes a higher high
  • MACD makes a lower high
  • Suggests buying pressure is weakening

Trading divergence:

  • Wait for price confirmation after spotting divergence
  • Use other indicators to confirm
  • Divergence suggests potential reversal, not guaranteed reversal

Strategy 4: Histogram Reversals

The histogram can provide early signals:

Bullish histogram signal:

  • Histogram below zero but bars getting smaller (less negative)
  • Suggests downward momentum is weakening
  • Anticipates bullish MACD crossover

Bearish histogram signal:

  • Histogram above zero but bars getting smaller
  • Suggests upward momentum is weakening
  • Anticipates bearish MACD crossover

MACD Settings

Default settings: 12, 26, 9

Faster settings (e.g., 8, 17, 9):

  • More signals but more false ones
  • Better for short-term trading

Slower settings (e.g., 19, 39, 9):

  • Fewer signals but more reliable
  • Better for longer-term trading

MACD vs RSI

AspectMACDRSI
TypeTrend-followingMomentum oscillator
RangeUnbounded0 to 100
Best forTrend identificationOverbought/oversold
SignalsCrossovers, divergenceLevels, divergence

Many traders use both together for confirmation.

Common MACD Mistakes

Mistake 1: Trading Every Crossover

Not all crossovers are equal. Filter by:

  • Trend direction on higher timeframe
  • Whether crossover happens near zero line
  • Volume confirmation

Mistake 2: Ignoring Context

A bullish MACD crossover doesn't mean much if price is in a strong downtrend on the weekly chart. Always consider the bigger picture.

Mistake 3: Not Waiting for Confirmation

Divergences can persist for a long time before resolving. Wait for price action to confirm the divergence signal.

Mistake 4: Using MACD Alone

No indicator works perfectly alone. Combine MACD with:

  • Price action analysis
  • Support and resistance
  • Other indicators like RSI or volume

Multi-Timeframe MACD

Check MACD across timeframes for stronger signals:

  • Weekly MACD bullish + daily MACD bullish crossover = stronger buy signal
  • Daily MACD bearish but weekly MACD still bullish = potential pullback, not reversal

Practice MACD Trading

At ChartMini, you can practice identifying MACD signals and divergences on historical data. See which signals led to profitable trades and which were false signals.

Understanding MACD in different market conditions—trending vs. ranging—is key to using it effectively.

Conclusion

MACD is a versatile indicator that can assist your trading, but it's not a holy grail. Use it to:

  • Confirm trend direction
  • Identify potential reversals through divergence
  • Time entries with crossovers

Combine it with price action and risk management for best results.