MACD Explained: The Ultimate Guide for Swing Traders

Learn how to use the MACD indicator for swing trading. Master signal line crossovers, histogram analysis, and divergence patterns for better trades.

SwingFolio TeamJuly 26, 202514 min read
Back to Blog

The Moving Average Convergence Divergence (MACD) combines trend direction, momentum, and reversal signals into one indicator. It shows the relationship between two moving averages of price and gives swing traders actionable crossover and divergence signals.

What is MACD?

MACD is a trend-following momentum indicator built from three components:

  1. MACD Line: The difference between 12-period and 26-period EMAs
  2. Signal Line: 9-period EMA of the MACD line
  3. Histogram: Visual representation of the distance between MACD and signal line

Standard MACD Settings

  • Fast EMA: 12 periods
  • Slow EMA: 26 periods
  • Signal Line: 9 periods

These settings work well for swing trading on daily charts. Adjust if you have a tested reason to.

Understanding MACD Components

The MACD Line

Calculation: 12 EMA minus 26 EMA

Interpretation:

  • Positive MACD = Short-term momentum is bullish
  • Negative MACD = Short-term momentum is bearish
  • Rising MACD = Momentum increasing
  • Falling MACD = Momentum decreasing

The Signal Line

Calculation: 9-period EMA of the MACD line

Purpose: Smooths the MACD line and generates trading signals through crossovers.

The Histogram

Calculation: MACD line minus Signal line

Interpretation:

  • Positive histogram = MACD above signal (bullish)
  • Negative histogram = MACD below signal (bearish)
  • Growing bars = Momentum increasing
  • Shrinking bars = Momentum decreasing

MACD Strategy 1: Signal Line Crossover

The primary MACD trading signal.

Bullish Crossover

Signal: MACD line crosses above the signal line

How to Trade:

  1. Wait for MACD to cross above signal line
  2. Confirm with price action (breaking resistance)
  3. Enter on next day open or pullback
  4. Set stop below recent swing low

Bearish Crossover

Signal: MACD line crosses below the signal line

How to Trade:

  1. Wait for MACD to cross below signal line
  2. Confirm with price action (breaking support)
  3. Exit longs or enter shorts
  4. Set stop above recent swing high

Crossover Quality

Not all crossovers are equal:

Strong Crossovers:

  • Occur after extended trend
  • Cross happens away from zero line
  • Histogram shows clear momentum shift
  • Price confirms with volume

Weak Crossovers:

  • Occur in choppy markets
  • Cross happens near zero line
  • Small histogram bars
  • No price confirmation

MACD Strategy 2: Centerline Crossover

The zero line represents trend direction.

Bullish Centerline Cross

Signal: MACD crosses above zero

Meaning: 12 EMA has crossed above 26 EMA, confirming a bullish trend

How to Trade:

  • Use as confirmation for long positions
  • More significant than signal line crossover
  • Often occurs after signal line cross

Bearish Centerline Cross

Signal: MACD crosses below zero

Meaning: 12 EMA has crossed below 26 EMA, confirming a bearish trend

How to Trade:

  • Use as confirmation for short positions or exits
  • Warning sign for existing longs
  • Consider tightening stops

MACD Strategy 3: Histogram Reversals

The histogram often leads price and MACD turns.

Reading Histogram Momentum

Bullish Signs:

  • Histogram bars getting shorter below zero (selling pressure decreasing)
  • First positive bar after series of negative bars
  • Histogram making higher lows while below zero

Bearish Signs:

  • Histogram bars getting shorter above zero (buying pressure decreasing)
  • First negative bar after series of positive bars
  • Histogram making lower highs while above zero

Trading Histogram Reversals

  1. Look for shrinking histogram bars
  2. Wait for first bar in opposite direction
  3. This often precedes signal line crossover
  4. Use as early warning for position management

MACD Strategy 4: Divergence

Like RSI, MACD divergences signal potential reversals.

Bullish MACD Divergence

Setup:

  • Price makes lower low
  • MACD makes higher low

Trading:

  1. Identify divergence on daily chart
  2. Wait for signal line bullish crossover
  3. Enter on price breakout above recent swing
  4. Stop below the divergence low

Bearish MACD Divergence

Setup:

  • Price makes higher high
  • MACD makes lower high

Trading:

  1. Identify divergence on daily chart
  2. Wait for signal line bearish crossover
  3. Exit longs or enter shorts on breakdown
  4. Stop above the divergence high

Divergence Confirmation

Divergence is more reliable when:

  • It occurs at significant price levels
  • Multiple indicators show divergence
  • Volume confirms (declining on final push)

Combining MACD with Other Tools

MACD + RSI

  • MACD shows trend direction
  • RSI shows overbought/oversold
  • Best signals: RSI oversold + MACD bullish crossover

MACD + Moving Averages

  • Use 50/200 MA for trend filter
  • Take bullish MACD signals above 50 MA
  • Take bearish MACD signals below 50 MA

MACD + Support/Resistance

  • MACD crossover at support = High-probability buy
  • MACD crossover at resistance = High-probability sell
  • Divergence at key levels = Strongest signals

MACD Settings for Different Styles

Trading StyleFastSlowSignalUse Case
Standard12269Swing trading
Fast8179Active trading
Slow19399Position trading

Common MACD Mistakes

Mistake 1: Trading Every Crossover

Problem: Taking every signal line cross leads to overtrading Solution: Filter with trend direction and price action

Mistake 2: Ignoring the Histogram

Problem: Missing early warning signs Solution: Watch histogram for momentum shifts before crossovers

Mistake 3: Not Confirming with Price

Problem: MACD says buy but price says no Solution: Wait for price confirmation (breakout, bounce, etc.)

Mistake 4: Wrong Timeframe

Problem: Using hourly MACD for swing trades Solution: Match MACD timeframe to your trading timeframe

MACD Quick Reference

SignalConditionAction
Bullish crossoverMACD crosses above signalLook to buy
Bearish crossoverMACD crosses below signalLook to sell
Bullish centerlineMACD crosses above zeroTrend is up
Bearish centerlineMACD crosses below zeroTrend is down
Bullish divergencePrice low + MACD higher lowReversal possible
Bearish divergencePrice high + MACD lower highReversal possible
Growing histogramBars increasingMomentum building
Shrinking histogramBars decreasingMomentum fading

Using MACD as a System

MACD combines trend and momentum into one read. Signal line crossovers give you entries and exits. Centerline crosses confirm trend direction. Histogram changes warn you before crossovers happen. Divergences flag reversals. None of these signals work in isolation; you need price action and volume to confirm.

SwingFolio lets you tag trades by MACD setup (crossover, divergence, histogram reversal) and compare performance across signal types. Use the data to cut the setups that lose money and double down on the ones that work.

Share this article

Share:

Ready to improve your swing trading?

Track your trades, follow your strategies, and get AI-powered insights to become a better trader.

Related Articles