EUR/USD- GBP/USD- USD/JPY- XAU/USD- BTC/USD-

What MACD measures, how to read crossovers and the histogram, and why it works as both a trend and momentum tool.

Key Takeaways

  • MACD (Moving Average Convergence Divergence) shows the relationship between two moving averages of price, making it both a trend and momentum tool.
  • It's plotted as the MACD line, a signal line, and a histogram showing the gap between the two.
  • A MACD line crossing above the signal line is read as bullish; crossing below is read as bearish.
  • The histogram shrinking toward zero while price keeps moving is an early warning that momentum is fading, often before the lines actually cross.
  • You can add MACD (12,26,9) to any chart in our free backtesting tool.

What Is MACD?

MACD, short for Moving Average Convergence Divergence, was developed by Gerald Appel and measures the relationship between two exponential moving averages (EMAs) of price. Because it's built directly from moving averages, MACD effectively sits between the two categories introduced in our technical analysis overview: it reads trend the way a moving average does, while also behaving like a momentum oscillator.

MACD is calculated from three numbers, which is why you'll usually see it written as "MACD (12, 26, 9)," including in our own backtesting tool:

  • MACD Line: the 12-period EMA minus the 26-period EMA. When the faster 12-period average is above the slower 26-period average, the MACD line is positive, showing upward momentum; below zero shows downward momentum.
  • Signal Line: a 9-period EMA of the MACD line itself, a smoothed version used to spot turning points in the MACD line.
  • Histogram: the MACD line minus the signal line, plotted as bars. It visually shows the gap between the two lines, shrinking as they converge and growing as they diverge.

Reading MACD Crossovers

The most common MACD signal is a crossover between the MACD line and the signal line:

  • Bullish crossover: the MACD line crosses above the signal line, read as upward momentum building.
  • Bearish crossover: the MACD line crosses below the signal line, read as downward momentum building.

As with any crossover-based signal, including the moving average crossovers covered in our moving averages guide, these work best in trending conditions and are prone to false signals, or whipsaws, when a market is moving sideways without a clear direction.

Reading the Histogram

The histogram is where MACD earns its reputation as an early-warning tool. Because it measures the gap between the MACD and signal lines, it starts shrinking toward zero before the two lines actually cross, often while price is still moving in its original direction. A shrinking histogram during an uptrend, even while price keeps making new highs, is a sign that the momentum behind those highs is fading, conceptually similar to the RSI divergence covered in our RSI guide, just expressed through a different calculation.

MACD Above or Below the Zero Line

Beyond the crossover itself, where the MACD line sits relative to the zero line adds context. MACD above zero means the shorter EMA is above the longer EMA, consistent with an overall uptrend; MACD below zero is consistent with an overall downtrend. Some traders only take bullish crossover signals when MACD is already above zero, and only take bearish crossover signals when it's below zero, as a simple filter to trade crossovers in the direction of the broader trend rather than against it.

Common Mistakes

  • Treating every crossover as a trade signal regardless of market condition, which produces frequent false signals in a ranging, non-trending market.
  • Using MACD completely alone rather than alongside a price action confirmation, such as a candlestick pattern from our candlestick guide, or a relevant support or resistance level.
  • Confusing a shrinking histogram with an instant reversal. It's an early warning that momentum is weakening, not a guarantee the trend reverses immediately.

Practice Trading MACD on Real Historical Data

You can add MACD (12, 26, 9) directly onto any chart in our free backtesting and market replay tool, across 17 markets and 7 timeframes, and step bar by bar through real price history to see exactly how crossovers and histogram shifts played out before and after past moves.

Frequently Asked Questions

What is a good MACD setting for beginners?

The original 12, 26, 9 setting developed by Gerald Appel remains the standard default on most platforms, including our backtesting tool, and is a sensible starting point before experimenting with other periods.

Is MACD a trend or momentum indicator?

Both. MACD is built from moving averages, which places it conceptually with trend tools, but its crossover and histogram behavior is used the same way momentum tools like RSI and Stochastic are used, which is why it's often described as a hybrid.

What is MACD divergence?

MACD divergence works the same way as the RSI divergence covered in our RSI guide: price makes a new high or low, but the MACD histogram or line fails to make a correspondingly stronger new high or low, suggesting the underlying momentum behind the move is weaker than the price action alone suggests.

Can MACD be used on its own as a complete strategy?

It's not recommended. Like any single indicator, MACD works best combined with an awareness of the broader trend and, ideally, a price action confirmation, rather than trading every crossover signal in isolation.

Find the Best Broker for UAE Traders
Compare spreads, leverage, and regulation across top brokers
Compare Brokers β†’
Risk Warning: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. The majority of retail investor accounts lose money when trading CFDs. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money.
Editorial independence: Trader Gulf maintains strict editorial standards. Our guides are written to inform traders, not to promote specific brokers. We may earn a commission if you click on broker links, which does not influence our reviews or content.

Continue Reading

How to Trade Gold in the UAE and the Gulf: A Beginner Guide (2026)
How gold is quoted, what one lot is worth, margin, what moves the price, the best hours to trade from the UAE, and a simple risk plan for your first XAU/USD trades.
Read more β†’
How to Start Forex Trading in the UAE (2026): 7 Steps for Beginners
A step-by-step guide to starting forex trading in the UAE: the basics, UAE regulators, choosing a broker, verification, practice, risk rules and your first live trades.
Read more β†’
Fibonacci Retracement Explained: How to Find Support and Resistance
How to draw Fibonacci retracement levels, which ratios matter most, and how to combine them with other tools for stronger signals.
Read more β†’
Fundamental Analysis for Forex Beginners
What fundamental analysis is, why interest rates drive currency prices, and the key economic releases, NFP, CPI and central bank decisions, every trader should track.
Read more β†’
πŸͺ

We use cookies to improve your experience and analyse site traffic. By clicking Accept, you consent to our use of cookies. Privacy Policy