Volume Weighted Bollinger Bands Strategy
Aug 7, 2020

The Volume Weighted Bollinger Bands Strategy indicator is a momentum-based trading tool that applies standard deviation bands to a weighted average of multiple exponential moving averages and VWAP to identify trend breakouts.
Usage
The strategy is designed to identify strong trend continuation or breakouts by monitoring when price closes outside the calculated volatility bands.
- Long Entry: Triggered when the current price and the previous price both close above the upper band.
- Short Entry: Triggered when the current price and the previous price both close below the lower band.
Users should apply this strategy to liquid securities where volume data is readily available, as the underlying calculations rely on volume-weighted metrics. It is recommended to backtest different timeframes to find a profit factor greater than 1.4 for optimal performance.
Details
This script deviates from traditional Bollinger Bands by not applying the calculation directly to price. Instead, it calculates a composite "Average Weighting" derived from:
- 8-period EMA
- 21-period EMA
- 55-period EMA
- 233-period EMA
- VWAP (Volume Weighted Average Price)
The Simple Moving Average (basis) and the Standard Deviation (volatility bands) are then calculated based on this composite value. This approach aims to smooth out price action while incorporating multiple trend horizons and volume data into the band boundaries.
Settings
- Source: Determines the price data used for the internal calculations (default is Close).
- Length: The lookback period used to calculate the Simple Moving Average (basis) and the Standard Deviation for the bands.
- StdDev: The multiplier for the Standard Deviation, which determines the width and sensitivity of the upper and lower bands.
- Offset: Shifts the plotted bands forward or backward on the chart.
FAQ
How do I access the Volume Weighted Bollinger Bands Strategy?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
What timeframes work best for this strategy?
Performance varies by asset, but it is generally most effective on timeframes where the profit factor exceeds 1.4. High-liquidity assets often show viable results on the 5-minute scale and higher.
Why does the script require volume data?
The indicator incorporates VWAP into its core weighting calculation. Without volume data provided by the exchange or broker, the VWAP component cannot be accurately calculated.
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.