Skip to content
All library documents

Dual Simple Moving Average Crossovers for Trend Signals

Article Strategy library · Author: ChaoZhang

Summary

This basic trend-following strategy calculates fast and slow simple moving averages from closing prices. A cross of the fast average above the slow average generates a long entry, while a cross below generates a short entry. The lengths are adjustable, allowing the user to change how quickly the averages respond. The source code also plots both averages and marks the crossover signals on the chart.

The document gives a BTC/USDT futures backtest configuration for a stated period, but it includes no performance metrics, trade analysis, or comparison with a benchmark. Its discussion notes that crossovers can whipsaw in range-bound markets and that the strategy has no stop-loss logic, exposing positions to potentially large losses. It also raises the possibility that widely observed signals may be anticipated by other traders. Volume filters and stop rules are suggested as possible extensions, but their effects are not tested in the material. The rules are straightforward to implement, yet their effectiveness depends on market conditions and parameter choices.

Key ideas

  • The strategy uses a fast and slow simple moving average of closing prices.
  • A fast-average cross above the slow average enters long, while a cross below enters short.
  • The document provides a BTC/USDT futures test configuration but no performance findings.
  • No stop-loss rule is included, and sideways markets may generate repeated false signals.
  • Volume filters and additional risk controls are proposed but not evaluated.

Tags

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