Guide · Indicators · Updated November 2026

The MACD Indicator

MACD — Moving Average Convergence Divergence — is one of the most widely used indicators in trading. It takes two moving averages and turns the gap between them into a picture of momentum.

The three parts

The standard MACD has three components, shown in a panel below the chart:

PartWhat it is
MACD lineThe 12-period EMA minus the 26-period EMA
Signal lineA 9-period EMA of the MACD line
HistogramBars showing the distance between the MACD line and the signal line

When the 12 EMA is above the 26 EMA, the MACD line is positive (above zero) — short-term momentum is stronger than long-term momentum. When it is below, the MACD line is negative. The standard settings are 12, 26 and 9, and they are the default in MT5.

Crossovers

The classic MACD signal is a crossover: when the MACD line crosses above the signal line, momentum is turning up (a bullish crossover); when it crosses below, momentum is turning down (a bearish crossover). Crossovers work best in a trending market. In a sideways market, the lines cross back and forth constantly, producing a string of losing signals — the MACD's biggest weakness.

Reading the histogram

The histogram makes momentum visible at a glance. When the bars are growing taller, momentum in the current direction is strengthening; when they start shrinking, momentum is weakening — even before a crossover happens. Traders often watch the histogram shrink as an early warning that a trend is losing steam, then wait for price confirmation before acting.

Zero-line crosses

When the MACD line crosses the zero line, the 12 and 26 EMAs have crossed each other. A cross above zero confirms short-term momentum has overtaken long-term momentum (bullish); a cross below zero confirms the opposite. Zero-line crosses are slower than signal-line crossovers but tend to be more reliable, because they only happen after a real shift in the averages.

MACD divergence

Like the RSI, the MACD can diverge from price: price makes a new high while the MACD makes a lower high (bearish divergence), or price makes a new low while the MACD makes a higher low (bullish divergence). Divergence warns that momentum is fading behind the price move. It is a warning, not an entry signal — divergence can last a long time, and price can keep moving against it.

The lagging warning

The MACD is built from moving averages, which are built from past prices — so it is a lagging indicator. By the time a crossover confirms a new trend, a good part of the move may already be over, and in choppy markets it will whipsaw. Use the MACD to confirm what price and market structure are already telling you, never as the only reason for a trade.

Common questions

What are the best MACD settings?

The standard 12, 26, 9 is the default for a reason — it is what most traders watch, and it works across pairs and timeframes. Faster settings react sooner but give more false signals.

MACD or RSI — which is better?

Neither. The MACD shows trend and momentum together; the RSI shows how stretched momentum is. Many traders use both, plus price action, and still wait for confirmation.

Why does my MACD look different from someone else's?

MT5's built-in MACD draws the MACD line as a histogram and the signal line as a line, while many other platforms draw two lines plus a histogram. The maths is the same — only the display differs.

See the Trading Bots → Next: Smart Money Concepts →

Risk disclaimer: Trading forex and gold involves substantial risk of loss and is not suitable for every investor. Past performance does not guarantee future results. These tools enforce discipline; they do not predict the market. Never trade with money you cannot afford to lose.

👁 Total Visits: …

📖 Trading Book — Hadi Gold Trading Strategy · 📰 Crypto News

© 2026 Botifyer · www.botifyer.com