Skip to content
All library documents

Double Moving Average Crossover Trend Following with Risk Controls

Article Strategy library · Author: ChaoZhang

Summary

This trend-following approach uses a faster and slower moving average to determine direction. A fast average crossing above the slow average signals a long, while a downward cross signals a short. The text explains that changing the periods can shift the strategy between shorter and longer trend horizons. It also describes take-profit, stop-loss, and trailing-stop controls. In the supplied implementation, the fast average is an EMA and the slow average is an SMA, with default periods of 15 and 21; the strategy can also invert trade direction and limit its start time. Published backtest settings name BTC_USDT futures and a date range, but provide no performance results.

The document identifies whipsaws in ranging markets, lag, and false breakouts as key weaknesses. It suggests testing volume or volatility filters, alternative average types, different periods, and other stop methods. The strategy’s simplicity makes its rules easy to inspect, but the text’s broad claims about stability and potential improvement are not supported by reported results. Any evaluation should account for costs and test across market conditions rather than infer effectiveness from the crossover logic alone.

Key ideas

  • A fast moving average crossing above or below a slow one determines the strategy’s trade direction.
  • The supplied implementation uses a 15-period EMA and a 21-period SMA by default.
  • Take-profit, stop-loss, and trailing-stop settings are available, along with an optional start-time limit.
  • Moving-average lag and repeated crosses in range-bound markets can produce late or false signals.
  • Backtest settings are provided, 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.