Multi-Timeframe SMA Crossovers with Higher-Timeframe Trend Confirmation
Summary
The strategy uses crossovers between short- and long-period simple moving averages to signal entries, then checks a higher-timeframe trend state before taking a trade. Open positions are closed when that confirmation reverses. Optional take-profit and stop-loss exits are specified in points, alongside the trend-based exit; the document describes these controls as risk management rather than reporting measured performance.
The published settings show a 15-minute base period and a 6-hour chart period for BTC/USDT futures over May 2024. No performance results are provided. The source also uses a higher-timeframe request with lookahead enabled, which can expose future information in historical calculations and undermine backtest validity. The write-up calls the stops dynamic, but the code uses fixed point distances when enabled. SMA parameters need testing, and crossover signals may churn in sideways markets or react poorly to sudden events.
Key ideas
- Short- and long-period SMA crossovers provide the entry signals.
- A higher-timeframe trend filter conditions both long and short entries.
- Positions close when the higher-timeframe confirmation changes against them.
- Take-profit and stop-loss exits are optional and use fixed point distances.
- The published source uses lookahead on its higher-timeframe request, which can bias historical results.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.