Oscillator MT4 / MT5

MACD

The Moving Average Convergence Divergence tracks the relationship between two moving averages of price. It consists of the MACD line, signal line, and histogram, providing both trend and momentum information in a single indicator.

Understanding the MACD

The Moving Average Convergence Divergence — MACD — was developed by Gerald Appel in the late 1970s and has since become a staple of technical analysis. Its popularity stems from a clever design: it combines trend and momentum into a single indicator with multiple readable components.

MACD is built from three elements. The MACD line is the difference between two exponential moving averages (typically 12 and 26 periods). The signal line is a 9-period EMA of the MACD line. The histogram is the visual representation of the gap between the MACD and signal lines. Together, these components give you a layered view of market momentum.

The most common trading signal is the crossover. When the MACD line crosses above the signal line, momentum is shifting bullish — many traders interpret this as a buy signal. When it crosses below, the bearish interpretation follows. The further these crossovers occur from the zero line, the more significant they tend to be. A bullish crossover deep in negative territory, for example, often marks the beginning of a meaningful recovery.

The histogram adds another dimension. Growing histogram bars (getting taller) indicate accelerating momentum. Shrinking bars (getting shorter) warn that the current move is losing steam — even if the trend hasn't officially reversed. This "histogram peak" signal frequently appears before the actual crossover, giving early adopters a timing edge.

Divergence between MACD and price is one of the most reliable reversal signals in technical analysis. When price makes new highs but the MACD histogram or MACD line fails to follow, it suggests the buying power behind the rally is weakening. This bearish divergence has preceded many significant market tops. Conversely, bullish divergence at lows often marks accumulation phases before a rally.

MACD works on any timeframe, but its signals are most reliable on higher timeframes (H4, Daily, Weekly). On lower timeframes, the noise-to-signal ratio increases. Many professional traders use MACD on the daily chart for directional bias and then switch to lower timeframes for precise entry timing using other tools.

One practical tip: the zero line is itself a trend indicator. When MACD is above zero, the 12 EMA is above the 26 EMA — the intermediate trend is bullish. Below zero, it's bearish. Using zero-line crosses as a trend filter alongside your primary strategy can reduce the number of counter-trend trades that drain accounts.

How to Use the MACD

Use default settings of 12, 26, 9 for most timeframes. When the MACD line crosses above the signal line, it generates a buy signal. A cross below the signal line suggests selling. The histogram shows the distance between lines — growing bars mean strengthening momentum, shrinking bars warn of weakening moves. Look for divergence between MACD and price to catch trend reversals early.

Best For

Trend confirmation, momentum shifts, and crossover-based entry/exit signals

Key Parameters

1 Fast EMA Period (default 12)
2 Slow EMA Period (default 26)
3 Signal Period (default 9)
4 Apply to Price

Trading Strategy Tips

The MACD histogram reversal is a powerful entry technique. Instead of waiting for a full MACD/signal crossover (which lags), watch the histogram. When the histogram starts shrinking after making a peak, momentum is already shifting. Enter when the histogram prints a shorter bar than the previous one, which signals the crossover is coming but gets you in earlier.

For trend confirmation, use the weekly MACD as a directional filter and the daily MACD for entries. If the weekly MACD is above zero and rising, only take bullish daily signals. This multi-timeframe approach eliminates most false signals by ensuring your trades align with the larger trend.

The MACD "hidden divergence" signal is underappreciated. Regular divergence (price higher high, MACD lower high) signals reversals. Hidden divergence (price higher low, MACD lower low) signals trend continuation. In an uptrend, hidden bullish divergence at a support level is a high-probability buying opportunity that most traders miss because they only look for regular divergence.

Best Brokers for MACD Trading

To get the most from the MACD, choose a broker with reliable charting tools and fast execution.

Related Indicators

Frequently Asked Questions

What is the MACD indicator?

The Moving Average Convergence Divergence tracks the relationship between two moving averages of price. It consists of the MACD line, signal line, and histogram, providing both trend and momentum information in a single indicator.

How do I add MACD to my chart?

In MetaTrader 4 or 5, go to Insert → Indicators → Oscillators and select MACD.

Is MACD good for beginners?

Trend confirmation, momentum shifts, and crossover-based entry/exit signals