Skip to content
All library documents

Dual Moving Average Crossovers for Long and Short Trend Signals

Article Strategy library · Author: ChaoZhang

Summary

This strategy generates directional signals when a faster moving average crosses a slower one: an upward cross opens a long position, and a downward cross opens a short. The document presents configurable periods, with defaults of 5 for the fast average and 20 for the slow one, and describes SMA or EMA as selectable types. It also lists 1% stop-loss and 2% take-profit settings, and the published backtest setup uses BTC/USDT futures with hourly bars over December 2023.

The method is a basic trend-following rule: the shorter average responds more quickly, while the longer average provides a broader reference. The source, however, calculates both averages with the simple-average function even though the input offers EMA as an option. It also derives exit prices from the current close on each bar, so the listed percentages do not necessarily represent fixed levels from the original entry. The document reports no backtest outcomes and warns that crossovers can whipsaw, miss major moves, and be sensitive to chosen periods.

Key ideas

  • A long position is opened when the fast average crosses above the slow average.
  • A short position is opened when the fast average crosses below the slow average.
  • The listed default periods are 5 bars for the fast average and 20 for the slow average.
  • The source offers an SMA/EMA selection but calculates both averages as simple moving averages.
  • The exit levels are based on each bar’s close, and the document gives no performance results.

Tags

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