Skip to content
All library documents

EMA and SuperTrend Breakouts with Swing-Level Exits

Article Strategy library · Author: ianzeng123

Summary

This trend-following system combines EMAs calculated from highs and lows, an ATR-based SuperTrend direction, and recent swing points. A close beyond an EMA channel marks a potential setup; the strategy then waits for a subsequent candle to break the signal candle’s high or low before entering. The described exits use the opposite EMA boundary or a recent swing level, and the strategy includes an optional long-only mode. The accompanying code shows configurable EMA, ATR, and swing lookback inputs, along with position sizing as a percentage of equity.

The document gives a detailed explanation of the rules and discusses risks, including lagging signals, false breakouts, whipsaws in ranging markets, distant stops, gaps, and overfitting. It provides no measured performance results. Its proposed additions—such as volume and higher-timeframe filters or profit protection—are suggestions for future evaluation, not demonstrated improvements. The prose also describes SuperTrend as a trend confirmation, while the displayed entry conditions do not explicitly include a SuperTrend direction check, so the implementation should be checked before relying on that description.

Key ideas

  • An EMA channel identifies potential breakouts, with a later price break used as entry confirmation.
  • The described exits use recent swing levels or the opposite EMA boundary.
  • The strategy offers an optional long-only mode and equity-based position sizing.
  • The text describes SuperTrend confirmation, but the displayed entry conditions do not explicitly apply it.
  • No performance results are reported, and ranging markets, gaps, and parameter overfitting are identified as risks.

Tags

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