MACD Indicator Explained: A Complete Guide to Moving Average Convergence Divergence
Oct 11, 2026
Learn what the MACD is, how it is calculated, how to read signal line crossovers, the zero line, the histogram and divergence, the best MACD settings for crypto, and how to set up an automatic MACD alert on TradingSignal.
The MACD is one of the most popular momentum indicators in crypto trading. It shows whether buying or selling pressure is building, and it often flips direction before price makes an obvious move. This guide explains what the MACD is, how it is calculated, how to read crossovers, the zero line and histogram, and how to automate it with an alert.
What Is the MACD Indicator?
MACD stands for Moving Average Convergence Divergence. It was developed by Gerald Appel in the late 1970s and compares two exponential moving averages (EMAs) of price to measure momentum. When the faster EMA pulls away from the slower one, momentum is strengthening. When the two move back toward each other, momentum is fading.
The indicator is plotted in a separate pane under the price chart and is made of three parts: the MACD line, the signal line and the histogram.
How Is the MACD Calculated?
The default settings are 12, 26 and 9, and they work on any timeframe.
- MACD line: the 12-period EMA minus the 26-period EMA of the closing price.
- Signal line: a 9-period EMA of the MACD line, which smooths it and makes crossovers easier to spot.
- Histogram: the MACD line minus the signal line, drawn as bars above or below zero.
Because EMAs give more weight to recent candles, the MACD reacts faster than indicators built on simple averages.
How to Read the MACD
Signal Line Crossovers
The most common signal is the crossover. When the MACD line crosses above the signal line, momentum is turning bullish. When it crosses below, momentum is turning bearish. Crossovers that happen far from the zero line tend to be more meaningful than those that happen close to it.
Zero Line Crosses
When the MACD line moves above zero, the fast EMA is above the slow EMA, which suggests an uptrend. A move below zero suggests a downtrend. Many traders use the zero line as a trend filter and only take crossover signals in the same direction.
The Histogram
The histogram shows the gap between the MACD line and the signal line. Growing bars mean momentum is accelerating, and shrinking bars warn that it is slowing, often before the crossover actually happens.
MACD Divergence
A divergence appears when price and the MACD disagree.
- Bullish divergence: price makes a lower low while the MACD makes a higher low, hinting that selling pressure is weakening.
- Bearish divergence: price makes a higher high while the MACD makes a lower high, hinting that buyers are running out of strength.
Divergences are early warnings, not entry signals. Wait for confirmation such as a crossover or a break of structure before acting.
Best MACD Settings for Crypto
The classic 12, 26, 9 setup is a solid default. Some traders use faster settings such as 8, 17, 9 on short timeframes to get earlier signals, at the cost of more false ones. Slower settings reduce noise and suit daily and weekly charts. Whatever you choose, test it on the pairs and timeframes you actually trade.
Combining the MACD With Other Tools
- RSI: take bullish MACD crosses only when the RSI is not already overbought.
- ADX: the MACD works best in trending markets, so use the ADX to avoid sideways ranges.
- Support and resistance: a crossover right at a key level carries more weight than one in the middle of nowhere.
- Moving averages: use a long EMA as a trend filter and trade MACD signals in its direction only.
Limitations of the MACD
- It is a lagging indicator, because it is built from moving averages.
- It produces many false crossovers in choppy, sideways markets.
- It has no fixed overbought or oversold levels, so the same reading means different things on different assets.
- No indicator predicts the future. Use it as one input in a plan that includes risk management.
Setting Up a MACD Alert on TradingSignal
You do not need to stare at charts waiting for a crossover. In the TradingSignal app, creating an alert based on the MACD is very easy: pick a trading pair, choose the "MACD cross the Signal" alert, and set your parameters.
- Fast, slow and signal lengths: the classic values are 12, 26 and 9.
- Condition: alert when the MACD crosses above the signal line, below it, or both.
- Interval: the candle timeframe, from 1 minute to weekly.
Save the alert and TradingSignal notifies you by push notification or email the moment the MACD crosses your signal line, so you can review the setup instead of watching the screen all day.