Bollinger Bands Breakout Candles V0
Jun 27, 2015

The Bollinger Bands Breakout Candles indicator provides a unique visualization of price momentum and volatility breakouts by plotting custom candles based on Bollinger Band calculations. This tool aims to identify significant directional shifts and breakout points by monitoring the relationship between a moving average and its volatility bands.
Usage
The indicator can be used to identify trend strength and potential exhaustion points. When the moving average (represented by the candle bodies) breaks above the upper band, it signals a bullish breakout, often highlighted by a distinct color change. Conversely, a break below the lower band signals a bearish breakout. Traders can use these visual cues to confirm entries during high-momentum periods or to identify when a trend is starting to overextend.
The candles are constructed using:
- Open/Close: Based on the moving average and a lagging "anchor" value derived from price direction.
- High/Low: Represented by the upper and lower Bollinger Bands.
Details
The script utilizes a modified Bollinger Band approach. Instead of calculating bands directly around the current price, it tracks the Simple Moving Average (SMA) and determines "anchor" levels based on whether the SMA is rising or falling. The bands are then projected from these anchor points using a standard deviation multiplier. This method creates a "stepping" effect in the candle structure, which helps filter out minor price noise and emphasizes significant momentum shifts.
Settings
- Moving Average Length: Sets the lookback period for the Simple Moving Average and the Standard Deviation calculation.
- Source series: Determines the price data used for the calculations (default is HL2).
- Number of Deviations: Adjusts the width of the bands by setting the multiplier for the standard deviation.
FAQ
How do I interpret the candle colors?
Bright green or bright red candles typically indicate that the moving average has broken outside of the Bollinger Bands, signaling a potential breakout. Standard green or red colors represent the general direction of the moving average within the bands.
What is the advantage of using HL2 as the source?
Using the average of the High and Low (HL2) often provides a smoother calculation compared to using the Close alone, as it accounts for the entire price range of the bar.
How can I get access to 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.