Overview
Introduction
Gerald Appel developed the Moving Average Convergence Divergence (MACD) indicator in the late 1970s, and Thomas Aspray added its histogram in 1986. Crypto traders use it to judge whether a trend is speeding up or slowing down, and to spot moments when momentum and price disagree. The indicator sets no price targets, though, and gives no instruction to trade.
What the MACD Indicator Shows
The name describes what MACD's two exponential moving averages (EMAs) do as price moves. They converge when they draw closer together and diverge when they pull apart, and the distance between them is the momentum reading, whether it's building, fading, or turning against the longer trend.

TradingView draws all three MACD series in a separate pane below the price chart, and StockCharts lets you place the indicator above, below, or behind the price plot. Either way, the indicator shares the price chart's time axis, so each MACD reading lines up with what price did on the same bar.
The histogram is the bar chart in the MACD panel. Its bars grow and shrink above and below a zero line, and the panel draws two lines over them.
- The MACD line moves faster and swings wider, so it reacts first when price changes.
- The signal line is smoother and slower. It trails the MACD line and curves more gently, and a crossover is the moment the MACD line passes through it.
- The zero line splits positive MACD readings from negative ones.
Because MACD is a price gap between two averages, a Bitcoin price chart shows far larger MACD values than an XRP chart, even when both trends move at the same percentage pace. StockCharts states that MACD values can't be compared across securities with different prices and points to the Percentage Price Oscillator (PPO) for that comparison.
How MACD Is Calculated
MACD subtracts a slower EMA from a faster one and then smooths the result into a signal line. The typical settings are 12, 26, and 9 periods, according to StockCharts, and each average uses closing prices.
Charting platforms calculate every value automatically. The table pairs each MACD component with its formula or definition.
- MACD line
12-period EMA minus 26-period EMA
- Signal line
9-period EMA of the MACD line
- Histogram
MACD line minus signal line
- Zero line
Level where the 12- and 26-period EMAs are equal
An EMA weights recent closes more heavily than older ones. Each new value adds a fixed share of the gap between the latest close and the previous EMA. That share is two divided by the period count plus one, so 2/13 for the 12-period average and 2/27 for the 26-period one. An EMA also needs a starting point, and StockCharts starts it from a simple average of the first 12 or 26 closes.
That construction explains the lag. Older closes keep a shrinking share in every EMA, so a fast move can show on the price chart before MACD registers it. The signal line adds a third average on top, which is why it turns later than the MACD line does.
One MACD calculation, worked through 64 hypothetical closes
A hypothetical price series with its 12- and 26-period EMAs, the MACD line, the 9-period signal line, and the histogram, plus the day-46 values worked by hand.
MACD is the gap between two price averages, smoothed again, so every crossover arrives after price has already turned.
Hypothetical prices, so the chart shows how the formula behaves and makes no claim about any asset. Platforms seed EMAs from more history and some let you switch to simple averages, so real values differ slightly. The crossover timing here is one example of lag and says nothing about future signals.
How to Read MACD Lines and the Histogram
Each condition on a MACD panel says something narrow about momentum, so traders read the parts together. In the table, each chart reading comes with its plain-English meaning.
- MACD line above signal line
Momentum sits above its own 9-period average
- MACD line below signal line
Momentum sits below its own 9-period average
- Histogram bars rising above zero
Upside momentum expanding
- Histogram bars falling toward zero
Upside momentum fading
- Histogram bars growing below zero
Downside momentum expanding
- MACD line above zero
Fast EMA above the slow EMA
- MACD line below zero
Fast EMA below the slow EMA
Platforms color the histogram bars differently. On some charts, the color shows whether the histogram sits above or below zero, and on others it changes when the bars start rising or falling. So a green or red bar says nothing about whether to trade. If you chart inside one of the crypto trading apps, the indicator's style settings show which rule its colors follow.
MACD Signals Traders Watch
StockCharts calls signal line crossovers the most common MACD signals and centerline crossovers the next most common, and traders also watch the histogram and divergences.
The same signal reads differently depending on the chart around it, so a trading plan that uses MACD sets each signal against these checks.
- The higher-timeframe trend, and whether the signal goes with it or against it
- Support and resistance levels on the price chart
- Volume, where the data is available
- Position size, stop level, and the price that would prove the idea wrong
- Fees, spread, and slippage, which can erase a small move
Bullish and Bearish Crossovers

A bullish crossover happens when the MACD line crosses above the signal line, and a bearish crossover happens when it crosses below. A bullish crossover can point to improving momentum, though it guarantees nothing about the next move. Some traders call it a MACD golden cross, but “bullish crossover” is the more precise term.
Choppy, sideways markets produce false crossovers in bunches. When price has no clear direction, the MACD line can flip above and below the signal line again and again, and StockCharts adds that volatility in the underlying asset raises the number of crossovers. Crossovers at a historical extreme also call for caution, because momentum tends to slow after a sharp move and print a crossover even while the trend continues.
Zero-Line Crosses
A zero-line cross shows that the fast EMA has moved from one side of the slow EMA to the other, and some traders use it to filter crossovers. A bullish crossover while MACD is still far below zero may reflect only a brief bounce, while a move above zero suggests that the wider momentum picture has changed. Waiting for the zero line costs time, though, and the early part of the move has often passed by the time MACD gets there.
Histogram Momentum Shifts
Histogram shifts show whether the gap between the MACD line and the signal line is growing or shrinking. The bars reach zero at the moment the lines cross, and TradingView describes the histogram as a way to anticipate possible crossovers.
A shrinking histogram can show a move losing pace before price turns, and sometimes price keeps going anyway. One bar after a volatile candle can be noise, too, and a single bar is a thin basis for any decision.
Divergence
Divergence appears when price and MACD move in opposite directions. In a bullish divergence, price makes a lower low while MACD makes a higher low, so downside momentum is weakening as price keeps falling. In a bearish divergence, price makes a higher high while MACD makes a lower high, so the advance is losing pace.
Divergence can warn that a trend is slowing, yet it confirms neither a top nor a bottom. StockCharts notes that bearish divergences are commonplace in steady uptrends, and bullish ones in steady downtrends, because the first surge of a trend pushes MACD to a peak that later, slower gains don't match.
MACD Indicator Chart Example
Picture a static Bitcoin chart from no particular date. Price climbs, stalls near resistance, and pulls back while MACD weakens in the panel below.
- First, the MACD line crosses above the signal line and the histogram moves above zero as momentum builds during the climb.
- Next, price makes a higher high, yet the MACD line peaks lower than it did at the previous high. The advance is losing pace while price is still rising.
- Finally, the MACD line crosses below the signal line and the histogram drops below zero, a late warning for a pullback that has already started.
The divergence in step two came before the crossover in step three, so it gave earlier information, though you only see it by reading both panels together. The example says nothing about whether a trade would have worked, and the same steps apply to any asset's chart.
Best MACD Settings and When to Change Them
No single MACD setting fits every chart. The right inputs depend on the asset, the timeframe, your trading costs, and how often you trade.
Changing the inputs moves the indicator along a speed-versus-noise scale in a predictable direction, and the table lists each setting choice beside what it changes.
- Standard 12, 26, 9
Typical default on charting platforms
- Faster settings
Earlier signals, more whipsaws
- Slower settings
Fewer signals, later confirmation
- Custom settings
Need testing against fees, slippage, and the asset
StockCharts suggests a shorter fast average and a longer slow one for more sensitivity. It calls a 5, 35, 5 setup more sensitive than the standard one and possibly better suited to weekly charts, while lengthening both averages makes crossovers of either kind less frequent.
Some day traders use faster inputs to get earlier signals on short timeframes, though short crypto charts are noisy. MACD on a five-minute Bitcoin chart can change direction several times inside one range, especially when the spread widens or liquidity thins during quiet hours.
Tuning the inputs until past signals look clean fits them to old noise. Systematic parameter testing checks the settings on data they weren't tuned on, counts fees and slippage, and covers different market conditions, and a stretch of chart that happened to work passes none of those tests.
MACD Trading Strategies and Where They Fail
A MACD trading strategy turns the indicator into a rule for entries, exits, filters, or alerts, and each rule below breaks down in particular market conditions.
- Crossover rule. The trigger is the MACD line crossing the signal line. Every flip inside a flat range sets it off, which adds up to a string of small losses before any trend forms.
- Trend-confirmation rule. Bullish crossovers count only while MACD sits above zero. The rule misses the start of trends and can still fail when the wider market reverses sharply.
- Divergence rule. Price highs or lows are compared with MACD highs or lows for early warnings. A warning can come weeks before any turn, and a trend can extend well past it.
- Histogram rule. Bar direction confirms a move ahead of the lines crossing. In fast markets the bars turn often, so the rule fires on swings that reverse within a few candles.
- Multi-timeframe rule. The higher timeframe has to agree with the lower-timeframe setup. The slower chart can lag so far that the lower-timeframe move is over by the time both line up.
Cherry-picked chart examples hide losing streaks by showing only the stretches where signals worked, so a rule needs testing on the whole history it would have traded.
On spot markets, a false signal costs the move against you plus fees. On crypto perpetual futures, borrowed exposure magnifies the same false signal, and a liquidation can close the position before price has time to recover.
MACD vs. RSI, Moving Averages, and Other Indicators
MACD differs from the Relative Strength Index (RSI), simple moving averages, and the Awesome Oscillator because it tracks the relationship between two moving averages and the momentum that relationship implies. RSI measures the size of recent gains against recent losses, and a moving average smooths price itself with no momentum layer.
Adding indicators helps only when each one asks a different question. For each indicator in the table, the second column gives what it adds and what it misses.
- MACD
Trend momentum, with lag and whipsaws
- RSI
Overbought and oversold pressure, can stay extreme in steady trends
- Moving averages
Trend direction, with little momentum detail
- Awesome Oscillator
Momentum around a midpoint, can duplicate MACD signals
RSI and MACD can share a chart without repeating each other. RSI moves on a fixed 0 to 100 scale, which suits overbought and oversold readings. MACD has no upper or lower limit, and StockCharts calls it poorly suited to spotting those levels, since MACD can keep stretching past its historical extremes during sharp moves.
The Awesome Oscillator overlaps more, because both it and MACD build momentum from moving-average comparisons. MACD also appears on stock, forex, and commodity charts, though crypto markets trade around the clock and add execution risks of their own.
Using MACD in Crypto Without Ignoring Execution Risk
What happens between a signal appearing and an order filling depends on execution quality, and none of it shows up in the MACD panel.
- Fees cut into every entry and exit, including small ones.
- The spread means market buys and sells fill at a worse price than the mid-market quote.
- Slippage pushes fills further from the expected price when the order book is thin.
- Order-book liquidity decides whether your size can fill without moving the price against you.
- Exchange outages during fast markets can block orders, stops, and withdrawals.
Liquidity also varies by pair, so even one of the best exchanges for day trading crypto can handle large Bitcoin pairs well and still have thin order books on small altcoin pairs.
Decentralized exchanges add pools, routing, gas costs, and smart-contract exposure, none of which appear on a MACD chart. The top crypto derivatives exchanges each set their own margin and liquidation rules by contract, so the same MACD signal can put a different amount at risk on each one.
Backtests that leave out maker and taker fees, the spread, missed fills, and slippage look better than live trading will.
FAQs
What does MACD stand for?
Moving Average Convergence Divergence. StockCharts notes that you can say it as “Mac-Dee” or spell out the four letters.
What is the best MACD setting?
There isn’t one for every chart, and the period lengths are only part of the choice. Platforms also let you change the type of average. TradingView, for example, can build the two MACD averages and the signal line from simple moving averages, which changes every value on the panel.
Is MACD better than RSI?
Neither is better in general. MACD suits questions about trend momentum, and RSI suits questions about whether a move looks stretched. RSI’s fixed scale also lets you compare readings across coins, which MACD’s price-based values can’t do.
Does MACD work for Bitcoin?
The indicator works the same way on any price series, Bitcoin’s daily, weekly, and monthly charts included. Its readings vary a little by exchange, though, because each exchange records its own closing prices.
What is a bullish MACD crossover?
It’s the MACD line crossing above the signal line. StockCharts notes that a crossover can hold for a few days or a few weeks, depending on how forceful the move is.
Can MACD predict the next crypto move?
No. Every MACD value comes from closes that already happened, and the value on the latest bar keeps changing until that candle closes. When you set TradingView’s MACD to another timeframe, its “Wait for timeframe closes” option shows a value only once that timeframe’s bar has closed.

