Skip to content
Technical Indicators

MACD Indicator Explained: Settings, Signals & Strategy

MACD turns two moving averages into a momentum read. Learn the 12-26-9 formula, crossovers, zero-line context, divergence and a worked swing trade with entry, stop and target.

StockSetups Research, Research desk
Updated 6 min read

Frequently asked questions

What does MACD stand for?

Moving Average Convergence Divergence. It measures the relationship between a 12-period and a 26-period exponential moving average, smoothed with a 9-period signal line.

What are the default MACD settings?

12, 26 and 9: the fast EMA, the slow EMA and the signal-line EMA. Shorter settings react faster but whipsaw more; longer settings are smoother but later.

What is the difference between the MACD line and the histogram?

The MACD line is the 12 EMA minus the 26 EMA. The histogram is the MACD line minus the signal line, so it shows how far apart those two lines are and often turns before they cross.

Is a MACD crossover above or below zero better?

For bullish crossovers, ones near or above zero in an uptrend are generally higher quality than ones far below zero, which usually happen inside a downtrend.

Can MACD be used on its own?

It is better as a confirmation tool. MACD lags and whipsaws in sideways markets, so traders pair it with support and resistance, volume and a defined stop.

Sources & further reading

  • Gerald Appel, Technical Analysis: Power Tools for Active Investors (2005)

Try it free

StockSetups Research, Research desk

StockSetups Research is the in-house desk behind our guides and daily movers recaps. Articles are produced with AI assistance from our own nightly scan data and cite primary sources; each movers recap is built from that session's scan and the catalyst found for every name.

chart patternstechnical indicatorsbreakout tradingrisk management

Get daily signals & real-time alerts.

StockSetups scans ~12,300 US stocks & ETFs after every close and sorts every long setup into four ranked lanes — each with a trade plan — plus an always-on engine firing 35+ real-time intraday alerts. Free for 7 days, no credit card.

Start free — 7-day trial, no card →