Intermediate
17 min read

MACD Indicator

Master the MACD (Moving Average Convergence Divergence)—a versatile momentum indicator. Learn crossover signals, divergence patterns, and histogram analysis for precise entries.

What is the MACD Indicator?

MACD (Moving Average Convergence Divergence) is a trend-following momentum indicator that shows the relationship between two exponential moving averages. It helps identify trend direction, momentum strength, and potential reversals.

The Three Components of MACD

1. MACD Line (Fast Line)

Difference between 12 EMA and 26 EMA

MACD Line = 12 EMA - 26 EMA

Shows momentum. When positive (above zero), uptrend. When negative (below zero), downtrend.

2. Signal Line (Slow Line)

9-period EMA of the MACD Line

Signal Line = 9 EMA of MACD Line

Smoothed version of MACD. Crossovers with MACD Line generate buy/sell signals.

3. Histogram

Difference between MACD Line and Signal Line

Histogram = MACD Line - Signal Line

Shows distance between the two lines. Bars growing = momentum increasing. Bars shrinking = momentum weakening.

How to Read the MACD

The Zero Line (Centerline)

The zero line divides bullish and bearish territory on MACD.

MACD Above Zero

  • • 12 EMA > 26 EMA
  • Bullish momentum
  • • Price is in uptrend
  • • Look for buying opportunities

MACD Below Zero

  • • 12 EMA < 26 EMA
  • Bearish momentum
  • • Price is in downtrend
  • • Look for selling opportunities

Trend Rule: When MACD crosses above zero, it confirms uptrend. When it crosses below zero, it confirms downtrend. This is a longer-term signal (slower than crossovers).

Histogram: Momentum Strength

The histogram bars show how far apart the MACD and Signal lines are—indicating momentum strength.

  • Bars Growing Larger: Momentum increasing (trend accelerating)
  • Bars Shrinking: Momentum decreasing (trend losing steam)
  • Bars Flip from Positive to Negative (or vice versa): Crossover happening, trend changing
  • Histogram at Zero: MACD and Signal lines crossed—potential reversal

MACD Trading Signals

Bullish Crossover (Buy Signal)

Buy

MACD Line crosses above the Signal Line.

What It Means:

Short-term momentum (12 EMA) is accelerating faster than medium-term (26 EMA). Bullish trend is starting or resuming. Time to consider long positions.

Trading Strategy:

  1. 1. Wait for crossover: MACD crosses above Signal Line (histogram flips positive)
  2. 2. Check position: Crossover above zero line = stronger signal (already in uptrend)
  3. 3. Confirm with price: Look for bullish candle, break above resistance, or higher high
  4. 4. Enter long, stop-loss below recent swing low
  5. 5. Exit when: MACD crosses back below Signal Line or price hits target

Best Crossovers: Those that happen near the zero line (not far below) and with confirming price action (breakout, bounce from support). Avoid crossovers that happen way below zero—they're weaker.

Bearish Crossover (Sell Signal)

Sell

MACD Line crosses below the Signal Line.

What It Means:

Short-term momentum is weakening relative to medium-term. Bearish trend is starting or resuming. Time to consider short positions or exit longs.

Trading Strategy:

  1. 1. Wait for crossover: MACD crosses below Signal Line (histogram flips negative)
  2. 2. Check position: Crossover below zero line = stronger signal (already in downtrend)
  3. 3. Confirm with price: Look for bearish candle, break below support, or lower low
  4. 4. Enter short, stop-loss above recent swing high
  5. 5. Exit when: MACD crosses back above Signal Line or price hits target

Best Crossovers: Those that happen near the zero line (not far above) and with confirming price action (breakdown, rejection from resistance). Avoid crossovers way above zero—they're less reliable.

MACD Divergence (Powerful Reversal Signal)

Just like RSI, MACD divergence occurs when price and MACD move in opposite directions. This warns of trend exhaustion and potential reversal. Very reliable when combined with support/resistance.

Bullish MACD Divergence

Reversal Up

Price makes lower lows, but MACD makes higher lows.

How to Spot It:

  1. 1. Price makes a low (e.g., 1.0900)
  2. 2. Price rallies, then makes a lower low (e.g., 1.0850)
  3. 3. Check MACD: First low = MACD -0.0025, second low = MACD -0.0018 (higher low on MACD)
  4. 4. Divergence signals downtrend weakening, reversal up likely

Trading Strategy:

  • Entry 1 (Aggressive): When MACD crosses above Signal Line (confirms momentum shift)
  • Entry 2 (Conservative): When price breaks above previous short-term high (confirms reversal)
  • Stop-Loss: Below the divergence low
  • Take-Profit: Next resistance or 2:1 risk-reward

Example: EUR/USD falling, makes low at 1.0900 (MACD -0.0030), rallies to 1.0950, then drops to 1.0880 (MACD -0.0020). Price made lower low but MACD made higher low = bullish divergence. Buy when MACD crosses up or price breaks 1.0950.

Bearish MACD Divergence

Reversal Down

Price makes higher highs, but MACD makes lower highs.

How to Spot It:

  1. 1. Price makes a high (e.g., 1.1100)
  2. 2. Price pulls back, then makes a higher high (e.g., 1.1150)
  3. 3. Check MACD: First high = MACD +0.0028, second high = MACD +0.0020 (lower high on MACD)
  4. 4. Divergence signals uptrend weakening, reversal down likely

Trading Strategy:

  • Entry 1 (Aggressive): When MACD crosses below Signal Line (confirms momentum shift)
  • Entry 2 (Conservative): When price breaks below previous short-term low (confirms reversal)
  • Stop-Loss: Above the divergence high
  • Take-Profit: Next support or 2:1 risk-reward

Example: GBP/USD rising, makes high at 1.2600 (MACD +0.0032), pulls back to 1.2550, then rallies to 1.2650 (MACD +0.0025). Price made higher high but MACD made lower high = bearish divergence. Sell when MACD crosses down or price breaks 1.2550.

Combining MACD with Other Indicators

MACD shines when used alongside other tools:

MACD + Support/Resistance

Best combination. Wait for MACD crossover at major S/R level. E.g., MACD bullish crossover at support + bounce = high-probability long. Filters out false crossovers in the middle of ranges.

MACD + RSI

Both measure momentum but differently. When MACD crosses up AND RSI crosses above 30 (oversold bounce), it's double confirmation. When both show divergence, reversal probability jumps to 80%+.

MACD + Moving Averages

Use 50/200 MAs to determine overall trend, MACD for timing. E.g., Price above 200 SMA (uptrend) + MACD bullish crossover = buy signal. Avoids counter-trend trades completely.

MACD + Trendlines

When price breaks trendline AND MACD crosses (both signal trend change), it's powerful confirmation. E.g., uptrend line breaks + MACD bearish crossover = strong sell signal. Double trend-change confirmation.

Common Mistakes to Avoid

Using MACD in Ranging Markets

MACD crossovers happen constantly in choppy, sideways markets, creating whipsaw losses. MACD is a trend-followingindicator—it needs trends to work. In ranges, use horizontal S/R instead.

Taking Every Crossover

Blindly trading every MACD crossover without confirmation. Many are false signals. Wait for price action confirmation(candle patterns, S/R breaks) or combine with other indicators. Quality over quantity.

Ignoring the Zero Line

Taking bearish crossovers when MACD is above zero (still in uptrend) or bullish crossovers when below zero (still in downtrend). Check the zero line position—it shows the bigger trend context.

Changing MACD Settings

Tweaking to 8-17-9 or 13-21-5 trying to "optimize." Stick with 12-26-9 standard. These settings have worked for 50+ years because millions of traders use them, creating self-fulfilling signals. Optimization = curve-fitting.

Key Takeaways

  • MACD = 12 EMA - 26 EMA. Signal Line = 9 EMA of MACD. Histogram = MACD - Signal Line. Standard settings: 12, 26, 9.
  • Crossover signals: MACD above Signal = buy. MACD below Signal = sell. Crossovers near zero line are strongest.
  • Zero line: MACD above zero = uptrend (bullish), below zero = downtrend (bearish). Crossing zero confirms major trend change.
  • Histogram: Bars growing = momentum increasing. Bars shrinking = momentum weakening (early warning of crossover).
  • MACD divergence = powerful. Price new high/low but MACD doesn't = reversal coming. 70-80% success at S/R levels.
  • Best in trending markets. Gives false signals in ranges. Combine with S/R, RSI, or MAs for confirmation.

Continue Learning

    MACD Indicator | Moving Average Convergence Divergence Strategy | FN Pulse