Skip to content
All library documents

Dual Moving Average and MACD Trend-Following Strategy

Article Strategy library · Author: ChaoZhang

Summary

This strategy combines 50 and 200 period exponential moving averages to define the broader trend with MACD signals to time entries. It uses the MACD histogram’s position relative to zero alongside the moving average direction, and limits the number of trades after a trend crossover. Entries use limit prices offset from the market, with percentage based take profit and stop loss orders.

The document describes settings and a sample backtest configuration for BTC/USDT futures, but gives no performance results. It identifies lagging MACD signals, incorrect trend classification, and instrument specific parameter choices as risks. Its further suggestions include testing alternative trend filters, adding volatility based exits, reducing trades near the MACD zero line, and evaluating parameters across instruments. The provided description and code are not fully aligned on which averages define the trend and how MACD signals are used, so the exact rules should be checked before evaluation.

Key ideas

  • The 50 and 200 period exponential averages are used to identify the broad market direction.
  • MACD histogram behavior around zero is used to inform trade timing.
  • The strategy caps trades after a moving average trend change and uses limit entries with stop loss and take profit exits.
  • Lagging signals and instrument specific parameter tuning may limit performance.
  • The document provides backtest settings but no reported results.

Tags

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