EMA Crossover Strategy with Higher-Low and Lower-High Confirmation
Summary
This trend-following approach combines 8- and 21-period exponential moving averages with sequences of higher lows or lower highs. The accompanying description presents those price patterns as confirmation for reversals, with stop-loss and take-profit levels intended to limit risk and secure gains.
The source code’s actual entry conditions differ from that explanation: trades are triggered by EMA crossovers, while the higher-low and lower-high patterns are not part of the entry rules. It sets stops at 5% and profit targets at 16% from entry, and closes or reverses positions when an opposing crossover occurs. The published backtest settings identify BTC/USDT futures and a date range, but provide no performance results. The approach may produce whipsaws in sideways markets, and its fixed exits may not suit changing volatility; the brief historical setup does not establish robustness across markets or timeframes.
Key ideas
- The described method uses 8- and 21-period EMAs to identify shifts in trend direction.
- The overview proposes higher-low and lower-high patterns as confirmation, but the source code does not use them for trade entries.
- The code enters on EMA crossovers and sets fixed stop-loss and take-profit levels of 5% and 16% from entry.
- Opposing crossover signals can close a position and initiate a position in the other direction.
- Sideways markets can cause false signals, and the published backtest settings include no performance evidence.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.