TradingTeaching Press · Dubai, UAE Trading is high-risk. Check local laws, your residency rules and your finances. Risk warning
📊 Technical Analysis

MACD Indicator

Learn the MACD indicator: MACD signals, crossovers, divergences, and strategies for trend and momentum trading.

4 min read TradingTeaching Team

The Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages. It's versatile for both trend and momentum analysis.

What is MACD?

Definition

MACD:

  • Trend-following momentum indicator
  • Based on moving average difference
  • Created by Gerald Appel
  • Shows convergence/divergence

Components

Three Parts:

  1. MACD Line
  2. Signal Line
  3. Histogram

MACD Components Explained

MACD Line

Calculation:

  • 12-period EMA minus 26-period EMA
  • Shows momentum direction
  • Main component

Signal Line

Calculation:

  • 9-period EMA of MACD line
  • Smoother than MACD
  • Trigger for signals

Histogram

Calculation:

  • MACD line minus signal line
  • Visual momentum display
  • Shows convergence/divergence

Standard Settings

Default Parameters

Classic Settings:

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

Alternative Settings

Faster:

  • 5, 13, 6
  • More signals
  • More noise

Slower:

  • 19, 39, 9
  • Fewer signals
  • More reliable

MACD Signals

Signal Line Crossover

Bullish Crossover:

  • MACD crosses above signal line
  • Buy signal
  • Momentum turning up

Bearish Crossover:

  • MACD crosses below signal line
  • Sell signal
  • Momentum turning down

Centerline Crossover

Bullish:

  • MACD crosses above zero
  • Positive momentum
  • Trend confirmation

Bearish:

  • MACD crosses below zero
  • Negative momentum
  • Downtrend confirmation

Divergences

Bullish Divergence:

  • Price makes lower low
  • MACD makes higher low
  • Potential reversal up

Bearish Divergence:

  • Price makes higher high
  • MACD makes lower high
  • Potential reversal down

Trading with MACD

Basic Strategy

Long Entry:

  • MACD crosses above signal
  • Preferably above zero line
  • Or rising toward zero

Short Entry:

  • MACD crosses below signal
  • Preferably below zero line
  • Or falling toward zero

Histogram Strategy

Long Signal:

  • Histogram crosses above zero
  • Histogram increasing
  • Growing bars

Short Signal:

  • Histogram crosses below zero
  • Histogram decreasing
  • Growing negative bars

Zero Line Strategy

Strong Long:

  • MACD above zero
  • Signal line crossover up
  • Histogram positive

Strong Short:

  • MACD below zero
  • Signal line crossover down
  • Histogram negative

MACD Divergence Trading

Spotting Divergences

Process:

  1. Identify price swing highs/lows
  2. Compare with MACD highs/lows
  3. Look for disagreement
  4. Confirm with other signals

Trading Divergences

Bullish Divergence Trade:

  1. Price makes lower low
  2. MACD makes higher low
  3. Wait for MACD to cross up
  4. Enter long
  5. Stop below recent low

Bearish Divergence Trade:

  1. Price makes higher high
  2. MACD makes lower high
  3. Wait for MACD to cross down
  4. Enter short
  5. Stop above recent high

MACD Histogram Analysis

Histogram Interpretation

Rising Histogram:

  • Above zero: bullish momentum increasing
  • Below zero: bearish momentum fading
  • MACD pulling away from signal

Falling Histogram:

  • Above zero: bullish momentum fading
  • Below zero: bearish momentum increasing
  • MACD falling from signal

Shrinking Bars:

  • Momentum decreasing
  • Potential crossover coming

Histogram Divergence

Often More Sensitive:

  • Histogram divergence appears first
  • Earlier warning
  • Requires confirmation

Advanced MACD Techniques

Multiple Timeframe

Approach:

  • Higher TF MACD for trend
  • Lower TF MACD for entry
  • Aligned signals stronger

MACD + Moving Average

Strategy:

  • MA for trend filter
  • MACD for entries
  • Only take MACD signals with trend

MACD + RSI

Strategy:

  • MACD for trend/momentum
  • RSI for overbought/oversold
  • Confluence improves signals

MACD Strengths

Trend Identification

Advantage:

  • Clear trend direction
  • Above/below zero line
  • Easy to interpret

Momentum Measurement

Advantage:

  • Shows momentum changes
  • Histogram visualizes
  • Early warning signals

Versatility

Advantage:

  • Works on any timeframe
  • Any market
  • Multiple signal types

MACD Limitations

Lagging Nature

Issue:

  • Based on moving averages
  • Signals after move starts
  • Can miss early entries

False Signals

Issue:

  • Whipsaws in choppy markets
  • Not every crossover works
  • Needs confirmation

No Overbought/Oversold

Issue:

  • No fixed extremes
  • Can stay extended
  • Different from RSI

Common MACD Mistakes

Ignoring Trend

Mistake: Taking signals against major trend

Solution: Filter with trend direction

Early Entry

Mistake: Entering before crossover confirms

Solution: Wait for actual cross

Over-reliance

Mistake: Using MACD alone

Solution: Combine with other analysis

Wrong Settings

Mistake: Using same settings everywhere

Solution: Test and adjust for market

MACD Trading Checklist

Before Entry

  • [ ] MACD signal present
  • [ ] Trend direction aligned
  • [ ] Crossover confirmed
  • [ ] Histogram supporting
  • [ ] Stop loss defined
  • [ ] Risk managed

MACD Best Practices

Filter Signals

Methods:

  • Only trade with trend
  • Wait for zero line cross
  • Confirm with price action

Use Proper Timeframes

Match:

  • Day trading: Lower TF
  • Swing trading: Daily/4H
  • Position: Daily/Weekly

Combine Signals

Stronger When:

  • Signal crossover + zero cross
  • Divergence + price pattern
  • Multiple timeframe alignment

Key Takeaways

  • MACD combines trend and momentum
  • Three components: MACD line, signal, histogram
  • Signal line crossover = primary signal
  • Zero line crossover = trend confirmation
  • Divergences warn of potential reversals
  • Histogram shows momentum intensity
  • Works best in trending markets
  • Combine with other indicators

What's Next?

Learn about the Stochastic Oscillator for additional momentum analysis.


This article is for educational purposes only and does not constitute financial advice.

Risk warning. This is education only, not financial, investment, tax or legal advice, and not a recommendation to buy or sell anything. Trading forex, CFDs, stocks, commodities, futures, options and crypto is high-risk; with leverage you can lose more than you deposit, and most retail traders lose money. Before you trade or invest in any form, check the local laws where you are and the rules of your country of residence, and consider your own financial situation; if in doubt, ask a licensed adviser. Past and tested results, and all examples, are for illustration only and do not guarantee future results.

Chart reading, taught step by step

Modules 6 to 9 of the video course cover chart reading, candlestick patterns, support and resistance, and your first indicators. Every pattern is shown on a real chart with the date on it, so you can check it yourself.

See the video course Or start with the book