Skip to main content

What Is MACD? Moving Average Convergence Divergence Explained - Perpmate

MACD (Moving Average Convergence Divergence) is a trend-following momentum indicator that reveals changes in the strength, direction, and duration of a price trend. It is built from the relationship between two moving averages and is one of the most versatile tools available to perpetual futures traders for timing entries and identifying trend shifts.

MACD Components

The MACD indicator has three parts that work together:

1. MACD Line

The MACD line is calculated by subtracting the 26-period EMA from the 12-period EMA:

MACD Line = 12 EMA - 26 EMA

When the MACD line is positive (above zero), the short-term moving average is above the long-term average, indicating bullish momentum. When negative, bearish momentum dominates.

2. Signal Line

The signal line is a 9-period EMA of the MACD line itself. It acts as a trigger for buy and sell signals when it crosses the MACD line.

3. Histogram

The histogram visually represents the difference between the MACD line and the signal line:

Histogram = MACD Line - Signal Line

Histogram StateMeaning
Positive and growingBullish momentum is accelerating
Positive and shrinkingBullish momentum is decelerating (potential reversal ahead)
Negative and growingBearish momentum is accelerating
Negative and shrinkingBearish momentum is decelerating (potential reversal ahead)

The histogram is the earliest component to signal a momentum shift, often turning before the MACD and signal lines cross.

MACD Trading Signals

Signal Line Crossover

The most common MACD signal:

  • Bullish crossover: MACD line crosses above the signal line. This suggests that short-term momentum is overtaking the longer-term average and price may rise.
  • Bearish crossover: MACD line crosses below the signal line. This suggests momentum is fading and price may fall.

Zero Line Crossover

The MACD line crossing above or below zero provides a broader trend signal:

  • MACD crosses above zero: The 12 EMA has crossed above the 26 EMA, confirming a shift to a bullish trend.
  • MACD crosses below zero: The 12 EMA has crossed below the 26 EMA, confirming a shift to a bearish trend.

MACD Divergence

Like RSI, MACD can form divergences with price:

  • Bullish divergence: Price makes a lower low, but MACD makes a higher low. Selling momentum is weakening.
  • Bearish divergence: Price makes a higher high, but MACD makes a lower high. Buying momentum is weakening.

MACD divergences are particularly powerful when they occur near key support or resistance levels.

Trading with MACD on Perpmate

Strategy 1: Signal Line Crossover Trade

Bullish crossover example:

  1. BTC is in an uptrend and pulls back. The MACD line dips below the signal line temporarily.
  2. On the 4-hour chart, the MACD line crosses back above the signal line while price is near the 50 EMA.
  3. Entry: Long at $61,000 with 10x leverage. Margin: $1,000 USDC. Position size: $10,000.
  4. TL: $59,800 (below the recent swing low). Risk: ($61,000 - $59,800) / $61,000 x 10 = 19.7% = $197.
  5. TP: $64,000 (previous high). Profit: ($64,000 - $61,000) / $61,000 x 10 = 49.2% = $492.
  6. Risk-reward: 1:2.5.

Bearish crossover example:

  1. ETH rallies to $3,800 and the 4-hour MACD line crosses below the signal line.
  2. The histogram turns negative and is growing, confirming bearish momentum.
  3. Entry: Short at $3,780 with 5x leverage. Margin: $2,000. Position size: $10,000.
  4. TL: $3,880 (above the recent high). Risk: ($3,880 - $3,780) / $3,780 x 5 = 13.2% = $264.
  5. TP: $3,550 (next support). Profit: ($3,780 - $3,550) / $3,780 x 5 = 30.4% = $608.
  6. Risk-reward: 1:2.3.

Strategy 2: Histogram Momentum Fade

The histogram provides early signals of momentum exhaustion:

  1. SOL is rallying strongly. The MACD histogram has been positive for 8 consecutive bars.
  2. The histogram prints a smaller bar than the previous one (momentum is slowing).
  3. Over the next 2-3 bars, the histogram continues shrinking.
  4. When the histogram flips from positive to negative, consider entering a short.
  5. Entry: Short SOL at $158 with 5x leverage after the histogram turns negative.
  6. TL: $162 (above the peak). TP: $148 (previous consolidation area).

This approach catches trend turns earlier than waiting for the full signal line crossover.

Strategy 3: Zero Line Confirmation

Use the zero line as a trend filter for your perp trades:

  • MACD above zero: Only take long setups. Use signal line crossovers as entry triggers.
  • MACD below zero: Only take short setups. Use signal line crossovers as entry triggers.

This simple filter keeps you on the right side of the larger trend and prevents you from fighting the dominant momentum.

MACD Settings for Crypto Perps

The default settings (12, 26, 9) work well for most situations, but some adjustments can help:

SettingParametersBest For
Default12, 26, 9General trading, 4h and daily charts
Fast8, 17, 9Scalping and short-term trades on 15m-1h charts
Slow19, 39, 9Swing trading, filtering out noise on daily charts

Avoid over-optimizing your settings. The default (12, 26, 9) is the most widely used, which means more traders are watching the same signals, creating self-fulfilling confirmation at crossover points.

Combining MACD with Other Tools

MACD works best when combined with other analysis:

CombinationHow It Works
MACD + Support/ResistanceA bullish MACD crossover at a support level provides a high-confidence long entry
MACD + Moving AveragesUse the 200 EMA as a trend filter and MACD crossovers as entry triggers
MACD + VolumeCrossovers accompanied by rising volume are more reliable
MACD + RSIMACD confirms trend direction while RSI identifies overbought/oversold conditions

Common MACD Mistakes

  1. Trading every crossover: In choppy or consolidating markets, MACD produces frequent false crossovers. Only trade crossovers that align with the broader trend or occur near key levels.
  2. Ignoring the histogram: Many traders focus only on the crossover and miss the earlier momentum warnings that the histogram provides.
  3. Using MACD on very low timeframes: MACD on the 1-minute or 5-minute chart generates excessive noise. Stick to the 1-hour chart or higher for perp trades.
  4. Expecting MACD to catch exact tops and bottoms: MACD is a lagging indicator by design. It confirms momentum shifts rather than predicting them. Use it for trend confirmation, not precise reversal timing.
  • Moving Average: The foundation of the MACD calculation
  • Bull Market: MACD above zero confirms bullish trend structure
  • Bear Market: MACD below zero confirms bearish trend structure
  • Support and Resistance: Combine with MACD for higher-probability trade entries
  • RSI: Complements MACD as a momentum oscillator

For more on building your trading toolkit, read our guide on common trading mistakes to avoid.