Skip to content
All library documents

DAX Breakout Trading with Swing Levels and ATR-Based Exits

Article ProRealCode

Summary

The author presents a DAX strategy on a 30-minute chart that identifies swing highs and lows using moving averages, then enters in the direction of a break beyond those levels. Stochastic and short moving-average filters gate entries, while average true range sets stop-loss and profit-target distances. The system varies position size according to recent trade outcomes and closes positions near the end of the session, including an earlier Friday exit to avoid weekend exposure. The author reports an average of 1.55 trades per day and says the system was run live and performed out of sample after its last optimization in 2016.

The author also emphasizes substantial optimization, recommends fresh out-of-sample or demo testing, and notes that the backtest used a spread of one although a wider spread may be more realistic. No full performance statistics or independent validation are given. The code is specific to one market and timeframe, and the trade-outcome-based sizing rules can change exposure after streaks, so execution costs, robustness, and drawdown behavior require separate assessment.

Key ideas

  • The strategy seeks breakouts beyond swing levels identified with moving-average conditions.
  • Stochastic and moving-average filters control entries, while ATR determines stops and targets.
  • Position size changes in response to recent winning and losing trades.
  • The system exits intraday and applies an earlier Friday close to avoid weekend positions.
  • The author describes heavy optimization and advises out-of-sample or demo validation.

Tags

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