MACD — what is the MACD indicator and how to use it
What is MACD (Moving Average Convergence Divergence), how it works and how to interpret buy and sell signals.
What is MACD?
MACD (Moving Average Convergence Divergence) is a technical analysis indicator that shows the relationship between two moving averages of a price. It helps identify trend changes, their strength, and potential buy or sell moments.
MACD was developed by Gerald Appel in the late 1970s and is one of the most widely used indicators worldwide.
How does MACD work?
MACD consists of three components:
1. MACD line
The difference between fast (12-period) and slow (26-period) exponential moving averages (EMA):
MACD = EMA(12) - EMA(26)
2. Signal line
9-period EMA of the MACD line. Serves as a "trigger" for signals:
Signal = EMA(9) of MACD line
3. Histogram
The difference between the MACD line and signal line. Visualizes the distance between them:
Histogram = MACD - Signal
How to interpret MACD?
Line crossovers
- Buy signal: MACD line crosses signal line from below → trend may change to upward
- Sell signal: MACD line crosses signal line from above → trend may change to downward
Zero line crossing
- MACD above zero → short-term trend is stronger than long-term (bullish)
- MACD below zero → opposite (bearish)
Divergences
Similar to RSI:
- Bullish divergence: price falls, MACD rises → possible upward reversal
- Bearish divergence: price rises, MACD falls → possible downward reversal
Histogram
- Rising bars → momentum is increasing
- Falling bars → momentum is weakening
MACD vs RSI
| Feature | MACD | RSI |
|---|---|---|
| Type | Trend + momentum indicator | Oscillator |
| Range | Unlimited | 0–100 |
| Best for | Identifying trend changes | Overbought/oversold |
| Signals | Line crossovers | 30/70 levels |
Best results come from combining both indicators — MACD confirms trend, RSI indicates extremes.
MACD limitations
- As an indicator based on moving averages, MACD is lagging — it reacts after the fact
- In sideways trends, it generates many false signals
- Doesn't determine overbought/oversold levels (unlike RSI)
How Freenance can help
Freenance allows you to monitor your entire portfolio and track investment performance. Knowing your portfolio status, you make better decisions — regardless of whether you use MACD, RSI, or other technical analysis tools.
Want full control over your finances?
Try Freenance for free