How MACD Works
7 min read
MACD, short for Moving Average Convergence Divergence, is a widely used momentum indicator built from the relationship between two moving averages of price.
It's popular precisely because it condenses trend direction and momentum into one chart element, making it one of the first indicators many traders add once they move beyond raw price action alone.
The three components
MACD consists of the MACD line (the difference between two exponential moving averages), a signal line (a moving average of the MACD line itself), and a histogram showing the gap between the two. Together they're designed to highlight both the direction and the strength of momentum.
The two exponential moving averages behind the MACD line are typically a faster and a slower one, so the MACD line itself effectively tracks how far the short-term trend has pulled away from the longer-term one.
- MACD line: The difference between a fast and a slow exponential moving average.
- Signal line: A moving average of the MACD line, used to spot changes in its direction.
- Histogram: Visualises the gap between the MACD line and the signal line.
Reading crossovers
When the MACD line crosses above the signal line, it's often read as a bullish signal, and a cross below as bearish - similar in concept to a moving average crossover, but built specifically to highlight changes in momentum.
Because MACD is derived from moving averages, it shares their main limitation - crossovers can lag a genuine turn in price, and can also generate false signals during a choppy, range-bound market.
- Bullish crossover: MACD line crosses above the signal line.
- Bearish crossover: MACD line crosses below the signal line.
- Lag: Being built from moving averages, crossovers confirm a move rather than predict it.
Using the histogram
The histogram can highlight momentum shifts before a crossover actually occurs, since it shrinks as the two lines converge. A shrinking histogram during a trend is sometimes watched as an early hint that momentum is fading, even before a full crossover confirms it.
Some traders also watch for divergence between the histogram and price - for example, price making a new high while the histogram makes a lower peak - as a warning that the current move may be losing strength.
- Shrinking histogram: An early hint that momentum may be fading before a crossover confirms it.
- Divergence: Price and the histogram moving in opposite directions, often read as a warning sign.
- Confirmation tool: Best used alongside price structure rather than as a standalone signal.
These indicators are built into MetaTrader 5 - try them on live charts with a free Pairmetric demo account.
Economic Calendar Open Demo AccountStart Trading in 3 Simple Steps
Trade the Markets with Pairmetric
Our Payment Methods
Please review our Legal Documents to understand the risks involved before you invest. See your rights and responsibilities as a retail client.