Skip to content
All library documents

Dynamic Moving Average Trend-Following Strategy

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses moving averages of market highs and lows to follow price direction. It supports several average types, including ALMA, EMA, SMA, WMA, HMA, VWMA, and RMA, and allows the period and chart timeframe to be configured. A long signal occurs when the selected closing-price source is above the low-price average; a short signal occurs when it is below the high-price average. The strategy enters positions in the corresponding direction and can display trend-change signals.

The document presents this as a simple approach for medium- to long-term trading, while noting that moving averages lag and can miss turns. It also identifies whipsaw risk in volatile markets and the possibility that long holds may fail to protect profits. Suggested refinements include tuning average type and period by instrument, adding stop-loss and take-profit rules, checking signals across timeframes, and testing auxiliary indicators. A short BTC/USDT futures backtest configuration is included, but no performance results are reported, so the strategy’s effectiveness is not established.

Key ideas

  • The strategy uses a moving average of lows as the long signal boundary and a moving average of highs as the short signal boundary.
  • It offers multiple moving-average calculations and configurable period and timeframe settings.
  • The rules can lag reversals and may produce poor entries during short-term fluctuations.
  • The document recommends adding exit rules and evaluating signals across timeframes.
  • The published backtest setup contains no reported performance results.

Tags

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