The MACD indicator, short for Moving Average Convergence Divergence, measures the gap between a fast and a slow moving average and plots it as two lines and a set of bars. When the gap widens, momentum is building in one direction. When it narrows, momentum is fading. Once you know what each part means, the whole panel becomes easy to read.
What does the MACD indicator actually show?
MACD turns two moving averages into a single momentum reading. Price charts show where the market is. MACD shows how quickly the picture is changing, which is why it sits in its own panel under the price chart rather than on top of it.
It was built from the idea behind a moving average: a short-term average reacts fast, a long-term average reacts slowly, and the distance between them tells you whether recent price is pulling away from the longer trend or falling back towards it.
It is one of the trend and momentum tools covered on the trading indicators page. Like every indicator, it describes what price has already done. It does not know what comes next.
What are the three parts of MACD?
A standard MACD panel has three pieces, and each answers a slightly different question.
- The MACD line is the 12-period exponential moving average minus the 26-period exponential moving average
- The signal line is a 9-period exponential moving average of the MACD line itself
- The histogram is the MACD line minus the signal line, drawn as bars
The numbers 12, 26 and 9 are the default settings, and almost every platform uses them. Periods mean candles, so on a daily chart the fast average looks back about 12 days and the slow one about 26 days.
The MACD line is the main reading. The signal line is a smoothed copy of it that lags a little. The histogram simply shows the gap between those two, which makes small changes easier to see.
How is MACD calculated?
Your platform does the arithmetic, but one worked example removes the mystery. These are round, illustrative figures, not a view on any market.
Suppose that on a chart of EUR/USD the 12-period EMA is 1.1050 and the 26-period EMA is 1.1000.
- MACD line = 1.1050 − 1.1000 = 0.0050, or 50 pips
- If the 9-period EMA of recent MACD values is 0.0040, the signal line reads 0.0040
- Histogram = 0.0050 − 0.0040 = 0.0010, a small positive bar
A positive MACD line means the fast average is above the slow one, so recent prices are higher than the longer-term average. The histogram being positive means the MACD line is above its signal line, so momentum is currently stronger than its own recent average.
The size of the MACD number depends on the instrument and the timeframe, so you cannot compare it between a currency pair and gold.
What is the zero line, and why does it matter?
The MACD line oscillates around a horizontal line at zero. When the 12-period and 26-period averages are equal, the MACD line sits exactly at zero.
- Above zero: the fast average is above the slow one, which fits an upward drift
- Below zero: the fast average is below the slow one, which fits a downward drift
- Crossing zero: the two averages have just swapped places, the same event as a moving average crossover
Many traders use the zero line as a simple filter for direction. It tells you which side of the longer trend recent price is on, and nothing more.
How do MACD crossovers work?
The most popular MACD idea is the signal line crossover. When the MACD line crosses above the signal line, the histogram flips from negative to positive and momentum is turning up. When it crosses below, the histogram flips negative and momentum is turning down.
Here is how that might look. Imagine the MACD line is at 0.0030 and the signal line is at 0.0035, so the histogram is −0.0005. Two candles later the MACD line reaches 0.0038 and the signal line is 0.0036, so the histogram is +0.0002. That change from negative to positive is the crossover.
Crossovers have one big weakness: they lag. Both lines are built from averages of past prices, so by the time a cross appears, part of the move has already happened. In a sideways market MACD crosses back and forth many times, and each cross is a false alarm. Reading the market first, with support and resistance levels, helps you tell a trend from a range before you trust any crossover.
What is MACD divergence?
Divergence is when price and MACD disagree. For example, price makes a higher high, but the MACD line makes a lower high. That suggests the push behind the move is weaker than before.
Divergence is a warning that momentum is cooling, not a signal that price must turn. In a strong trend, MACD can show divergence for a long time while price keeps going. Treat it as a reason to look closer, then wait for evidence from price itself, such as a break of a recent level.
What are the limits of MACD?
Knowing where an indicator fails matters as much as knowing how it works.
- It lags, because it is built from moving averages
- It gives many false crosses in quiet, sideways markets
- The default 12, 26, 9 settings suit some instruments and timeframes better than others
- It uses closing prices only, so it ignores what happened inside each candle
Because of these limits, experienced traders rarely use MACD alone. A common approach is to pair it with a different type of tool, for example the RSI indicator, and to confirm with price action. Combining indicators of the same type, such as two momentum tools, mostly repeats the same information.
How can you practise reading MACD?
The quickest way to learn MACD is to watch it on a chart without risking money. Open a demo account and add MACD from the indicators menu in MetaTrader 5, available on Windows, macOS, Android and iOS. DMA Capitals offers MetaTrader 5, and the MetaTrader 5 platform page explains how to get started.
A simple practice routine:
- Add MACD with the default 12, 26, 9 settings to a daily chart
- Scroll back and mark every signal line crossover
- Note which ones led to a clear move and which faded in a range
- Repeat on a different timeframe and compare
Keep notes as you go. After a few dozen examples you will see for yourself when MACD helps and when it does not. When you are ready, the demo account guide shows how to set one up in a few minutes. Remember that trading leveraged products carries a high level of risk, as set out in the risk warning.
This article is general education, not investment advice. CFDs are leveraged products and you can lose more than you expect; read our risk warning.