Skip to content
All library documents

A 40-Period SMA Price-Crossover Trend Strategy

Article Strategy library · Author: ChaoZhang

Summary

This document describes a long-only stock strategy that compares the closing price with a 40-period simple moving average. A move above the average opens a long position, and a move back below it closes that position. The rule treats price crossings as possible changes in trend direction and uses the moving average to smooth short-term price variation.

The document discusses adjustable average length, potential whipsaws and trading costs, and the lag that can delay reactions to sudden events. It suggests adding other averages or indicators and using stop-loss rules. The published settings specify a BTC/USDT Binance futures backtest over roughly one month on hourly bars, but no performance results or evaluation method are reported. The source logic and description also do not establish that the approach reliably identifies turning points; its effectiveness would depend on instrument, timeframe, costs, and parameter choices.

Key ideas

  • A close crossing above the 40-period SMA triggers a long entry.
  • A close crossing below the SMA closes the long position.
  • The strategy aims to follow medium- to long-term trends using a smoothed price reference.
  • Moving-average lag and sideways-market whipsaws can delay signals and raise costs.
  • The published backtest settings do not include performance results.

Tags

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