Bollinger Band Reversal Study
Jul 8, 2020

The Bollinger Band Reversal Study indicator attempts to identify potential price reversals by analyzing the interaction between Bollinger Bands, Stochastic momentum, and specific candlestick formations. It helps traders pinpoint exhaustion points and mean-reversion opportunities based on indecision at key volatility boundaries.
Usage
The script identifies two main types of reversal setups: outer band reversals and middle band (basis) reversals. Signals are plotted as arrows on the chart, and users should typically wait for the candle to close to confirm the signal, as price fluctuations may cause the signal to appear and disappear during the real-time formation of the bar.
- Long Outer Band (Green Arrow): Occurs when a doji-like candle crosses below the lower Bollinger Band, followed by a bullish setup candle pushing back inside the bands while the Stochastic is in the oversold region (< 30).
- Short Outer Band (Red Arrow): Occurs when a doji-like candle crosses above the upper Bollinger Band, followed by a bearish setup candle pushing back inside the bands while the Stochastic is in the overbought region (> 70).
- Long Middle Band (Blue Arrow): Occurs when price shows indecision near the middle basis line and reverses upward, supported by a Stochastic value below 50.
- Short Middle Band (Yellow Arrow): Occurs when price shows indecision near the middle basis line and reverses downward, supported by a Stochastic value above 50.
Traders can manage exits using fixed risk-reward ratios or by targeting the opposite Bollinger Band.
Details
The script construction relies on three core components:
- Bollinger Bands: Provides the dynamic support and resistance levels based on standard deviations of a moving average.
- Stochastic Oscillator: Acts as a momentum filter to ensure the reversal is occurring at an overextended level or appropriate momentum state.
- Candlestick Logic: The script specifically looks for "Doji" or indecision candles followed by "Setup" candles. A setup candle is defined by its ability to close back within the band and show directional strength (e.g., closing in the upper/lower portion of its range).
Settings
Bollinger Bands
- Bollinger Bands Length: Determines the period used to calculate the moving average and standard deviation (default is 20).
- Bollinger Bands Multiplier: Sets the number of standard deviations for the outer bands (default is 2.0).
Stochastic
- Stochastic Smooth K: The period used for the raw Stochastic calculation.
- Stochastic Smooth D: The period used to smooth the Stochastic %K value.
FAQ
How do I use the Bollinger Band Reversal Study?
You can use it to identify potential entry points for mean-reversion trades. Look for signals at the outer bands for major reversals or at the middle band for trend-continuation or minor reversal plays.
What do the different arrow colors mean?
Green arrows indicate long setups at the lower band, red arrows indicate short setups at the upper band, while blue and yellow arrows indicate long and short setups occurring at the middle basis line.
How can I access this indicator?
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.