Free during beta

Stop reading patterns alone — let AI co-pilot the chart.

Sign up free, no card. Full access to every analysis tool while we're in beta.

  • Screenshot → analysis
  • Market Assistant chat
  • F-Score & moat
  • Pattern alerts

MACD Complete Guide

Moving Average Convergence Divergence

Technical analysis taxonomy: Trend, Momentum, Volatility, Volume, Key Levels, Patterns, Signals, Advanced Structure.

TrendParams: fast=12, slow=26, signal=9

Quick Answer

MACD helps compare short-term and longer-term moving-average momentum through its line, signal line, and histogram. Compare crossovers and divergences with the prevailing trend, price structure, and volume. It can highlight momentum changes, but it is not a standalone decision rule.

Also known as:MACDMoving Average Convergence Divergence平滑异同移动平均线MACD HistogramMACD Indicator

What is MACD?

The Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator developed by Gerald Appel in the late 1970s. It shows the relationship between two exponential moving averages (EMAs) of a security's price. The MACD line is calculated by subtracting the 26-period EMA from the 12-period EMA. A 9-period EMA of the MACD line, called the signal line, is then plotted on top. The histogram represents the difference between the MACD line and the signal line. Analysts review crossovers, divergences, and histogram changes as context for momentum shifts.

Interpretation

Developed by Gerald Appel, the MACD serves as a sophisticated gauge of momentum and trend structure. John Murphy highlights its utility in identifying trend strength by analyzing the interaction between short-term and long-term exponential moving averages. In trending regimes, the divergence of the MACD line from the zero line reflects accelerating momentum, confirming the strength of the underlying price structure. Conversely, during range-bound phases, the indicator frequently oscillates around the zero line, where crossovers lose directional significance—a phenomenon Bollinger notes as typical when volatility contracts. True divergence occurs when price action establishes a new extreme while the MACD histogram or line fails to mirror this movement, signaling waning momentum and potential trend exhaustion. Convergence, where the indicator aligns with price direction, validates the sustainability of the current trend. Rather than generating isolated signals, the MACD contextualizes market state: high absolute values indicate overextended conditions, while zero-line crossings mark shifts in the dominant medium-term bias.

Formula

MACD = EMA_{12} - EMA_{26}, \quad Signal = EMA_9(MACD)

Parameter Tuning

The standard MACD configuration of (12, 26, 9), established by Gerald Appel, serves as a balanced baseline for trend analysis. Adjusting these parameters alters the indicator's sensitivity. Shorter settings, such as (5, 13, 5), increase responsiveness to price changes, allowing analysts to identify potential momentum shifts earlier. However, this heightened sensitivity introduces substantial market noise, leading to frequent whipsaws. Conversely, longer settings, such as (19, 39, 9), act as a low-pass filter, smoothing out minor fluctuations to highlight major, sustained trends, though at the cost of increased lag. In terms of timeframes, John Murphy notes that standard parameters perform well on daily charts. For highly volatile intraday charts, extending the parameters can help filter out noise, whereas weekly charts may require standard or slightly shorter settings to prevent excessive lag. Adjusting the signal line further refines the frequency of crossovers, balancing the trade-off between timely context and false indications.

Signal Types

Golden Cross

MACD histogram crosses above zero — bullish momentum shift

Death Cross

MACD histogram crosses below zero — bearish momentum shift

Bullish Divergence

Price makes lower low while MACD makes higher low — potential reversal

Common Mistakes

  • Practitioners often mistakenly treat MACD line crossovers as standalone execution signals, ignoring the broader trend context emphasized by Gerald Appel and John Murphy.
  • Another common error is interpreting divergence between price and the MACD histogram as an immediate reversal signal, whereas Murphy notes it merely indicates waning momentum and can persist during strong trends.
  • Analysts frequently apply this trend-following indicator in sideways or ranging markets, leading to frequent whipsaws, a limitation that can be mitigated by combining it with John Bollinger's volatility bands.
  • Many practitioners confuse the peak of the MACD histogram with the actual price peak, failing to realize that the histogram merely measures the acceleration of the distance between the two exponential moving averages.
  • Users often overlook the inherent lag of the indicator, which stems from its reliance on exponential moving averages, a characteristic contrasted with faster momentum oscillators like J. Welles Wilder's Relative Strength Index (1978).

Combination Strategies

  • RSIThe Relative Strength Index (RSI), developed by J. Welles Wilder (1978), is a momentum oscillator that measures the speed and change of price movements. While Gerald Appel's MACD is a trend-following indicator that can lag during consolidation, the RSI excels at identifying overbought or oversold conditions within a bounded scale. Combining these two tools allows analysts to cross-verify momentum shifts. For instance, when the MACD line crosses above the signal line while the RSI simultaneously rises from oversold territory, it suggests a strengthening upward momentum. Conversely, when both indicators exhibit bearish divergence against price, it provides stronger evidence of potential trend exhaustion. This combination helps mitigate the lagging nature of moving averages by incorporating a bounded oscillator, offering a more comprehensive view of market dynamics.
  • BOLLINGER-BANDSBollinger Bands, created by John Bollinger, are a volatility indicator consisting of a middle simple moving average and two standard deviation bands. While MACD focuses on trend direction and momentum, it does not inherently measure market volatility or price extremes relative to historical variance. Integrating Bollinger Bands addresses this limitation. When the MACD histogram shows expanding momentum, analysts can look to Bollinger Bands to see if the price is hugging the upper or lower band, indicating a strong trend. Additionally, the "Bollinger Squeeze" indicates low volatility, which often precedes a significant price expansion; a subsequent MACD crossover can help identify the direction of the emerging trend. This synergy combines trend, momentum, and volatility.
  • OBVOn-Balance Volume (OBV), popularized by Joseph Granville and frequently discussed by John Murphy in technical analysis literature, is a cumulative volume-based indicator. Because Gerald Appel's MACD is derived solely from price data, it can occasionally generate false signals during low-volume market environments. OBV complements MACD by adding volume confirmation to price trends. When MACD indicates a bullish trend, a rising OBV confirms that volume is supporting the price movement, suggesting a sustainable trend. Conversely, if MACD shows upward momentum but OBV is declining, it reveals a divergence where price increases lack volume support, indicating potential structural weakness. Combining price-based momentum with volume flow provides a more complete analytical framework for market participants.

Historical Context

The Moving Average Convergence Divergence (MACD) was developed by Gerald Appel in 1979, emerging during a transformative era for quantitative technical analysis. This period also saw the introduction of J. Welles Wilder’s Relative Strength Index (RSI) in 1978, reflecting a broader industry shift toward mathematical charting models. Originally designed for stock market cycles, Appel’s indicator gained widespread recognition through his publications, including "The Moving Average Convergence-Divergence Method" (1979). In 1986, Thomas Aspray added the MACD histogram, a crucial enhancement that anticipated momentum shifts. Prominent technical analysts like John Murphy and John Bollinger integrated the MACD into their foundational frameworks, cementing its status as a staple trend-following tool. Murphy highlighted its utility in multi-timeframe analysis, while Bollinger often paired it with volatility bands. Over the decades, the MACD evolved from manual calculations into a cornerstone of algorithmic trading systems, valued for its ability to visualize the relationship between short-term and long-term price momentum.

Related Indicators

FAQ

What are the default MACD settings?

The standard settings are 12, 26, 9 — representing the fast EMA period, slow EMA period, and signal line period respectively.

How do I read a MACD golden cross?

A golden cross occurs when the MACD line crosses above the signal line (histogram turns positive). It suggests bullish momentum is building.

Is MACD a leading or lagging indicator?

MACD is a lagging indicator because it is based on moving averages. However, the histogram can provide early signals of momentum shifts.

Compare With

Reviewed by KlineVision Research Team, CFA Charterholder, 10+ years quantitative research· Apr 22, 2026

Parts of this page (FAQ, introductions) are AI-assisted. Core data and statistics are algorithmically computed. All pattern definitions are human-reviewed.

Data source: EODHD · Last updated: Apr 22, 2026

Disclaimer: This page is based on publicly available market data and algorithmically generated technical analysis. It does not constitute investment advice. Historical pattern statistics do not guarantee future performance. Invest at your own risk.

Data source: EODHD · © 2026 KlineVision AI