Trading Education
MACD Indicator: A Beginner's Guide to Signals and Setups
Learn how the MACD indicator works, how to read its signals, and practical setups beginners can use for better trading entries and exits.
Source updated
- Originally published
- Source updated
In this article
The MACD (Moving Average Convergence Divergence) is a trend-following momentum indicator that shows the relationship between two moving averages. It helps you spot trend changes, measure momentum strength, and time entries. Along with RSI, it's one of the most widely used indicators in trading.
How MACD Works
MACD consists of three components. The MACD line is the difference between the 12-period EMA and the 26-period EMA. The signal line is a 9-period EMA of the MACD line. The histogram shows the difference between the MACD line and the signal line.
When the MACD line is above zero, the short-term trend is above the long-term trend: bullish. When it's below zero, the opposite: bearish. The distance measures the gap between the averages in price units. It is not a comparable strength score across differently priced instruments.
You don't need to calculate any of this yourself. Check your platform's moving-average type and periods; TradingView documents the MACD, signal and histogram calculations. Focus on learning what the three components tell you visually.
Reading MACD Signals
MACD crossover: When the MACD line crosses above the signal line, it's a bullish signal. When it crosses below, bearish. This is the most basic MACD signal and the one most beginners learn first.
Zero line crossover: When the MACD line crosses above zero, medium-term momentum has shifted bullish. Below zero, bearish. This zero crossing answers a different question from a signal-line crossing; it does not establish a higher success probability.
Histogram expansion and contraction: Growing histogram bars mean momentum is increasing. Shrinking bars mean momentum is fading, even if price is still moving in the same direction. Contraction means the MACD and signal lines are getting closer; price can continue its existing direction.
MACD Divergence
Like RSI, MACD can diverge from price. When price makes a new high but the MACD histogram makes a lower high, momentum is weakening. This bearish divergence warns that the uptrend may be losing steam.
Bullish divergence occurs when price makes a new low but MACD makes a higher low. Selling pressure is fading, and a reversal may be building.
A divergence can persist through a continuing trend. Define the swing points and chart interval before testing it; selecting them after the reversal creates hindsight bias.
Practical MACD Setups
Trend confirmation: Use MACD above zero to confirm you should be looking for long trades, and below zero for shorts. This keeps you trading with the trend rather than against it.
Pullback entries: In an uptrend, wait for the MACD histogram to pull back toward zero, then enter long when it starts expanding again. You're buying the dip with momentum confirmation.
Combine with support/resistance: A MACD bullish crossover at a support level gives you two reasons to buy. Two conditions derived from the same prices may be redundant; their combination needs separate testing. Explore our education resources for more on building multi-factor setups.
MACD Limitations
MACD is a lagging indicator because it's built from moving averages, which are inherently backward-looking. In choppy, sideways markets, MACD generates frequent false crossover signals.
Don't use MACD as your only indicator. Pair it with volume analysis, price action, or RSI to filter signals. Many successful traders use MACD to confirm what price action is already telling them, not as a standalone system.
Key Takeaways
- MACD shows the relationship between two moving averages and measures momentum
- Crossovers between the MACD line and signal line generate buy/sell signals
- Divergence describes disagreement; it does not supply a verified reversal probability
- MACD works best in trending markets and lags in sideways conditions
- Always combine MACD with price action and other indicators
Frequently Asked Questions
What are the best MACD settings? The (12, 26, 9) settings are a conventional starting configuration, not a proven optimum. Shorter periods change sensitivity; evaluate changes on data not used to select the settings.
Is MACD better than RSI? They measure different things. RSI normalises recent gains relative to losses; MACD measures a difference between moving averages. Neither creates a complete picture or guarantees an edge when combined.
Can MACD be used for scalping? It can be calculated on short intervals, but execution costs and the delay relative to the holding period matter. Test that exact use rather than assuming the same settings transfer from daily charts.
Risk Disclaimer: Trading involves substantial risk of loss. Past performance is not indicative of future results. See our full risk disclaimer.