MACD stands for Moving Average Convergence Divergence. It is a technical analysis tool designed to monitor (Trend) and measure the strength of (Momentum) movements simultaneously.
This indicator was developed from moving averages that have been around for decades. Gerald Appeal created it in the 1970s by comparing two EMAs—one measuring short-term changes and the other long-term. When these two lines come close (Convergence) or move apart (Divergence), it indicates the market condition.
What are the components of MACD?
The MACD used by traders today consists of three main parts:
1. MACD Line - Main line
Calculated by subtracting the 26-day (standard 26-day) EMA from the 12-day (standard 12-day) EMA:
Formula: MACD = EMA(12) - EMA(26)
This line indicates the relationship between short-term and long-term trends:
MACD > 0: Upward price trend (Short-term EMA above)
MACD < 0: Downward price trend (Short-term EMA below)
Slope of the line: Steeper slope = stronger momentum
2. Signal Line - Signal indicator
Signal Line = EMA(9) of MACD
Calculated as a 9-period exponential moving average of the MACD line itself. Its role is to help traders identify change points more quickly by comparing it with the main MACD line.
3. MACD Histogram - Bar graph
Histogram = MACD - Signal Line
Displays the difference between the two lines as a bar graph for clearer visualization:
Histogram = 0: Critical point — trend is changing direction
Why does MACD use EMA instead of SMA?
Moving averages come in two types:
SMA: Equal weight to all data points — smooth but slow
EMA: Greater weight to recent prices — responds quickly and is more sensitive to changes
For MACD, EMA is preferred because stock prices are time series data that require indicators to signal quickly without lag.
What does MACD tell us? 3 key insights
Signal 1: Trend Direction(
When MACD crosses above the Central Line → Signal to buy )or Zero Cross upward(
When MACD crosses below the Central Line → Signal to sell )or Zero Cross downward(
This confirms that short-term and long-term movements are aligned.
) Signal 2: Momentum Strength
Observe the slope of the MACD line:
Strong momentum: MACD line moves further from the Central Line, increasing slope
Weak momentum: Slope decreases, MACD approaches the Central Line — consider a potential reversal
Signal 3: Divergence — Contradictory signals
Occurs when the price and MACD move in opposite directions:
Bearish Divergence: Price makes a new high, but MACD does not — warns that the uptrend may end
Bullish Divergence: Price makes a new low, but MACD does not — warns that the downtrend may end
How to calculate MACD: Real example
EMA formula:
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
MACD Indicator Every Trader Should Know: Usage and Accuracy
What is MACD Really?
MACD stands for Moving Average Convergence Divergence. It is a technical analysis tool designed to monitor (Trend) and measure the strength of (Momentum) movements simultaneously.
This indicator was developed from moving averages that have been around for decades. Gerald Appeal created it in the 1970s by comparing two EMAs—one measuring short-term changes and the other long-term. When these two lines come close (Convergence) or move apart (Divergence), it indicates the market condition.
What are the components of MACD?
The MACD used by traders today consists of three main parts:
1. MACD Line - Main line
Calculated by subtracting the 26-day (standard 26-day) EMA from the 12-day (standard 12-day) EMA:
Formula: MACD = EMA(12) - EMA(26)
This line indicates the relationship between short-term and long-term trends:
2. Signal Line - Signal indicator
Signal Line = EMA(9) of MACD
Calculated as a 9-period exponential moving average of the MACD line itself. Its role is to help traders identify change points more quickly by comparing it with the main MACD line.
3. MACD Histogram - Bar graph
Histogram = MACD - Signal Line
Displays the difference between the two lines as a bar graph for clearer visualization:
Why does MACD use EMA instead of SMA?
Moving averages come in two types:
For MACD, EMA is preferred because stock prices are time series data that require indicators to signal quickly without lag.
What does MACD tell us? 3 key insights
Signal 1: Trend Direction(
This confirms that short-term and long-term movements are aligned.
) Signal 2: Momentum Strength
Observe the slope of the MACD line:
Signal 3: Divergence — Contradictory signals
Occurs when the price and MACD move in opposite directions:
How to calculate MACD: Real example
EMA formula: