Skip to content
All library documents

Combining Moving Average Crossovers with MACD Momentum

Article Strategy library · Author: ChaoZhang

Summary

The document presents a trend-following approach that combines a fast and slow moving average crossover with MACD. Its stated rules use a 12-period fast average and a 26-period slow average, alongside a MACD signal line smoothed over 9 periods. The prose describes taking long positions when the averages and MACD both turn bullish, and short positions when both turn bearish. The source code, however, generates entries and exits from MACD signal-line crossovers alone, so the described combined confirmation is not clearly implemented.

The strategy is illustrated with a BTC/USDT futures backtest configuration spanning about a year, but no returns, trade statistics, or benchmark comparison are provided. The document identifies familiar limitations: crossover signals can lag, MACD can whipsaw, and countertrend crosses may be temporary pullbacks. It recommends parameter testing, added confirmation, stop losses, and money management, but does not report evidence that these changes improve results.

Key ideas

  • The stated approach combines moving average direction with MACD momentum confirmation.
  • The documented settings use 12-, 26-, and 9-period calculations.
  • The provided source enters and exits on MACD crossovers, without visibly requiring a separate moving average crossover.
  • Lag and false signals can affect performance, especially during pullbacks or choppy markets.
  • A backtest configuration is supplied, but no performance results are reported.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.