What is a moving average convergence divergence (MACD)?
- User
What is a moving average convergence divergence (MACD)?
- Assistant
Moving Average Convergence Divergence (MACD) is a popular technical analysis indicator used in trading stocks, forex, cryptocurrencies, and other assets to identify changes in the strength, direction, momentum, and duration of a trend.
Key Components
-
MACD Line: The core of the indicator, calculated as the difference between two exponential moving averages (EMAs):
- Short-term EMA (typically 12 periods) minus Long-term EMA (typically 26 periods).
- Formula:
MACD Line = 12-period EMA - 26-period EMA
-
Signal Line: A 9-period EMA of the MACD Line itself. It acts as a trigger for buy/sell signals.
- Formula:
Signal Line = 9-period EMA of MACD Line
- Formula:
-
Histogram: Visual bars showing the difference between the MACD Line and Signal Line.
- Formula:
Histogram = MACD Line - Signal Line - Positive histogram = bullish momentum; negative = bearish.
- Formula:
How It Works (Visual Interpretation)
- Convergence: When the short-term EMA approaches the long-term EMA (MACD line nears zero).
- Divergence: When they move apart (MACD line moves away from zero).
Plotted on a chart below the price action, it oscillates around a zero line.
Common Trading Signals
- Bullish Crossover: MACD Line crosses above Signal Line → Buy signal (upward momentum).
- Bearish Crossover: MACD Line crosses below Signal Line → Sell signal (downward momentum).
- Zero Line Cross: MACD above zero = bullish trend; below = bearish.
- Divergences:
- Bullish Divergence: Price makes lower lows, but MACD makes higher lows → Potential reversal up.
- Bearish Divergence: Price makes higher highs, but MACD makes lower highs → Potential reversal down.
Example
Imagine a stock's 12-day EMA is 100 → MACD Line = +5 (bullish). If Signal Line is $4, Histogram = +1 (growing momentum).
Tips
- Default settings: 12, 26, 9 (customizable).
- Best in trending markets; can give false signals in ranging/sideways markets.
- Combine with other indicators (e.g., RSI for overbought/oversold) for confirmation.
Like a deductive trail of price momentum, MACD reveals hidden shifts before they fully emerge. Got a chart or specific asset in mind for deeper analysis?
-