Skip to content
All library documents

A 17-Period Moving Average Crossover Trend Strategy

Article Strategy library · Author: ChaoZhang

Summary

This document describes a basic trend-following system that compares price with a moving average. Its default setup uses a 17-period simple moving average, with a long signal when the close crosses above the average and a short signal when it crosses below. The parameters also allow other price sources and moving average types. The source enters positions on the generated signals, while the accompanying discussion suggests adjusting the average or adding filters and exits.

The article explains the system’s simplicity and its main weakness: a single moving average can produce false signals, especially in sideways markets. It also notes that the strategy has no stop-loss or take-profit rules, leaving losses and drawdowns unmanaged. Published settings show a BTC/USDT futures backtest configuration, but the document provides no performance results. The source’s backtest date inputs default to 2012–2019, which differs from the published test window. Treat the strategy as an instructional example; its claims about trend capture and potential improvement are not supported by reported evidence.

Key ideas

  • A close crossing above or below the moving average generates a long or short signal.
  • The default configuration uses a 17-period average and allows alternative average types and price sources.
  • A single moving average can produce repeated false signals in sideways markets.
  • The described system has no stop-loss or take-profit rule.
  • The document gives backtest settings but reports no performance results.

Tags

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