All indicators

Bollinger Bands Explorer

Sep 3, 2017

Static chart image
SignalsChannelsVolatility

The Bollinger Bands Explorer indicator provides an approximation of the Bollinger Bands strategy popularized by automated trading tools, designed to identify specific entry and exit thresholds based on percentage-based offsets from standard bands. This tool allows traders to visualize modified volatility bands and highlights potential reversal zones when price action interacts with customized internal boundaries.

Usage

The Bollinger Bands Explorer is used to identify high-probability reversal zones and breakout points. Unlike standard Bollinger Bands, this script introduces "HIGH_BB" and "LOW_BB" lines, which are internal offsets calculated as a percentage of the distance between the basis (SMA) and the outer bands.

  • Bullish Signals: Traders often look for the background to color red, which occurs when the average price (OHLC4) falls below the customized LOW_BB line, suggesting an oversold condition within the current volatility range.
  • Bearish Signals: The background colors green when the average price rises above the customized HIGH_BB line, indicating an overbought condition.
  • Volatility Analysis: The script includes hidden calculations for BB Range%, SMA, and standard deviations of the range to help analyze the expansion and contraction of volatility over time.

Details

The script features a dynamic length calculation that adjusts based on the chart's timeframe. It aims to normalize the lookback period relative to a 15-minute baseline. If the timeframe changes, the calcLength is automatically recalculated to maintain consistent signal frequency across different periodicities.

The internal bounds are calculated as follows:

  • HIGH_BB Line: Upper Band - ((Upper Band - Basis) * (High BB % / 100))
  • LOW_BB Line: Lower Band + ((Basis - Lower Band) * (Low BB % / 100))

This methodology creates "inner bands" that act as more sensitive triggers for mean reversion strategies.

Settings

  • Length: The base lookback period for the Simple Moving Average (SMA) and Standard Deviation calculations.
  • Source: The price data point used for calculations (default is Close).
  • Multiplier: The standard deviation multiplier that determines the width of the main outer Bollinger Bands.
  • LOW_BB: The percentage offset from the lower band toward the basis, defining the internal support trigger.
  • HIGH_BB: The percentage offset from the upper band toward the basis, defining the internal resistance trigger.

FAQ

How do I interpret the background colors?

The background turns green when the price crosses above the internal HIGH_BB line and red when it crosses below the internal LOW_BB line. These colors represent potential overextended zones.

Why does the length change when I switch timeframes?

The indicator uses a normalization formula to adjust the length based on the current interval, aiming to provide a similar perspective on volatility regardless of whether you are viewing a 5-minute or daily chart.

How can I access Bollinger Bands Explorer?

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.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.