Dual EMA Crossover Trend Strategy with Optional Shorts and Stops
Summary
This basic trend-following system calculates fast and slow EMAs and enters long when the fast line crosses above the slow line. A downward crossover closes the long position, and can open a short if shorting is enabled. Users can also configure initial or trailing stops, alert messages, and EMA periods.
The document describes a BTC/USDT futures backtest configured on four-hour bars from mid-September to mid-October 2023, but supplies no performance results or evaluation statistics. Its main practical lesson is the simplicity of crossover rules and their tradeoff: moving averages can follow sustained moves, yet crossover signals often whipsaw in changing or range-bound conditions. The text highlights transaction costs, slippage, fixed-parameter limitations, and the risk of reacting late to reversals. It suggests testing filters such as volume, volatility, or a broader trend measure, while noting that parameter optimization itself can make a system less robust.
Key ideas
- A fast EMA crossing above a slow EMA opens a long position, while the reverse crossover closes it.
- The reverse crossover can initiate a short position when shorting is enabled.
- Initial and trailing stop options are configurable, though the stated backtest source does not implement every advertised option.
- The BTC/USDT futures test configuration provides dates and bar intervals but no performance results.
- Whipsaws, costs, slippage, and fixed parameters are key limitations of simple crossover systems.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.