Box Breakouts with Volume Confirmation and ATR-Based Exits
Summary
This breakout strategy defines a price range from the prior bars' highs and lows, then enters long when the close exceeds the range high or short when it falls below the range low. An optional volume condition requires current volume to exceed its moving average. For each entry, the script sets a stop at a multiple of ATR from the closing price and a profit target based on a configurable risk-to-reward ratio. It also plots the range boundaries and midpoint.
The document includes source logic but no backtest dates, market-specific evaluation, or reported results. The surrounding description mentions additional ideas such as higher-timeframe trends and liquidity sweeps, but these are not implemented in the provided strategy code. Practical performance will depend on the instrument, timeframe, costs, and execution, and the code does not establish that volume confirmation improves results or that the stated risk-to-reward setting is realized.
Key ideas
- The range is calculated from the highs and lows of preceding bars.
- A close beyond either range boundary triggers a directional entry, optionally gated by above-average volume.
- ATR sets the stop distance, and the target is derived from the stop distance and a risk-to-reward parameter.
- The accompanying discussion refers to filters that do not appear in the provided implementation.
- No backtest results are supplied to validate the setup.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.