Skip to content
All library documents

Multi-Period Moving Average Crossover Trend Strategy

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses moving averages with 20-, 50-, 100-, and 200-period lengths to frame trend direction and generate crossover signals. Its description gives priority to crosses involving the 20-period average and longer averages, with the 20/50 pair taking precedence. The written rules describe an upward cross as a long signal and a downward cross as a short signal; they also discuss longer averages as trend filters and the 20/50 cross as an exit cue.

The document provides configurable average types and price inputs, along with a short Bitcoin futures backtest configuration, but reports no measured performance from that setup. Its prose and source logic are not fully aligned: the code’s long condition has specific average-order filters, while its short condition enters short on a 20/50 downward cross without the described longer-average confirmation. Crossover systems can lag and whipsaw in sideways markets. The document recommends evaluating costs, stops, position sizing, and filters, but does not establish that the suggested system is profitable or reliable across markets.

Key ideas

  • The described system compares a 20-period average with 50-, 100-, and 200-period averages.
  • The written rules prioritize the 20/50 cross and use longer averages to assess the broader trend.
  • The source enters short on a 20/50 downward cross, while its long entry includes additional average-order filters.
  • Moving-average signals can lag and produce repeated false entries in ranging markets.
  • The supplied backtest configuration has no accompanying performance results.

Tags

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