Skip to content
  • Home
  • Markets
    • Stock Market Today
    • S&P 500
    • Dow Jones
    • Nasdaq
    • NYSE
    • AMEX
    • Forex
  • Movers
    • Premarket Movers
    • Today’s Movers
    • After Hours
  • ⭐ PreMarket
  • ⭐ Watchlists
  • Metals
    • Metal Prices
    • Gold Price
    • Silver Price
    • Copper Price
    • Platinum Price
    • Palladium Price
  • Crypto
  • Learn
    • Investing 101
    • Stock Basics
    • Learn Options Trading
      • Options Chain
      • Calls and Puts
      • Strike Prices
      • Expirations
      • Moneyness
      • Order Actions
      • Greeks Beginner
      • Bid & Ask
      • Volume and Open Interest
      • Selecting a Broker
    • Learn Stock Charts
      • CandleSticks (Bullish)
      • CandleSticks (Bearish)
      • Chart Patterns
      • Technical Indicators
      • Chart Overlays
  • Candlesticks – Bearish Home
  • Candlesticks – Bullish Home
  • Encyclopedia
  • Learn More About Finance and the Stock Market
  • Learn to Trade
  • Options Trading
  • Options Trading Infographic
  • testing this page
  • Learn to Trade Stocks
  • The Basics of Stocks
  • Brokers and Online Trading
  • Chart Overlays
  • Technical Indicators
  • Candlestick Charts
Search...
⌘ K

Bullish Candles

36
  • Bullish Three Line Strike
  • Bullish Separating Lines
  • Bullish Inverted Hammer
  • Bullish Harami
  • Bullish Hammer
  • Bullish Belt Hold
  • Bullish Upside Gap Three Methods
  • Bullish Unique Three River Bottom
  • Bullish Tri Star
  • Bullish Three Stars in the South
  • Bullish Stick Sandwich
  • Bullish Meeting Lines
  • Bullish Matching Low
  • Bullish Long Legged Doji
  • Bullish Ladder Bottom
  • Bullish Homing Pigeon
  • Bullish Harami
  • Bullish Gravestone Doji
  • Bullish Engulfing
  • Bullish Doji Star
  • Bullish Breakaway
  • Bullish Dragonfly Doji
  • Bullish Doji Star
  • Bullish Breakaway
  • Bullish Three White Soldiers
  • Bullish Three Outside Up
  • Bullish Three Inside Up
  • Bullish Side-by-side White Lines
  • Bullish Rising Three Methods
  • Bullish Piercing Line
  • Bullish Morning Star
  • Bullish Morning Doji Star
  • Bullish Mat Hold
  • Bullish Kicking
  • Bullish Concealing Baby Swallow
  • Bullish Abandoned Baby

Bearish Candles

34
  • Bearish Thrusting
  • Bearish Three Line Strike
  • Bearish Shooting Star
  • Bearish Separating Lines
  • Bearish Harami
  • Bearish Hanging Man
  • Bearish Belt Hold
  • Bearish Two Crows
  • Bearish Tri Star
  • Bearish On Neck
  • Bearish Meeting Lines
  • Bearish Long Legged Doji
  • Bearish In Neck
  • Bearish Harami Cross
  • Bearish Gravestone Doji
  • Bearish Dragonfly Doji
  • Bearish Engulfing
  • Bearish Dragonfly Doji
  • Bearish Engulfing
  • Bearish Downside Gap Three Methods
  • Bearish Downside Tasuki Gap
  • Bearish Deliberation
  • Bearish Doji Star
  • Bearish Breakaway
  • Bearish Advance Block
  • Bearish Upside Gap Two Crows
  • Bearish Three Outside Down
  • Bearish Three Inside Down
  • Bearish Evening Star
  • Bearish Kicking
  • Bearish Falling Three Methods
  • Bearish Evening Doji Star
  • Bearish Dark Cloud Cover
  • Bearish Abandoned Baby

Chart Patterns

15
  • Cup and Handle Pattern
  • Double Bottom Pattern
  • Double Top Pattern
  • Flag Pattern (Bear)
  • Flag Pattern (Bull)
  • Head and Shoulders
  • Head and Shoulders (Inverse)
  • Price Channel (Ascending)
  • Price Channel (Descending)
  • Triangle Pattern (Ascending)
  • Triangle Pattern (Descending)
  • Triple Bottom Pattern
  • Triple Top Pattern
  • Wedge Pattern (Falling)
  • Wedge Pattern (Rising)

Indicators

17
  • ADX (Average Directional Index)
  • ATR (Average True Range)
  • Bollinger Bands
  • Ichimoku Cloud
  • Keltner Channels
  • MACD (Moving Average Convergence Divergence)
  • MFI (Money Flow Index)
  • Moving Averages
  • OBV (On Balance Volume)
  • Parabolic SAR
  • Pivot Points
  • RSI (Relative Strength Index)
  • Stochastic Oscillator
  • SuperTrend
  • TRIX
  • Volume Profile
  • Williams %R
View Categories
  • Home
  • Learn
  • Charts
  • Indicators
  • MACD (Moving Average Convergence Divergence)

MACD (Moving Average Convergence Divergence)

adminLearn

9 min read

Display Type: Oscillator | Complexity: Beginner to Intermediate | Best For: Momentum Analysis, Trend Confirmation, Divergence Detection, Entry/Exit Signals

MACD (Moving Average Convergence Divergence) is one of the most widely used and versatile technical indicators in trading. Developed by Gerald Appel in the 1970s, this momentum oscillator combines trend-following and momentum characteristics to provide traders with insights into both trend direction and momentum strength. MACD excels at identifying trend changes, momentum shifts, and potential entry/exit points across all timeframes and markets.

What is MACD? #

MACD is a momentum oscillator that consists of three main components displayed in a separate window below the price chart. The indicator tracks the relationship between two exponential moving averages (EMAs) of a security’s price, creating a versatile tool that can identify trend direction, momentum changes, and potential reversal points.

The MACD line oscillates above and below a zero line, with crossovers, divergences, and signal line interactions providing multiple layers of analysis. Unlike pure trend-following indicators, MACD captures both the speed of price movement and its direction, making it invaluable for timing entries and exits in trending markets while also spotting potential reversals.

Key Uses: #

  • Momentum Analysis: Measure the strength and speed of price movements
  • Trend Confirmation: Validate trend direction and sustainability
  • Divergence Detection: Spot potential reversals before price confirms
  • Entry/Exit Timing: Precise signal generation for trade execution
  • Trend Change Identification: Early warning of shifting market dynamics
  • Overbought/Oversold Levels: Identify extreme momentum conditions

How MACD Works #

MACD Formula: #

MACD Line Calculation: MACD Line = 12-period EMA – 26-period EMA

Signal Line Calculation: Signal Line = 9-period EMA of MACD Line

MACD Histogram Calculation: Histogram = MACD Line – Signal Line

Default Parameters: #

  • Fast EMA: 12 periods
  • Slow EMA: 26 periods
  • Signal Line: 9-period EMA of MACD Line
  • Source: Close price

MACD Components: #

MACD Line (Main Line):

  • Difference between fast and slow EMAs
  • Oscillates above and below zero line
  • Positive values indicate upward momentum
  • Negative values indicate downward momentum

Signal Line:

  • Smoothed version of MACD line
  • Acts as trigger for buy/sell signals
  • Crossovers with MACD line generate signals

Histogram:

  • Visual representation of MACD-Signal difference
  • Shows momentum acceleration/deceleration
  • Peaks and valleys indicate momentum changes

Zero Line:

  • Centerline where MACD equals zero
  • Crossovers indicate trend changes
  • Above zero = bullish bias, Below zero = bearish bias

Signal Generation: #

  • Bullish Signal: MACD line crosses above signal line
  • Bearish Signal: MACD line crosses below signal line
  • Trend Change: MACD line crosses above/below zero line
  • Divergence: Price and MACD move in opposite directions

MACD Characteristics #

Dual Nature #

MACD combines trend and momentum analysis:

  • Trend Component: Zero line crossovers show trend direction
  • Momentum Component: Signal line crossovers show momentum shifts
  • Speed Component: Histogram shows rate of momentum change

Leading vs. Lagging #

  • Leading Aspects: Divergences can predict reversals
  • Lagging Aspects: Crossover signals confirm price movements
  • Balance: Provides both early warnings and confirmations

Sensitivity Levels #

  • Fast Settings: More signals, more false positives
  • Slow Settings: Fewer signals, higher reliability
  • Standard Settings: Good balance for most markets

Standard MACD Settings #

Default Configuration: #

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

Settings by Trading Style: #

Trading Style Fast EMA Slow EMA Signal Characteristics Best For
Scalping 5 13 5 Very responsive Quick momentum
Day Trading 12 26 9 Standard setting Intraday trends
Swing Trading 12 26 9 Balanced approach Multi-day moves
Position Trading 19 39 14 Smooth signals Long-term trends

Market-Specific Adjustments: #

Forex Markets:

  • Standard: 12, 26, 9 (works well due to 24-hour nature)
  • Consider major session overlaps for timing

Stock Markets:

  • Standard: 12, 26, 9 (optimal for daily charts)
  • Earnings season may require interpretation adjustments

Crypto Markets:

  • Faster: 8, 21, 5 (higher volatility adaptation)
  • 24/7 trading allows standard settings

Commodity Markets:

  • Standard to Slow: 12, 26, 9 or 19, 39, 14
  • Account for contract rollover periods

Trading Strategies #

1. Basic MACD Signal Strategy #

Setup: Use MACD crossovers for trend following Buy Signal:

  • MACD line crosses above signal line
  • Preferably above zero line for stronger signal
  • Enter at crossover or next candle open

Sell Signal:

  • MACD line crosses below signal line
  • Preferably below zero line for stronger signal
  • Enter at crossover or next candle open

Risk Management:

  • Stop loss: Recent swing high/low
  • Target: Previous resistance/support levels

2. MACD Zero Line Strategy #

Setup: Trade zero line crossovers for major trend changes Long Entry:

  • MACD line crosses above zero line
  • Confirms transition to bullish trend
  • Signal line should also be rising

Short Entry:

  • MACD line crosses below zero line
  • Confirms transition to bearish trend
  • Signal line should also be falling

Advantages:

  • Catches major trend changes early
  • Fewer but higher-quality signals
  • Natural stop placement below/above zero

3. MACD Divergence Strategy #

Setup: Identify divergences between price and MACD Bullish Divergence:

  • Price makes lower lows
  • MACD makes higher lows
  • Enter on MACD signal line crossover

Bearish Divergence:

  • Price makes higher highs
  • MACD makes lower highs
  • Enter on MACD signal line crossover

Confirmation:

  • Wait for actual crossover signal
  • Use additional indicators for verification
  • Set tight stops due to reversal nature

4. MACD Histogram Strategy #

Setup: Use histogram peaks and valleys for momentum timing Momentum Acceleration:

  • Histogram expanding = momentum increasing
  • Enter in direction of histogram expansion
  • Exit when histogram starts contracting

Momentum Deceleration:

  • Histogram contracting = momentum decreasing
  • Prepare for potential reversal
  • Tighten stops or take partial profits

Entry Rules:

  • Histogram moving away from zero = trend strengthening
  • Histogram moving toward zero = trend weakening

Combining MACD with Other Indicators #

MACD + RSI #

Strategy: Combine momentum with overbought/oversold levels Buy Setup:

  • MACD bullish crossover
  • RSI above 30 but below 70 (not overbought)
  • Confirms momentum without extreme conditions

Sell Setup:

  • MACD bearish crossover
  • RSI below 70 but above 30 (not oversold)
  • Confirms momentum shift from neutral zone

MACD + Moving Averages #

Trend Confirmation System:

  • 50 EMA for medium-term trend
  • 200 EMA for long-term trend
  • MACD for momentum and timing

Rules:

  • Trade MACD signals only in direction of MA trend
  • Strongest signals when all components align
  • Use MAs as dynamic support/resistance

MACD + Support/Resistance #

Level-Based Entries:

  • Identify key support/resistance levels
  • Wait for MACD signal near these levels
  • Higher probability trades at confluence zones

Breakout Confirmation:

  • MACD crossover + level breakout = strong signal
  • Volume confirmation adds reliability
  • Failed breakouts often show MACD divergence

MACD + Stochastic #

Dual Oscillator System:

  • MACD for trend momentum
  • Stochastic for cycle timing
  • Enter when both oscillators align

Signal Quality:

  • Both bullish = High probability long
  • Both bearish = High probability short
  • Divergence between oscillators = Caution

Market Condition Analysis #

Trending Markets #

MACD Behavior:

  • Clear separation between MACD and signal lines
  • Histogram shows consistent direction
  • Zero line crossovers align with price trends

Trading Approach:

  • Follow MACD crossover signals aggressively
  • Use zero line as trend filter
  • Trail stops based on MACD behavior

Ranging Markets #

MACD Behavior:

  • Frequent crossovers around zero line
  • Histogram oscillates rapidly
  • Many false signals generated

Trading Approach:

  • Reduce position sizes
  • Focus on divergences at range extremes
  • Wait for clear trend establishment

Volatile Markets #

MACD Behavior:

  • Extreme readings in histogram
  • Wide swings in MACD values
  • Signals may be delayed but more reliable

Trading Approach:

  • Use wider stops
  • Wait for multiple confirmations
  • Focus on major crossovers only

Advanced MACD Techniques #

MACD-Based Moving Averages #

Construction:

  • Apply moving average to MACD line
  • Smooths out noise while preserving signals
  • Creates cleaner trend identification

Application:

  • 5-period MA of MACD for smoother signals
  • Crossovers with signal line still valid
  • Reduces whipsaws in choppy markets

Multiple Timeframe MACD #

Strategy: Align MACD signals across timeframes

  • Higher Timeframe: Overall momentum direction
  • Lower Timeframe: Precise entry timing
  • Alignment: Increases signal probability

Example:

  • Daily MACD: Bullish (momentum direction)
  • 4-Hour MACD: Bullish (confirmation)
  • 1-Hour MACD: Entry timing

MACD Histogram Divergence #

Advanced Divergence Analysis:

  • Price vs. Histogram instead of MACD line
  • Often provides earlier signals
  • More sensitive to momentum changes

Types:

  • Regular Divergence: Price and histogram opposite directions
  • Hidden Divergence: Trend continuation signals
  • Exaggerated Divergence: Extreme histogram readings

MACD Zero Line Rejection #

Strategy: Trade rejections from zero line Setup:

  • MACD approaches zero line but doesn’t cross
  • Strong bounce/rejection from zero
  • Indicates trend continuation

Entry:

  • Enter in direction of rejection
  • Stop beyond zero line
  • Target previous swing extremes

Common MACD Mistakes #

Mistake 1: Trading Every Crossover #

Problem: Following all MACD signal line crossovers Solution: Filter signals with trend context and market structure

Mistake 2: Ignoring Zero Line Context #

Problem: Not considering MACD position relative to zero Solution: Prioritize signals that align with zero line bias

Mistake 3: Missing Divergence Significance #

Problem: Not recognizing divergence importance Solution: Learn to spot and trade divergences systematically

Mistake 4: Wrong Timeframe Settings #

Problem: Using inappropriate MACD settings for trading style Solution: Match MACD parameters to your timeframe and goals

Mistake 5: No Confirmation Required #

Problem: Acting on MACD signals without additional confirmation Solution: Always use MACD with price action or other indicators

MACD Settings by Timeframe #

Timeframe Fast EMA Slow EMA Signal Signal Quality Trading Style
1-minute 5 13 5 High frequency Scalping
5-minute 8 21 5 Active signals Day trading
15-minute 12 26 9 Standard Intraday swings
1-hour 12 26 9 Balanced Swing entries
4-hour 12 26 9 Smooth Position timing
Daily 12 26 9 Very smooth Long-term trends
Weekly 19 39 14 Major trends Investment decisions

MACD Optimization #

Backtesting Considerations: #

  • Test different EMA combinations (5,13,5 to 19,39,14)
  • Vary signal line periods (5-14)
  • Consider market-specific adjustments
  • Factor in slippage and commissions

Performance Metrics: #

  • Signal frequency vs. profitability
  • Drawdown during ranging markets
  • Divergence signal success rates
  • Risk-adjusted returns by timeframe

Optimization Guidelines: #

  • Faster settings = More signals, more noise
  • Slower settings = Fewer signals, higher reliability
  • Market volatility should influence parameter choice
  • Always test across multiple market conditions

FAQs #

How accurate is the MACD indicator? #

MACD accuracy varies by market condition and settings. It performs best in trending markets (65-75% accuracy) and excels at divergence detection (70-80% accuracy). However, it struggles in choppy, sideways markets where false signals are common.

What are the best MACD settings? #

The standard settings (12, 26, 9) work well for most situations and timeframes. For faster signals, try (8, 21, 5). For smoother signals, use (19, 39, 14). Always backtest settings on your specific market and timeframe.

How do you read MACD histogram? #

The histogram shows the difference between MACD line and signal line. Expanding histogram = accelerating momentum. Contracting histogram = decelerating momentum. Histogram crossing zero often precedes MACD line crossovers.

What’s the difference between MACD and RSI? #

MACD is unbounded and focuses on trend momentum, while RSI is bounded (0-100) and shows overbought/oversold conditions. MACD better captures trend changes; RSI better identifies reversal zones. They complement each other well.

How do you spot MACD divergences? #

Compare price highs/lows with MACD highs/lows. Bullish divergence: price makes lower lows while MACD makes higher lows. Bearish divergence: price makes higher highs while MACD makes lower highs. Divergences often precede reversals.

Can MACD predict market reversals? #

MACD can’t predict reversals with certainty, but divergences provide early warning signals. Combine divergence analysis with support/resistance levels, volume, and price action for higher probability reversal trades.

Why does MACD lag price movements? #

MACD uses exponential moving averages, which are based on historical prices. This creates a natural lag. However, this lag filters out noise and provides more reliable signals than real-time oscillators.

Tips for Success #

  1. Master the Components: Understand MACD line, signal line, and histogram relationships before trading
  2. Use Zero Line Context: Consider MACD position relative to zero line for signal strength assessment
  3. Spot Divergences Early: Learn to identify divergences as they develop, not after completion
  4. Combine with Price Action: Always confirm MACD signals with candlestick patterns and support/resistance
  5. Filter Ranging Markets: Avoid MACD signals during obvious sideways price action
  6. Multiple Timeframe Analysis: Check higher timeframe MACD for overall momentum context
  7. Histogram Insights: Use histogram for momentum acceleration/deceleration analysis
  8. Patience with Signals: Wait for clear crossovers rather than anticipating them
  9. Risk Management First: Never rely on MACD alone; always use proper stops and position sizing
  10. Practice Pattern Recognition: Study how MACD behaves in different market conditions

Conclusion #

MACD stands as one of the most comprehensive and reliable momentum indicators available to traders. Its unique combination of trend-following and oscillating characteristics makes it invaluable for analyzing market momentum, confirming trends, and identifying potential reversal points through divergence analysis.

The indicator’s strength lies in its versatility—it works effectively across all timeframes and markets while providing multiple layers of analysis through its three components. From basic crossover signals to advanced divergence patterns, MACD offers trading opportunities for both novice and experienced traders.

Success with MACD comes from understanding its dual nature as both a trend and momentum indicator. While crossover signals provide clear entry and exit points, the real power of MACD emerges when traders learn to interpret divergences, histogram patterns, and zero line dynamics within the context of overall market structure.

Remember: MACD is most effective when used as part of a comprehensive trading approach that includes proper risk management, price action analysis, and market context awareness. The indicator’s true value lies not in any single signal, but in its ability to provide consistent, reliable insights into market momentum and trend dynamics across varying market conditions.

Momentum Indicator, Technical Indicator, Trend Indicator
Keltner ChannelsMFI (Money Flow Index)
Table of Contents
  • What is MACD?
  • Key Uses:
  • How MACD Works
    • MACD Formula:
    • Default Parameters:
    • MACD Components:
    • Signal Generation:
  • MACD Characteristics
    • Dual Nature
    • Leading vs. Lagging
    • Sensitivity Levels
  • Standard MACD Settings
    • Default Configuration:
    • Settings by Trading Style:
    • Market-Specific Adjustments:
  • Trading Strategies
    • 1. Basic MACD Signal Strategy
    • 2. MACD Zero Line Strategy
    • 3. MACD Divergence Strategy
    • 4. MACD Histogram Strategy
  • Combining MACD with Other Indicators
    • MACD + RSI
    • MACD + Moving Averages
    • MACD + Support/Resistance
    • MACD + Stochastic
  • Market Condition Analysis
    • Trending Markets
    • Ranging Markets
    • Volatile Markets
  • Advanced MACD Techniques
    • MACD-Based Moving Averages
    • Multiple Timeframe MACD
    • MACD Histogram Divergence
    • MACD Zero Line Rejection
  • Common MACD Mistakes
    • Mistake 1: Trading Every Crossover
    • Mistake 2: Ignoring Zero Line Context
    • Mistake 3: Missing Divergence Significance
    • Mistake 4: Wrong Timeframe Settings
    • Mistake 5: No Confirmation Required
  • MACD Settings by Timeframe
  • MACD Optimization
    • Backtesting Considerations:
    • Performance Metrics:
    • Optimization Guidelines:
  • FAQs
    • How accurate is the MACD indicator?
    • What are the best MACD settings?
    • How do you read MACD histogram?
    • What's the difference between MACD and RSI?
    • How do you spot MACD divergences?
    • Can MACD predict market reversals?
    • Why does MACD lag price movements?
  • Tips for Success
  • Conclusion
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest

Copyright © 2025 | Powered by Astra WordPress Theme

Scroll to Top