Moving Average Convergence Divergence - MACD - is one of the most versatile indicators in technical analysis. Developed by Gerald Appel in the late 1970s, MACD is both a trend-following and momentum indicator. It captures the relationship between two moving averages, extracts the rate of change between them, and presents it in a format that makes momentum shifts visually obvious before they become apparent in price alone.
The Components of MACD
MACD consists of three visual elements plotted in an indicator sub-window below the price chart:
1. MACD Line (often blue): = 12 EMA − 26 EMA When 12 EMA > 26 EMA, MACD line is above zero (bullish momentum). When 12 EMA < 26 EMA, MACD line is below zero (bearish momentum). 2. Signal Line (often red or dashed): = 9 EMA of the MACD line. Acts as a smoothed trigger line for MACD signals. 3. Histogram: = MACD Line − Signal Line. Shows the gap between MACD and Signal. Bar height reflects the strength of the divergence.
MACD Crossovers
There are two types of crossover signals in MACD analysis: signal line crosses and zero line crosses.
A signal line crossover occurs when the MACD line crosses above the Signal line (bullish signal line cross) or below it (bearish signal line cross). This is a fast, responsive signal indicating that short-term momentum is shifting in that direction. A zero line crossover occurs when the MACD line crosses above or below the horizontal zero line - confirming that the 12 EMA has crossed the 26 EMA in price.
The MACD Histogram
The MACD histogram is the most sensitive component of the indicator. It plots the difference between the MACD line and the Signal line. When the histogram is expanding (bars getting taller), momentum is accelerating. When the histogram is contracting (bars getting shorter toward the zero line), momentum is decelerating - even if the MACD line has not yet crossed the Signal line.
A contracting histogram is an early warning of an impending crossover. When the histogram peaks and begins declining while price is still rising, momentum is already decelerating. Traders who watch the histogram get the earliest possible indication of momentum shifts.
MACD Divergence
Like RSI, MACD produces powerful divergence signals. When price makes a higher high but the MACD line or histogram makes a lower high, bullish momentum is weakening even as price rises - a bearish divergence. When price makes a lower low but MACD makes a higher low, downward momentum is decelerating - a bullish divergence.
Combining MACD with Trend
MACD is most effective when used as a momentum trigger in the direction of a higher-timeframe trend. In a daily uptrend (price above 200 EMA), look for bullish MACD signal line crossovers that occur below or near the zero line on the 4-hour chart. These represent the resumption of the larger trend following a pullback - the highest-probability application of the tool.