Dual Moving Average Crossovers with Adjustable Risk Controls
Summary
This strategy uses a fast and a slow simple moving average to generate directional signals: a crossover upward opens a long position, while a downward crossover closes the long and opens a short. Its adjustable controls include fixed stop-loss and take-profit percentages, plus a trailing stop for long positions. The published defaults are a 10-period fast average, a 30-period slow average, a 1% stop, a 2% target, and a 1.5% trailing stop. The document also gives a BTC/USDT futures backtest configuration spanning late 2019 to late 2024, but it reports no performance results.
The method is straightforward to implement and its parameters can be changed for different conditions. However, the document itself warns that repeated crossovers in sideways markets can cause churn, and that slippage and price gaps can undermine assumed exit levels. It also notes that tuning against historical data may overfit. The supplied code manages exits explicitly while long; it does not show equivalent stop and target handling for short positions, so the described three-part risk control should not be assumed to apply symmetrically.
Key ideas
- An upward fast-average crossover opens a long position, while a downward crossover closes it and opens a short.
- The strategy exposes moving-average lengths and percentage-based stop, target, and trailing-stop parameters.
- The published example specifies a BTC/USDT futures test interval but provides no performance statistics.
- Crossovers can generate repeated trades in sideways markets, increasing transaction costs and losses.
- The supplied code applies its explicit stop and target exit logic to long positions, so short-side risk handling is not fully described.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.