Skip to content
All library documents

Dual SMA Crossover Signals for Trend Following

Article Strategy library · Author: ChaoZhang

Summary

This document describes a two moving average trend-following strategy. It generates a long signal when a faster simple moving average crosses above a slower one, and a short signal when it crosses below. The periods and input price sources are configurable, and the strategy includes start and end dates for historical testing. Published defaults use periods of 36 and 46, with open prices as the inputs.

The rationale is that the shorter average reacts more quickly while the longer average smooths some price noise. The document provides no measured backtest performance, so its claims that crossovers filter false signals or can track trends well are not supported by reported results. It also notes that moving averages lag, may miss short-term moves, and can produce unreliable signals when periods are poorly chosen. Suggested additions include stops, position management, and other indicators; parameter tuning itself can introduce overfitting risk.

Key ideas

  • A long signal occurs when the fast SMA crosses above the slow SMA, and a short signal occurs when it crosses below.
  • The strategy allows users to select the price source and period for each average.
  • A configurable date window supports historical testing, but the document reports no test results.
  • Moving average lag and unsuitable periods can cause missed opportunities or false signals.
  • Stops, position management, and complementary indicators are proposed as risk controls.

Tags

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