What Is the MACD Indicator? How Moving Average Convergence Divergence Works, Explained
Open any trading chart and you will probably see it sitting underneath the candles: two lines weaving around each other, with a row of bars growing and shrinking below them. That is the MACD — the Moving Average Convergence Divergence — and it is one of the most widely used momentum indicators in crypto, stocks and forex. It does not predict the future, but it does something almost as useful: it shows you, at a glance, whether momentum is building, fading or changing hands.
MACD was developed by Gerald Appel in the late 1970s, and it has survived every market cycle since for a simple reason. It turns the relationship between two moving averages into a picture you can read in seconds.
What MACD actually is
MACD is built from three parts:
- The MACD line: the 12-period exponential moving average (EMA) minus the 26-period EMA. When the shorter average sits above the longer one, the line is positive; when it sits below, the line is negative.
- The signal line: a 9-period EMA of the MACD line itself. It smooths the MACD line out and gives traders a reference to compare it against.
- The histogram: the difference between the MACD line and the signal line, drawn as bars. When the MACD line is above the signal line, the bars rise above zero; when it is below, they fall beneath it.
That is all MACD is: a comparison of a fast average with a slow one, smoothed once more, and plotted so the gap between the two is easy to see. When price accelerates upward, the fast average pulls away from the slow one and the MACD line climbs. When the move runs out of steam, the averages converge — hence the name — and the histogram shrinks back toward zero.
Crossovers: the signal most traders watch
The classic MACD signal is the crossover. When the MACD line crosses above the signal line, momentum has turned up; when it crosses below, momentum has turned down. Traders also watch the zero line: a MACD line crossing from negative to positive means the 12-period average has moved above the 26-period average — the short-term trend has overtaken the longer one.
Crossovers work best when they agree with the bigger picture. A bullish crossover in an established uptrend, near a level that has already held as support, is a very different proposition from a bullish crossover in the middle of a choppy range. Context is what separates a signal from noise, and it is why MACD pairs naturally with the candlestick patterns covered in our beginner candlestick guide — the candles tell you what price is doing right now, while MACD tells you how hard it is pushing.
The mistake almost every beginner makes
The most expensive MACD mistake is treating every crossover as a buy or sell order. In a sideways market, the MACD line and the signal line cross each other constantly, and each crossover is followed by a small move that goes nowhere. A trader who buys every bullish cross and sells every bearish one in a range gets chopped to pieces — a string of small losses that add up fast.
MACD is also a lagging indicator. It is built from moving averages, which are built from past prices, so by the time a crossover prints, part of the move has already happened. That is not a flaw — it is the price of confirmation. But it means MACD is a poor tool for catching exact tops and bottoms, and a good tool for confirming that a move already under way still has momentum behind it.
Think of the histogram as the speedometer: growing bars mean the gap between the two lines is widening and momentum is strengthening; shrinking bars mean the gap is closing and the move is tiring. A histogram that peaks and starts to shrink while price is still pushing higher is often the first hint that the push is running out of fuel.
More chart explainers and daily levels are shared on the Zimbuck News page and argued over in the Zimbuck Market News group.

Divergence: when price and momentum disagree
Divergence is MACD's most respected signal, and also its most misunderstood. It happens when price makes a new high but the MACD line makes a lower high — bearish divergence — or when price makes a new low while MACD makes a higher low — bullish divergence. Momentum is fading before price admits it.
The key word is warning. Divergence can appear, persist and even strengthen while price keeps pushing in the old direction for days. It tells you the engine is straining; it does not tell you when it will stop. Traders who short every bearish divergence in a strong uptrend learn this the same expensive way RSI traders do.
Settings and timeframes
The standard setting — 12, 26, 9 — is the right starting point. It is a balance, not a law. Faster settings, such as 8, 17, 9, react sooner and produce more signals, along with more false ones. Slower settings smooth the lines and suit higher timeframes. Whatever you choose, judge MACD on the timeframe you trade: a daily MACD crossover and a 15-minute MACD crossover are very different statements, and mixing them up is a common source of confusion.
MACD's limits, stated plainly
- It is built only from price, so it cannot see news, liquidations or order flow coming.
- In sideways markets it generates repeated false crossovers.
- Divergence can persist through several more price pushes before anything reverses.
- It confirms momentum — it does not create an edge on its own. Combine it with trend direction, key levels and position sizing.

FAQ
What are the best MACD settings?
The standard 12, 26, 9 setting is the right starting point. Faster settings react sooner but produce more false signals; slower settings are smoother but later. Match the setting to your timeframe and test it on your market.
Is a MACD crossover a buy signal?
Not by itself. A crossover means momentum has shifted in that direction, but in choppy markets crossovers fire constantly. Traders look for confirmation from price structure and trend direction before acting.
What does the histogram show?
The histogram shows the distance between the MACD line and the signal line. Growing bars mean momentum is strengthening; shrinking bars mean it is fading, even if price is still moving the same way.
Can MACD be used on crypto as well as stocks?
Yes. MACD is calculated purely from price, so it works on any market with a price series — crypto, forex, indices and commodities included.
Used with humility, MACD is less a crystal ball than a momentum gauge: it tells you whether the move you are watching is speeding up or running out of road. Compare notes with other chart readers on Zimbuck and see what the two lines are saying about this week's sell-off.
This article is general information only, not financial advice.