Every trader has experienced this moment: looking at the candlestick chart and feeling that the price is about to reverse, but unsure of the best entry point. At this time, many discover that the MACD Histogram tool can clearly show the strength of the trend with its bar chart—this is why MACD (Moving Average Convergence Divergence) has become the most trusted indicator among traders worldwide.
What exactly is the MACD tool?
MACD is a trend indicator (Trend Indicator) that also functions as a momentum indicator (Momentum Indicator). Its core idea is very simple: when the short-term moving average is far above the long-term moving average, the price is in an uptrend; conversely, it is in a downtrend.
Created by Gerald Appel in the late 1970s, MACD uses the difference between two EMAs (Exponential Moving Averages) to track price changes. Specifically:
EMA(12) captures short-term price fluctuations
EMA(26) represents the long-term trend direction
The difference between these two is the MACD line itself
Today, the standard MACD consists of three core components, each with different purposes.
In-depth analysis of the three main components of MACD
First Layer: MACD Line — The Soul of the Trend
The MACD line is calculated using the formula MACD = EMA(12) - EMA(26).
What does this line tell you?
MACD > 0 (above zero line): Short-term MA is higher than long-term MA, indicating an uptrend
MACD < 0 (below zero line): Short-term MA is lower than long-term MA, indicating a downtrend
But that’s not all. Observing the slope change of the MACD line can reveal the strength of the trend:
Steepening slope (positive becoming more positive, or negative becoming more negative) → Trend strengthening
Slope flattening → Trend may be about to reverse
Second Layer: Signal Line — The Confirmator of MACD
The Signal line is the 9-period EMA of MACD, calculated as Signal Line = EMA(9) of MACD.
This line confirms signals generated by MACD. When the relationship between MACD and the Signal line changes, the most sensitive trading opportunities appear:
MACD > 0 and Signal Line < MACD → Bullish confirmation
MACD < 0 and Signal Line > MACD → Bearish confirmation
Note that the parameters of the Signal line are not fixed at 9. Experienced traders adjust it to EMA(5) or EMA(7) for faster or more stable signals.
Third Layer: MACD Histogram — Visualizing Momentum
This is the part beginners tend to overlook but is very useful: MACD Histogram = MACD - Signal Line
The histogram displays in bar chart form, intuitively showing momentum changes:
Positive bars (upward): MACD > Signal Line, strong upward trend
Taller bars → stronger trend
Shrinking bars → warning of weakening upward momentum
Negative bars (downward): MACD < Signal Line, strong downward trend
Lower bars → stronger trend
Shrinking bars → warning of weakening downward momentum
Histogram = 0 (key turning point): Critical moment when price is about to reverse
From negative to positive → buy signal
From positive to negative → sell signal
Why use EMA instead of SMA for MACD?
Good question. Both moving averages have their characteristics:
SMA (Simple Moving Average) assigns equal weight to all data points, resulting in a smooth line but slow to react to recent price changes.
EMA (Exponential Moving Average) gives more weight to recent prices, making it more sensitive and faster to respond. This is crucial for traders—EMA helps you seize opportunities in fast-moving markets.
Practical calculation example: Using USDCHF data to understand MACD
Here is a real calculation example based on USDCHF data:
Formulas:
EMA(12) = (P × k) + previous EMA × (1 - k()
EMA(26) = )P × k( + previous EMA × (1 - k))
where k = 2 / ((n+1))
Date
Closing Price
EMA(12(
EMA)26)
MACD
Signal Line
MACD Histogram
2023/07/21
0.8651
0.8705
0.8808
-0.0104
-0.0067
-0.0037
2023/07/20
0.8579
0.8728
0.8821
-0.0093
-0.0057
-0.0036
2023/06/22
0.8923
0.8998
0.8996
0.0002
0.0016
-0.0014
2023/06/21
0.8977
0.9002
0.9002
0.0000
0.0019
-0.0019
Looking at the table, you’ll notice that when the MACD Histogram shifts from negative to positive (June 21, 2023, at 0.0000), it signals a trend change.
What can MACD tell traders?
( Uses 1: Identifying Trend Direction
This is MACD’s most basic function. When EMA)12( is above EMA)26(, the market is in an uptrend; otherwise, it’s in a downtrend. The key is the Zero Cross (Zero Line Crossover):
MACD crossing above zero = confirmation of a bullish trend
MACD crossing below zero = confirmation of a bearish trend
) Uses 2: Measuring Trend Strength (Momentum)
Momentum depends not only on direction but also on strength. Observe these phenomena:
Strong upward trend appears when: EMA###12( is far above EMA)26(, MACD keeps rising, and Histogram bars grow taller.
Weakening upward trend shows as: MACD remains positive but starts decreasing, and Histogram bars shorten — an early warning sign.
Strong downward trend occurs when: EMA)12### is far below EMA(26), MACD declines, and Histogram bars grow more negative.
Weakening downward trend appears as: MACD remains negative but starts approaching zero, with Histogram bars shortening.
( Uses 3: Detecting Divergence — The Trader’s Secret Weapon
Divergence refers to the inconsistency between price and indicator directions, often signaling major reversals:
Bearish Divergence:
Price makes a new high, but MACD’s new high is lower than the previous high
Indicates rising price momentum is weakening
Possible reversal from uptrend to downtrend
Bullish Divergence:
Price makes a new low, but MACD’s new low is higher than the previous low
Indicates falling price momentum is weakening
Possible reversal from downtrend to uptrend
Divergence signals are not frequent, but when they appear, their accuracy is remarkable — that’s why professional traders value them highly.
Practical MACD trading rules
) Method 1: Zero Cross Strategy
The simplest, easiest-to-learn method.
Setup: MACD (12, 26, 9)
Buy Signal:
MACD crossing above zero line from below = trend shifts from down to up
Preferred by conservative traders
Sell Signal:
MACD crossing below zero line from above = trend shifts from up to down
This method is straightforward; its downside is slower reaction, possibly missing early rapid moves.
( Method 2: MACD and Signal Line Crossover Strategy
An advanced method to catch earlier signals.
Setup: MACD )12, 26, 9###
Buy Signal:
MACD crossing above Signal line from below
Even if MACD is still below zero, it’s a buy opportunity — indicating an imminent zero line crossing
Sell Signal:
MACD crossing below Signal line from above
Even if MACD is still above zero, it’s a sell signal
This method is more leading: it usually gives 2-3 candles’ advance over zero cross signals. The trade-off is more false signals, especially in ranging markets.
Using MACD Histogram can simplify this: Histogram = 0 point indicates the crossover.
Method 3: Divergence Trading
An advanced but valuable technique.
Setup: MACD (12, 26, 9)
Bullish Divergence Trading Logic:
Price creates a new low
MACD’s new low is higher than the previous low
MACD begins crossing above zero
Enter long → market likely reverses from downtrend to uptrend
Bearish Divergence Trading Logic:
Price creates a new high
MACD’s new high is lower than the previous high
MACD begins crossing below zero
Enter short → market likely reverses from uptrend to downtrend
Divergence requires experience and patience, but when it occurs, success rate is astonishing.
Combining MACD with other indicators
MACD is most prone to false signals during consolidations. Here are some effective combinations:
Combo 1: MACD + RSI
Goal: Use RSI to identify overbought/oversold levels, confirm with MACD trend
When RSI enters Oversold (<30) and MACD crosses above zero → strong buy signal
When RSI enters Overbought (>70) and MACD crosses below zero → strong sell signal
( Combo 2: MACD + Bollinger Bands
Goal: Use Bollinger Bands to detect volatility changes, confirm trend reversals with MACD
When bands tighten and MACD shows zero line crossover → breakout imminent
Especially when Histogram shifts from positive to negative or vice versa, combined with band tightening, signals are highly reliable
) Combo 3: MACD + Price Patterns
Goal: Use patterns to identify structures, confirm with MACD breakout
Triangles, double tops/bottoms forming with shrinking Histogram
When price breaks out and MACD crosses zero → trend confirmed
Limitations of MACD: What you must know
MACD is a lagging indicator. This is its biggest weakness. It’s based on historical data, so it always signals after a trend has already formed.
Specific manifestations:
Zero Cross signals are slow: trend may have been established long before crossing zero, missing early profits
Crossover signals are faster but can generate many false signals in ranging markets
Divergence signals are most valuable but occur infrequently and are not available every day
Key advice: Never rely solely on MACD for trading. It must be combined with other technical tools, risk management strategies, and market structure analysis.
Setting up MACD on trading platforms
Most modern platforms (like Mitrade) have similar steps:
Add indicator: select “Add Indicator” on the chart toolbar, find MACD
Adjust parameters:
Fast Length: default 12, can be changed to 8-15
Slow Length: default 26, can be changed to 20-30
Signal Length: default 9, can be changed to 5-12
The golden rule for parameter adjustment: shorter timeframes (like 5-minute charts) → smaller parameters; longer timeframes (daily charts) → default or larger.
Final advice
MACD is a powerful but imperfect tool. It’s best used to:
✓ Confirm existing trend direction
✓ Detect changes in trend strength
✓ Capture divergence signals in advanced use
✓ Filter false signals when combined with other indicators
✗ Not for sole price prediction
✗ Relying on it in a completely ranging market
✗ Ignoring risk management and overtrading
The most successful traders use MACD like this: only when the MACD Histogram clearly changes direction, price patterns show breakout signs, and risk-reward ratio is at least 1:2, do they enter trades. This isn’t the fastest method, but it’s the most reliable.
Practice, adjust, and optimize continuously—that’s the only way to master MACD. Wishing you successful trading!
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.
Complete Guide to MACD Histogram and Indicators: From Beginner to Practical Application
Starting with a Real Trading Dilemma
Every trader has experienced this moment: looking at the candlestick chart and feeling that the price is about to reverse, but unsure of the best entry point. At this time, many discover that the MACD Histogram tool can clearly show the strength of the trend with its bar chart—this is why MACD (Moving Average Convergence Divergence) has become the most trusted indicator among traders worldwide.
What exactly is the MACD tool?
MACD is a trend indicator (Trend Indicator) that also functions as a momentum indicator (Momentum Indicator). Its core idea is very simple: when the short-term moving average is far above the long-term moving average, the price is in an uptrend; conversely, it is in a downtrend.
Created by Gerald Appel in the late 1970s, MACD uses the difference between two EMAs (Exponential Moving Averages) to track price changes. Specifically:
Today, the standard MACD consists of three core components, each with different purposes.
In-depth analysis of the three main components of MACD
First Layer: MACD Line — The Soul of the Trend
The MACD line is calculated using the formula MACD = EMA(12) - EMA(26).
What does this line tell you?
But that’s not all. Observing the slope change of the MACD line can reveal the strength of the trend:
Second Layer: Signal Line — The Confirmator of MACD
The Signal line is the 9-period EMA of MACD, calculated as Signal Line = EMA(9) of MACD.
This line confirms signals generated by MACD. When the relationship between MACD and the Signal line changes, the most sensitive trading opportunities appear:
Note that the parameters of the Signal line are not fixed at 9. Experienced traders adjust it to EMA(5) or EMA(7) for faster or more stable signals.
Third Layer: MACD Histogram — Visualizing Momentum
This is the part beginners tend to overlook but is very useful: MACD Histogram = MACD - Signal Line
The histogram displays in bar chart form, intuitively showing momentum changes:
Positive bars (upward): MACD > Signal Line, strong upward trend
Negative bars (downward): MACD < Signal Line, strong downward trend
Histogram = 0 (key turning point): Critical moment when price is about to reverse
Why use EMA instead of SMA for MACD?
Good question. Both moving averages have their characteristics:
SMA (Simple Moving Average) assigns equal weight to all data points, resulting in a smooth line but slow to react to recent price changes.
EMA (Exponential Moving Average) gives more weight to recent prices, making it more sensitive and faster to respond. This is crucial for traders—EMA helps you seize opportunities in fast-moving markets.
Practical calculation example: Using USDCHF data to understand MACD
Here is a real calculation example based on USDCHF data:
Formulas:
Looking at the table, you’ll notice that when the MACD Histogram shifts from negative to positive (June 21, 2023, at 0.0000), it signals a trend change.
What can MACD tell traders?
( Uses 1: Identifying Trend Direction
This is MACD’s most basic function. When EMA)12( is above EMA)26(, the market is in an uptrend; otherwise, it’s in a downtrend. The key is the Zero Cross (Zero Line Crossover):
) Uses 2: Measuring Trend Strength (Momentum)
Momentum depends not only on direction but also on strength. Observe these phenomena:
Strong upward trend appears when: EMA###12( is far above EMA)26(, MACD keeps rising, and Histogram bars grow taller.
Weakening upward trend shows as: MACD remains positive but starts decreasing, and Histogram bars shorten — an early warning sign.
Strong downward trend occurs when: EMA)12### is far below EMA(26), MACD declines, and Histogram bars grow more negative.
Weakening downward trend appears as: MACD remains negative but starts approaching zero, with Histogram bars shortening.
( Uses 3: Detecting Divergence — The Trader’s Secret Weapon
Divergence refers to the inconsistency between price and indicator directions, often signaling major reversals:
Bearish Divergence:
Bullish Divergence:
Divergence signals are not frequent, but when they appear, their accuracy is remarkable — that’s why professional traders value them highly.
Practical MACD trading rules
) Method 1: Zero Cross Strategy
The simplest, easiest-to-learn method.
Setup: MACD (12, 26, 9)
Buy Signal:
Sell Signal:
This method is straightforward; its downside is slower reaction, possibly missing early rapid moves.
( Method 2: MACD and Signal Line Crossover Strategy
An advanced method to catch earlier signals.
Setup: MACD )12, 26, 9###
Buy Signal:
Sell Signal:
This method is more leading: it usually gives 2-3 candles’ advance over zero cross signals. The trade-off is more false signals, especially in ranging markets.
Using MACD Histogram can simplify this: Histogram = 0 point indicates the crossover.
Method 3: Divergence Trading
An advanced but valuable technique.
Setup: MACD (12, 26, 9)
Bullish Divergence Trading Logic:
Bearish Divergence Trading Logic:
Divergence requires experience and patience, but when it occurs, success rate is astonishing.
Combining MACD with other indicators
MACD is most prone to false signals during consolidations. Here are some effective combinations:
Combo 1: MACD + RSI
Goal: Use RSI to identify overbought/oversold levels, confirm with MACD trend
( Combo 2: MACD + Bollinger Bands
Goal: Use Bollinger Bands to detect volatility changes, confirm trend reversals with MACD
) Combo 3: MACD + Price Patterns
Goal: Use patterns to identify structures, confirm with MACD breakout
Limitations of MACD: What you must know
MACD is a lagging indicator. This is its biggest weakness. It’s based on historical data, so it always signals after a trend has already formed.
Specific manifestations:
Key advice: Never rely solely on MACD for trading. It must be combined with other technical tools, risk management strategies, and market structure analysis.
Setting up MACD on trading platforms
Most modern platforms (like Mitrade) have similar steps:
The golden rule for parameter adjustment: shorter timeframes (like 5-minute charts) → smaller parameters; longer timeframes (daily charts) → default or larger.
Final advice
MACD is a powerful but imperfect tool. It’s best used to:
✓ Confirm existing trend direction ✓ Detect changes in trend strength ✓ Capture divergence signals in advanced use ✓ Filter false signals when combined with other indicators
✗ Not for sole price prediction ✗ Relying on it in a completely ranging market ✗ Ignoring risk management and overtrading
The most successful traders use MACD like this: only when the MACD Histogram clearly changes direction, price patterns show breakout signs, and risk-reward ratio is at least 1:2, do they enter trades. This isn’t the fastest method, but it’s the most reliable.
Practice, adjust, and optimize continuously—that’s the only way to master MACD. Wishing you successful trading!