Volume-Confirmed Breakout Strategy with EMA Trend and ATR Stops
Summary
This long-only strategy combines trend, volume, and price breakout conditions. It defines the trend as a faster exponential moving average above a slower one, then requires price to close above the prior twenty-bar high with volume exceeding its twenty-bar average by a set margin. An additional filter requires smoothed On-Balance Volume to exceed its own moving average. The script also marks possible accumulation and low-volume pullback conditions, though these labels do not directly trigger trades.
For risk control, it places a stop below the lower of a recent swing low and the slower EMA, with an added ATR buffer. The target is calculated at twice the per-share risk, and entries are made only when the computed risk is positive. VWAP and moving averages are plotted for context.
The author describes the script as a learning exercise. No backtest results, transaction costs, market or timeframe specification, or evidence of robustness are provided. The code sets the exit levels from current-bar calculations, so users should examine how those levels behave as prices change and verify the strategy in their intended environment.
Key ideas
- The long entry requires an upward EMA relationship, a twenty-bar high breakout, elevated volume, and positive smoothed OBV confirmation.
- The accumulation and washout labels describe conditions but do not create entries.
- The stop is placed below the lower of a recent swing low and the slower EMA, with an ATR buffer.
- The profit target is set at twice the calculated per-share risk.
- The document presents the strategy for learning and gives no performance validation.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.