Quick Answer: What Is the MACD Indicator?
- MACD stands for Moving Average Convergence Divergence. It is a trend-following momentum indicator.
- The MACD line is the 12-day exponential moving average (EMA) minus the 26-day EMA.
- The signal line is a 9-day EMA of the MACD line, and the histogram shows the gap between the two.
- Traders mainly watch signal-line crossovers, zero-line crossovers and divergence between MACD and price.
- MACD is built from moving averages, so it trails price. It is not designed to show overbought or oversold levels, and its signals can fail.
What You Will Learn
- What MACD is and who created it
- How the MACD line, signal line and histogram are calculated
- How to read crossovers and divergence
- How MACD compares with RSI
- The limits of MACD and common mistakes
What Is the MACD Indicator?
MACD is a momentum indicator that shows the relationship between two exponential moving averages of a stock's price. It was developed by Gerald Appel in the late 1970s and has become one of the most popular momentum indicators in technical analysis.
The name describes what it measures. When the two moving averages move apart, they "diverge"; when they move closer together, they "converge". Tracking this gap helps traders see whether momentum is building or fading.
Because MACD is built from moving averages, it helps to understand them first. If you are new to charts, start with our guide on what technical analysis is, then read moving averages explained.
How MACD Is Calculated
MACD has three parts, and the standard settings are often written as "12, 26, 9":
| Part | Calculation | What It Shows |
|---|---|---|
| MACD line | 12-day EMA − 26-day EMA | The gap between short-term and longer-term momentum |
| Signal line | 9-day EMA of the MACD line | A smoothed version of the MACD line |
| Histogram | MACD line − signal line | How far the MACD line is above or below the signal line |
Example: if a stock's 12-day EMA is $102 and its 26-day EMA is $100, the MACD line is +2. If the signal line is 1.5, the histogram is 2 − 1.5 = +0.5. A positive histogram means the MACD line is above the signal line.
Charting tools calculate all three automatically, but knowing what each part means makes the indicator much easier to read.
How to Read MACD
1. Signal-line crossovers. This is the most common MACD signal.
- Bullish crossover: the MACD line crosses above the signal line, suggesting upward momentum is building.
- Bearish crossover: the MACD line crosses below the signal line, suggesting momentum is weakening.
2. Zero-line (centreline) crossovers.
- When MACD moves above zero, the 12-day EMA has moved above the 26-day EMA, which points to positive momentum.
- When MACD moves below zero, the 12-day EMA has moved below the 26-day EMA, which points to negative momentum.
3. The histogram. Growing bars show the gap between the MACD and signal lines widening; shrinking bars show it narrowing, which can be an early hint that a crossover is coming.
4. Divergence.
- Bullish divergence: the price makes a lower low, but MACD makes a higher low. Selling momentum may be fading.
- Bearish divergence: the price makes a higher high, but MACD makes a lower high. Buying momentum may be fading.
Divergence is a warning, not a confirmed turn. StockCharts notes that bearish divergences are common in strong uptrends, and bullish divergences in strong downtrends, without the trend actually reversing.
MACD vs RSI
| Factor | MACD | RSI |
|---|---|---|
| Type | Trend-following momentum | Momentum oscillator |
| Scale | No fixed upper or lower limit | 0 to 100 |
| Overbought / oversold | Not designed for this | Often uses 70 and 30 |
| Main signals | Crossovers and divergence | Overbought/oversold levels and divergence |
| Built from | Exponential moving averages | Average gains and losses |
Many traders use the two together: MACD to judge the trend and its momentum, and RSI to spot stretched moves. Learn more in our guide to the RSI indicator.
Limits of MACD and Mistakes to Avoid
- Treating every crossover as a trade. In sideways markets, MACD can cross back and forth, producing false signals or "whipsaws".
- Using MACD to call tops and bottoms. MACD has no upper or lower limit, so it is not built to show overbought or oversold levels.
- Comparing MACD values between stocks. MACD is measured in price terms, so a reading of 2 on a $500 stock is not comparable with a reading of 2 on a $20 stock.
- Ignoring price levels and volume. A crossover near a clear support or resistance level, confirmed by strong volume, carries more weight. See why volume matters in short-term trading.
- Trading without an exit plan. Decide where you would exit before you enter. See our stop-loss and take-profit guide.
MACD describes price momentum, not company value. For that, use our fundamental analysis guide.
Related Articles on Raseed Learn
Moving Averages Explained · RSI Indicator Explained · Support and Resistance Levels Explained
Turn chart knowledge into action
Invest in US stocks from $1 with fractional shares. US stock trading fees are 0.5% per trade, with a $0.50 minimum and a $3 maximum.
Explore US Stocks on Raseed →Frequently Asked Questions
Disclaimer
This article is for educational and informational purposes only. It is not investment advice, nor a recommendation, offer or solicitation to buy or sell any security or digital asset. Investing involves risk, including possible loss of principal. Past performance does not guarantee future results.
Securities brokerage services are provided by Fullerverse (SC) Limited, a securities broker-dealer licensed and regulated by the Financial Services Authority of Seychelles (Licence No. SD152). Fullerverse (SC) Limited is a wholly-owned subsidiary of Raseed Invest Inc. Registered address: House of Francis, Room 302, Ile Du Port, Mahe, Seychelles.
Cryptocurrency services are made available by Raseed Crypto LLC ("Raseed Crypto"), a FinCEN-registered money services business (MSB Registration No. 31000316890439) and a wholly-owned subsidiary of Raseed Invest Inc. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Cryptocurrency is highly speculative in nature and involves a high degree of risk, including volatile market price swings, market manipulation, flash crashes and cybersecurity risks. Cryptocurrency regulations are continuously evolving, and it is your responsibility to understand and abide by them. Cryptocurrency trading can lead to large, immediate and permanent loss of financial value. You should have appropriate knowledge and experience before engaging in cryptocurrency trading. For additional information, please see our Crypto Risk Disclosures (https://files.raseedcapital.com/disclosures/library/CryptoRiskDisclosures.pdf).
Cryptocurrency services are not offered by, and are not available through, Raseed Invest Limited, which is regulated by the Dubai Financial Services Authority. Products and services referenced in this article are not available in all jurisdictions and are not directed at any person in a jurisdiction where their offer or availability would be contrary to local law or regulation.