Double Bollinger Bands Strategy
Aug 7, 2016

The Double Bollinger Bands Strategy indicator is a trend-following tool that utilizes two sets of Bollinger Bands with different standard deviation multipliers to identify breakout opportunities and manage trade exits.
Usage
The indicator identifies potential trade entries based on the interaction between price and the "inner" bands while confirming momentum with the "outer" bands.
- Long Entry: Occurs when the price closes above the inner upper band while the outer upper band is rising, indicating an expansion in volatility and upward momentum.
- Short Entry: Occurs when the price closes below the inner lower band while the outer lower band is falling, indicating a bearish breakdown.
- Exits: Long positions are closed if the price closes back below the outer upper band or crosses under the Simple Moving Average (SMA). Short positions are closed if the price closes back above the outer lower band or crosses over the SMA.
The strategy is pre-tuned for a 15-minute timeframe on forex pairs like NZDUSD but can be adjusted for various assets by modifying the multipliers and length.
Details
The strategy is constructed using a central Simple Moving Average (SMA) as the baseline. It calculates two distinct volatility envelopes:
- Inner Bands: Calculated using a lower multiplier (e.g., 0.25) to act as a threshold for initial price movement away from the mean.
- Outer Bands: Calculated using a higher multiplier (e.g., 1.5) to define the boundaries of the trend and provide exit signals when price reverts from extreme levels.
By requiring the outer bands to be trending (rising for longs, falling for shorts), the script filters out sideways markets where price might cross the inner bands without significant momentum.
Settings
- Length: Determines the period used for the central SMA and the standard deviation calculation.
- Inner BB Mult: The standard deviation multiplier for the inner set of bands, used primarily for entry signals.
- Outer BB Mult: The standard deviation multiplier for the outer set of bands, used for trend confirmation and exits.
- Take Profit: Sets a fixed profit target in ticks/points.
- Stop Loss: Sets a fixed stop loss level in ticks/points.
- Trailing Stop Loss: Sets the distance for a trailing stop to lock in profits as the trade moves favorably.
- Trailing Stop Loss Offset: Sets the offset to trigger the trailing stop activation.
FAQ
How do I use the Double Bollinger Bands Strategy?
The strategy automatically plots entry and exit signals on the chart based on the crossovers of the inner and outer bands. You can monitor the red and green outer bands to see the volatility boundaries.
What timeframes are best for this strategy?
While originally designed for the 15-minute NZDUSD chart, the strategy is highly customizable. Users should backtest different "Length" and "Multiplier" settings for higher timeframes like 1H or 4H.
How can I access this tool?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.