Bollinger Band Reversal Grid with Trend, ADX, and Session Filters
Summary
The available script excerpt describes a mean-reversion grid strategy built around Bollinger Bands. A long setup follows a move below the lower band and a close back above it; a short setup follows a move above the upper band and a close back below. Both setups require low ADX, alignment with a higher-timeframe EMA when enabled, and activity within a specified session. Grid spacing can be fixed or derived from ATR, while position size is calculated from a cash risk budget and stop distance, with an option to invert the lot sequence.
The excerpt also includes a total stop distance, a target beyond the band basis, and logic to cancel pending orders when flat or when the session ends. However, the supplied document cuts off during the order-management section, so full entry execution and exit behavior cannot be confirmed. It provides code settings but no backtest results or evidence that the risk calculation performs as intended across instruments. Grid accumulation and parameter sensitivity make independent review of sizing and execution important.
Key ideas
- The strategy looks for price to return inside a Bollinger Band after crossing its outer edge.
- Low ADX, higher-timeframe EMA alignment, and a session window can filter entries.
- Grid spacing may use ATR or a fixed pip distance, and size depends on a cash risk input.
- The excerpt includes a total stop distance and a target beyond the band basis.
- The document is truncated and provides no backtest performance evidence.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.