What is the MACD indicator?
Written by an ex-institutional trader. What the MACD (Moving Average Convergence Divergence) is, shown with a diagram, how the line, signal and histogram work together, how crossovers and divergence are read, and the mistakes to avoid.
Direct answer
MACD, short for Moving Average Convergence Divergence, is a momentum and trend indicator that tracks the relationship between two moving averages of price. It has three parts: the MACD line (the difference between a 12-period and 26-period exponential moving average), the signal line (a 9-period average of the MACD line), and the histogram (the gap between the two). It shows both the direction and the strength of momentum.
The most-watched signal is the crossover: when the MACD line crosses above the signal line, momentum is turning up (bullish); when it crosses below, momentum is turning down (bearish). The histogram shows that momentum building or fading in advance. Like all indicators, MACD lags price and produces false signals in choppy markets, so it works best with the trend, confirmed by price structure, and never as a standalone trigger.
What the MACD is
MACD, short for Moving Average Convergence Divergence, is a momentum and trend indicator that tracks the relationship between two moving averages of price. Created by Gerald Appel in the late 1970s, it shows both the direction of momentum and how strong it is, in a panel below the price chart.
The core idea: when a faster moving average pulls away from a slower one, momentum is building in that direction; when they converge, momentum is fading. MACD packages that relationship into a form that is easy to read at a glance, which is why it sits alongside RSI as one of the two most popular momentum tools.
Disclosure: SatoshiMacro may earn a commission if you open a broker account through links on this page, at no extra cost to you. See our full affiliate disclosure.
The three parts
MACD has three components that work together:
- The MACD line: the difference between the 12-period and 26-period exponential moving averages. This is the main momentum line.
- The signal line: a 9-period average of the MACD line, smoother and slower, used as a trigger.
- The histogram: the gap between the MACD line and the signal line, drawn as bars around a zero line.
Reading them together: the lines show momentum direction via their crossover, while the histogram shows that momentum building or fading in advance, often flagging a turn before the lines actually cross.
Crossovers
The crossover is the classic MACD signal.
- Bullish crossover: the MACD line crosses above the signal line, suggesting upward momentum is taking over.
- Bearish crossover: the MACD line crosses below the signal line, suggesting downward momentum.
Crossovers carry more weight when they agree with the bigger picture: a bullish crossover above the zero line during an uptrend is stronger than one against the trend. Because MACD is built from moving averages, crossovers lag price, so they work best as confirmation of a move rather than as an early trigger, and they perform poorly in choppy, sideways markets where they whipsaw.
Divergence
As with RSI, the higher-quality MACD signal is divergence, where price and MACD disagree.
- Bearish divergence: price makes a higher high but MACD makes a lower high, hinting the uptrend is tiring.
- Bullish divergence: price makes a lower low but MACD makes a higher low, hinting the downtrend is fading.
Divergence speaks to the momentum behind a move rather than the move itself, which makes it more telling than a raw crossover. It still needs confirmation from price, a candlestick reversal or a level break, before acting.
Common mistakes
The usual MACD errors:
- Trading every crossover. In a range, crossovers whipsaw constantly. Filter them with the trend and only take those aligned with it.
- Forgetting the lag. MACD confirms; it does not predict. Expecting it to call tops and bottoms leads to disappointment.
- Using it alone. MACD needs the context of price structure and trend, not a chart of its own.
- Skipping risk control. The indicator does not size the trade or set the stop; a defined risk and position size do.
Used with the trend and confirmed by price, MACD is a solid momentum read. Build the rest of the foundation with RSI, moving averages and forex trading strategies, and pick a broker with full charting from the best forex brokers in Australia ranking.
Popular ASIC-regulated CFD brokers
All three are ASIC-regulated with free demo accounts. CFD Service. Your capital is at risk.
Diagram is illustrative. Last reviewed: 2026-06-01.
Frequently asked questions
What is the MACD indicator in simple terms?
MACD, or Moving Average Convergence Divergence, is an indicator that measures momentum by comparing two moving averages of price. When the faster average pulls away from the slower one, momentum is strengthening; when they converge, it is fading. It is displayed as two lines plus a histogram in a panel below the price chart. Traders use it to spot when momentum is shifting direction, most commonly through the crossover of its two lines, which is why it is one of the most popular momentum indicators.
What is a MACD crossover?
A MACD crossover is when the MACD line crosses the signal line, the classic momentum signal. A bullish crossover is when the MACD line crosses above the signal line, suggesting upward momentum is taking over. A bearish crossover is when it crosses below, suggesting downward momentum. Crossovers above the zero line carry more weight in an uptrend, and below zero in a downtrend. Because MACD is built from moving averages, crossovers lag price and work better as confirmation than as a leading trigger.
What does the MACD histogram show?
The histogram is the gap between the MACD line and the signal line, drawn as bars around a zero line. When the bars are above zero and growing, bullish momentum is building; when they shrink, that momentum is fading even before the lines actually cross. Below zero, the same applies for bearish momentum. The histogram is effectively an early warning of a crossover, which is why many traders watch it closely for the moment momentum starts to turn.
What are the best MACD settings?
The standard settings are 12, 26 and 9: a 12-period and 26-period exponential moving average for the MACD line, and a 9-period average for the signal line. These defaults, set by Gerald Appel who created the indicator, work on any timeframe and are what almost all charts use. Shorter settings make MACD more sensitive and faster but noisier; longer settings smooth it out. Most traders should leave the defaults alone and focus on reading the signals in context rather than tuning the inputs.
What is MACD divergence?
MACD divergence is when price and the MACD disagree, often warning of a weakening trend. Bearish divergence is when price makes a higher high while MACD makes a lower high, suggesting the uptrend is losing momentum. Bullish divergence is when price makes a lower low while MACD makes a higher low, hinting the downtrend is fading. As with RSI, divergence is generally a higher-quality MACD signal than crossovers alone, though it still needs confirmation from price before acting on it.
Is MACD a leading or lagging indicator?
MACD is mainly a lagging indicator because it is built from moving averages, which are based on past prices, so its signals arrive after a move is underway. The histogram has a small leading quality, hinting at a turn before the lines cross, but the core crossover signals lag. This is why MACD performs well in trending markets, where catching a move slightly late still pays, and poorly in choppy ranges, where the lag produces repeated false signals. Pair it with the trend to play to its strength.