EMA Crossover Trend Strategy with Dynamic Trailing Stops
Summary
This strategy uses a short and long EMA crossover to signal long and short positions, with default lengths of 9 and 21 periods. After entry, it tracks the favorable price extreme and places a trailing stop a configurable percentage away. The document also describes chart signals and alerts, though these support monitoring rather than establish strategy performance.
The discussion identifies whipsaws in sideways markets, lagging entries, sensitivity to stop distance, gaps, and overfitting as important limitations. It proposes trend or volume filters, volatility-based stop distances, partial profit-taking, and testing across markets and periods. The published setup specifies a daily Binance futures backtest on TRX/USD from April 2024 to April 2025, but gives no performance results. The code and prose also leave practical execution details, including fill behavior around stop levels, unaddressed; a trailing stop cannot guarantee its intended exit price during a gap.
Key ideas
- A short EMA crossing above or below a long EMA generates directional entry signals.
- The trailing stop follows the highest price in a long trade and the lowest price in a short trade.
- Whipsaws, delayed signals, stop sensitivity, and price gaps can undermine results.
- The published example gives a market and test period but reports no backtest performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.