Skip to content
All library documents

Dual SMA Crossover Signals and Automatic Position Reversals

Article Strategy library · Author: ianzeng123

Summary

This trend-following system uses a short-period and a long-period simple moving average to generate directional signals. With the stated defaults of nine and twenty-one periods, a crossover of the short average above the long average triggers a long entry; a downward crossover triggers a short entry. On a new signal, the strategy closes the opposing position before opening the new one. Users can change the price source and average lengths, and the chart plots both averages and marks entries.

The document identifies familiar limitations of crossover methods: lag, false signals, and repeated trades in sideways markets. It notes that the implementation has no explicit stop loss and suggests possible additions such as trend filters, volatility-based stops, volume confirmation, or staged entries. Backtest settings specify ETH/USDT futures over part of early 2025, but no results are reported. Claims that the small number of parameters reduces overfitting are not demonstrated by performance evidence; the strategy still requires testing across markets and conditions.

Key ideas

  • A nine-period and a twenty-one-period SMA form the stated default crossover pair.
  • An upward crossover opens a long position, while a downward crossover opens a short position.
  • The strategy closes an opposing position when a new directional signal appears.
  • Sideways markets can cause repeated signals, while moving averages can respond late to changes.
  • The document reports backtest settings but provides no performance results or explicit stop-loss rule.

Tags

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