What is MACD and how do you read it?
MACD (moving average convergence divergence) is a momentum indicator that shows the gap between a 12-period and a 26-period exponential moving average of price. It is drawn with a 9-period "signal line" and a histogram showing the distance between the two lines. When the MACD line is above the signal line, momentum is leaning up; when it is below, momentum is leaning down. It was developed by Gerald Appel in the late 1970s.
Key takeaways
- MACD line = 12-period EMA minus 26-period EMA of closing prices.
- Signal line = 9-period EMA of the MACD line. Histogram = MACD line minus signal line.
- Traders watch three things: signal line crossovers, zero line (centre line) crossovers, and divergences from price.
- MACD lags because it is built from moving averages, and it gives many false signals in sideways markets.
- It is unbounded, so it is not a good overbought/oversold tool, and readings cannot be compared between stocks with different prices.
This page is education only, not financial advice. No indicator predicts prices reliably.
The three parts of MACD
| Part | How it is calculated | What it tells you |
|---|---|---|
| MACD line | 12-period EMA minus 26-period EMA | Whether short-term momentum is above or below longer-term momentum |
| Signal line | 9-period EMA of the MACD line | A smoothed version of the MACD line, used for crossovers |
| Histogram | MACD line minus signal line | How far apart the two lines are; growing bars mean strengthening momentum |
| Zero line | Where the 12 and 26 EMAs are equal | Above zero: shorter EMA above longer EMA; below zero: the reverse |
StockCharts' ChartSchool gives this standard calculation and credits Gerald Appel, who developed it in the late 1970s. The "12, 26, 9" settings are the defaults on most charting platforms, and they can be changed.
Upload a chart screenshot: trend, key levels, patterns and scenarios explained. Educational, not financial advice.
How to read MACD
| Signal | What it looks like | Common reading |
|---|---|---|
| Bullish signal line crossover | MACD line crosses above the signal line | Momentum turning up |
| Bearish signal line crossover | MACD line crosses below the signal line | Momentum turning down |
| Bullish centre line crossover | MACD moves from below to above zero | 12 EMA has crossed above the 26 EMA |
| Bearish centre line crossover | MACD moves from above to below zero | 12 EMA has crossed below the 26 EMA |
| Bullish divergence | Price makes a lower low, MACD makes a higher low | Selling momentum may be fading |
| Bearish divergence | Price makes a higher high, MACD makes a lower high | Buying momentum may be fading |
Britannica Money notes that many traders treat crossovers as possible entry or exit points but that this is a matter of judgement, and that bullish crossovers below zero and bearish ones above zero are sometimes seen as stronger. It also says divergence is treated as a stronger signal, especially alongside a crossover.
Limitations to know before you use it
| Limitation | Why it happens | What to do |
|---|---|---|
| Lag | Built from moving averages of past prices | Expect signals after turns, not at them |
| Whipsaws in ranges | Lines cross back and forth when there is no trend | Check whether price is trending before trusting crossovers |
| Not an overbought/oversold tool | MACD has no fixed upper or lower limit | Use a bounded indicator like RSI for that question |
| Cannot compare across stocks | Values depend on the share price | Compare a stock only with its own history |
| Subjective | Different traders read the same chart differently | Write your rules down and test them |
ChartSchool states that because MACD is unbounded, it "is not particularly useful for identifying overbought and oversold levels", and that its values depend on price, so readings cannot be compared across securities with different prices. Britannica warns that MACD works poorly without a clear trend, producing whipsaw signals in sideways markets. The Corporate Finance Institute adds that volatility can make MACD move in unusual ways, and advises caution with crossovers at extreme highs or lows and with shallow crossovers that quickly flatten out.
Worked example: reading a daily chart
Example (illustrative numbers): Sam is looking at a daily chart of a stock trading around £105.
| Day | 12-day EMA | 26-day EMA | MACD line | Signal line | Histogram |
|---|---|---|---|---|---|
| Monday | £104.10 | £104.30 | −0.20 | −0.05 | −0.15 |
| Wednesday | £104.80 | £104.50 | 0.30 | 0.05 | 0.25 |
| Friday | £105.30 | £104.70 | 0.60 | 0.25 | 0.35 |
Between Monday and Wednesday the MACD line crossed above both the signal line and zero: a bullish crossover and a centre line crossover. By Friday the histogram is still positive but only slightly larger, so momentum is up but not accelerating much.
Before acting, Sam checks the bigger picture: the stock has been moving sideways between £100 and £108 for two months. That is exactly where Britannica says false signals cluster. He decides the MACD crossover alone is not enough and waits to see if price breaks above £108 with higher volume. If he did trade, he would set his stop and target first, so he knows his risk before he knows his reward.
To check a planned trade's numbers, use Asendify's free risk-reward calculator. For related indicators, see how to use moving averages in trading and what RSI means in trading.
Asendify's Chart Reader explains a chart screenshot from TradingView or other platforms in plain English, including what indicators like MACD are showing, without giving buy or sell signals. It is a learning aid, not financial advice.
FAQ
What are the best MACD settings?
The default 12, 26, 9 is the most widely used. Shorter settings react faster but give more false signals; longer settings are smoother but lag more. Match settings to the timeframe you trade and test them.
Is MACD a leading or lagging indicator?
Mostly lagging, because it is built from moving averages of past prices. Divergences are sometimes read as early warnings, but they can persist for a long time.
What is the difference between MACD and RSI?
MACD shows the relationship between two moving averages and is unbounded. RSI is bounded between 0 and 100 and is more often used to judge overbought or oversold conditions.
Does a MACD crossover mean I should buy?
No. A crossover only shows a change in momentum. Many traders combine it with trend, support and resistance, and risk rules, and it often fails in sideways markets.
What does the MACD histogram show?
The gap between the MACD line and the signal line. Bars above zero mean the MACD line is above the signal line; shrinking bars mean momentum is weakening.
More playbooks on other topics: https://www.asendify.co/books/
Upload a chart screenshot: trend, key levels, patterns and scenarios explained. Educational, not financial advice.