Basic Dual EMA Crossover Strategy with Date-Range Controls
Summary
This simple trend-following method calculates fast and slow EMAs and uses their crossovers to guide trades: a fast-line move above the slow line opens a long position, while a move below closes positions. The strategy includes inputs for EMA periods and a configurable backtest date window, along with chart plots of both averages. Its published defaults are 10 and 21, and the backtest configuration identifies BTC_USDT futures.
The document explains that EMA smoothing may reduce price noise, but the approach can trade repeatedly in choppy markets and is sensitive to period selection. It recommends testing other filters, adding stop losses, considering transaction costs and slippage, and avoiding overfitting the date window. No strategy performance results are presented. Also, the supplied source initializes its in-window condition as always true, so the described date filtering does not appear to be active in that code as shown; this limits what can be inferred from the published backtest setup.
Key ideas
- Fast and slow EMA crosses form the entry and position-closing rules.
- The strategy exposes EMA periods and intended backtest date controls.
- Frequent signals in choppy markets and parameter sensitivity are key risks.
- Costs, slippage, stops, and additional filters are proposed improvements.
- The published source does not appear to activate its described date filter.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.