Exponential Bollinger Bands
May 25, 2015

The Exponential Bollinger Bands indicator provides a dynamic volatility envelope by utilizing exponential calculations for both the mean and the variance, offering a more responsive alternative to traditional Bollinger Bands. By weighting recent price action more heavily, this tool aims to adapt more quickly to shifts in market volatility and price trends.
Usage
The Usage section describes how the script can be used to gauge market conditions. Similar to standard Bollinger Bands, this indicator consists of a central basis line and two outer bands.
- Volatility Assessment: When the bands expand, it indicates increasing market volatility. Conversely, when the bands contract (a "squeeze"), it suggests a period of lower volatility, often preceding a significant breakout.
- Mean Reversion: Traders often look for price to return to the central exponential moving average (EMA) basis after touching or exceeding the outer bands.
- Trend Following: During strong trends, price may "walk the bands," staying near the upper band in an uptrend or the lower band in a downtrend.
It is recommended to combine these bands with other technical analysis methods, such as oscillators or volume indicators, to confirm potential signals.
Details
The primary distinction of this script is how it handles variance. While standard Bollinger Bands typically use a Simple Moving Average (SMA) and standard deviation based on that SMA, the Exponential Bollinger Bands use an EMA as the basis. The variance is calculated by taking the squared difference between the price source and the EMA, which is then averaged over the specified period to derive the standard deviation. This mathematical approach ensures that the resulting bands are more sensitive to near-term increases or decreases in volatility compared to traditional methods.
Settings
- Source: Determines the price data used for the calculations (e.g., Close, HL2, OHLC4).
- Timeframe / # of periods: The lookback period used for the Exponential Moving Average and the variance calculation.
- # of STDEV's: The multiplier applied to the calculated standard deviation to determine the distance of the upper and lower bands from the basis.
FAQ
How do I use the Exponential Bollinger Bands?
You can use them to identify overextended price conditions, potential trend reversals, or periods of low volatility. Look for price interactions with the upper and lower bands in conjunction with your existing trading strategy.
What makes this different from standard Bollinger Bands?
Standard Bollinger Bands use a Simple Moving Average. This version uses an Exponential Moving Average and a variance calculation tied to that EMA, making the bands more reactive to recent price fluctuations.
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.