MACD Explained
The MACD indicator shows trend and momentum using moving averages. Learn how MACD is calculated, how to read crossovers and divergence, and its limits.
The MACD indicator (Moving Average Convergence Divergence) shows the trend and momentum of a price by measuring the gap between two exponential moving averages, usually the 12-period and 26-period. When the MACD line rises above its signal line, upward momentum is strengthening; when it falls below, momentum is weakening.
MACD is one of the most widely used indicators in technical analysis, and it appears by default on most crypto charting platforms. It is popular because it combines trend-following and momentum in one view. But like every indicator, it is calculated from past prices, lags behind the market and produces false signals. Knowing how it is built is the best way to avoid misreading it.
How the MACD Indicator Is Calculated
MACD has three parts:
- 1MACD line = 12-period EMA − 26-period EMA.
- 2Signal line = 9-period EMA of the MACD line.
- 3Histogram = MACD line − signal line.
An EMA (exponential moving average) is an average that gives more weight to recent prices. If you are new to moving averages, read our guide to SMA and EMA moving averages first.
MACD was developed by analyst Gerald Appel in the late 1970s. It has no upper or lower limit, unlike bounded oscillators such as the RSI, so its values depend on the price level of the asset. A MACD value of 500 on Bitcoin and 0.05 on a small token can describe similar momentum.
Timeframes in crypto
The "periods" are candles. On a daily chart, 12 periods means 12 days; on a 1-hour chart, 12 hours. Crypto trades 24 hours a day, seven days a week, so a 26-period daily MACD covers 26 calendar days, not about five weeks of trading days as on a stock chart. Our article Bull Trap vs Real Breakout expands on this point.
How to Read MACD
Signal line crossovers
- Bullish crossover: MACD line crosses above the signal line. Short-term momentum is turning up.
- Bearish crossover: MACD line crosses below the signal line. Momentum is turning down.
This is the most common MACD signal and also the noisiest.
Zero-line crossovers
When the MACD line crosses above zero, the 12-period EMA has moved above the 26-period EMA, suggesting the shorter-term trend has turned up. A cross below zero suggests the reverse. These signals are slower but tend to reflect trend changes rather than brief swings.
The histogram
The histogram shows the distance between the MACD and signal lines. Growing bars mean momentum is accelerating; shrinking bars mean it is slowing, often before a crossover happens.
Divergence
Divergence occurs when price and MACD disagree:
| Divergence | Price | MACD | Possible meaning |
|---|---|---|---|
| Bullish | Lower low | Higher low | Selling momentum is weakening |
| Bearish | Higher high | Lower high | Buying momentum is weakening |
Divergence can persist for a long time before price turns, or price may never turn at all. Treat it as a warning, not a trigger.
A Simple Example
Imagine a token has been falling for weeks. On the daily chart, the MACD line has been below zero and below its signal line. Then the histogram bars start shrinking, and a few days later the MACD line crosses above the signal line while still below zero.
A careful reading is: "Downward momentum has weakened, and short-term momentum has turned up, but the broader trend is still down until MACD moves above zero." That is very different from "MACD says buy." Many traders would wait for price to reclaim a resistance level or for confirmation on volume before acting.
MACD Compared With Other Indicators
MACD is often used alongside other tools because each one answers a different question:
| Indicator | Main question it answers | Typical weakness |
|---|---|---|
| MACD | Is momentum building or fading, and in which direction? | Lags; noisy in ranges |
| RSI | Has price moved unusually far, unusually fast? | Can stay "overbought" in strong trends |
| Moving averages | What is the general trend direction? | Slow to react |
| Volume | Is there real participation behind the move? | Exchange volume data can be unreliable |
Because MACD is itself built from moving averages, adding more moving averages rarely adds new information. Pairing it with something based on different inputs, such as volume or price structure, gives you a more independent second opinion.
Limits and Common Mistakes
MACD is useful, but it has real weaknesses:
- Lag. Because it is built from moving averages, signals arrive after the move has started. In fast crypto moves, much of the move may be over.
- Whipsaws in ranges. In sideways markets the lines cross back and forth, producing a string of losing signals.
- Not comparable across assets. Raw MACD values depend on price level.
- Overfitting settings. Tweaking settings until past signals look perfect rarely works in the future.
- Ignoring context. News, liquidity and broader market conditions can overwhelm any indicator.
Common mistakes include trading every crossover, using very short timeframes where noise dominates, and treating divergence as a guarantee of reversal. For a deeper look, see Fundamental vs Technical Analysis in Crypto.
Using MACD Responsibly
- 1Start with the higher timeframe. Check the weekly or daily trend before acting on lower-timeframe signals.
- 2Combine with structure. Use support and resistance and volume to confirm what MACD suggests.
- 3Define risk first. Decide your position size and exit before entering. Our guide to position sizing and risk management explains how.
- 4Keep records. Track how signals perform on the assets and timeframes you actually trade.
You can explore past price behavior using the historical data pages at Certified Crypto Market before relying on any indicator.
Bottom line
The MACD indicator turns two moving averages into a picture of trend and momentum. Crossovers, zero-line moves and divergences can help you understand what price is doing, but they lag, they fail often in choppy markets, and they never predict the future on their own. Use MACD as context, not as a signal to act automatically.
Frequently asked questions
What does MACD stand for?
MACD stands for Moving Average Convergence Divergence. It measures the gap between a faster and a slower exponential moving average of price. When the averages move apart, momentum is building; when they move together, momentum is fading. It was developed by analyst Gerald Appel in the late 1970s.
What are the standard MACD settings?
The most common settings are 12, 26 and 9: a 12-period EMA minus a 26-period EMA gives the MACD line, and a 9-period EMA of the MACD line gives the signal line. Because crypto trades all day, every day, the same settings cover a different amount of calendar time than in stock markets.
Is a MACD crossover a buy signal?
A bullish crossover, where the MACD line crosses above the signal line, shows that short-term momentum has turned upward. On its own it is not a reliable buy signal. In sideways markets crossovers happen often and many fail, so traders combine MACD with trend, support and resistance, and volume.
Which timeframe is best for MACD in crypto?
There is no single best timeframe. Shorter charts produce more signals and more noise, while daily and weekly charts produce fewer, slower signals. Many people check the higher timeframe trend first, then use a shorter one for timing, and keep settings consistent so they can judge results fairly.
