Skip to content
All library documents

Repainting Swing Signals with EMA Context and Fixed Risk Levels

Article Strategy library · Author: ianzeng123

Summary

This strategy identifies the current highest high or lowest low within a lookback window as a live swing point. A detected low prompts a long entry and a detected high prompts a short entry, subject to a cooldown between signals. It adds an EMA for trend context, draws trendlines from recent swing points, and sets fixed percentage stop-loss and take-profit levels. The published configuration uses a 20-bar swing length, a 10-bar cooldown, a 50-period EMA, and a one-to-two percent stop and target.

The document provides a DOGE_USDT futures backtest interval, but no performance measurements. Its central caveat is repainting: swing points can change as new prices arrive, so historical signals may look better or differ from those available live. Choppy markets can also generate frequent trades, while fixed percentage exits ignore changing volatility. Suggested refinements include volatility-adjusted parameters and stops, trend-strength filters, and higher-timeframe confirmation; these remain proposals rather than demonstrated improvements.

Key ideas

  • The strategy enters long at newly detected swing lows and short at newly detected swing highs, with a cooldown between signals.
  • A 50-period EMA provides trend context, while trendlines visualize recent swing points.
  • Fixed percentage stop and target levels define exits, independent of current volatility.
  • Because the swing points repaint, historical signals may not match what was observable in real time.
  • The DOGE_USDT futures backtest interval is given without performance results.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.