Bollinger Bands Mean Reversion using RSI
Dec 6, 2025

The Bollinger Bands Mean Reversion using RSI indicator identifies potential price reversals by combining volatility bands with momentum exhaustion levels to capture market "snaps" back to the average.
Usage
The tool is designed to highlight overextended market conditions where price is likely to revert to its mean. It is particularly effective in ranging or sideways markets.
- Long Signals: Occur when the price drops below the lower Bollinger Band while the RSI is in oversold territory (typically below 30). This suggests a bearish exhaustion and a potential upward correction.
- Short Signals: Occur when the price rises above the upper Bollinger Band while the RSI is in overbought territory (typically above 70). This suggests bullish exhaustion and a potential downward correction.
To increase the probability of success, users should look for confluence with market structure, higher timeframe trends, or liquidity zones.
Details
This script utilizes a standard 20-period Simple Moving Average (SMA) as the basis for the Bollinger Bands, with the bands themselves set at two standard deviations from the mean. By integrating the Relative Strength Index (RSI), the indicator filters out touches of the bands that occur during strong trending momentum, focusing instead on moves that show statistical overextension alongside momentum exhaustion.
Settings
- Source: Determines the price data used for the Bollinger Band calculations (e.g., Close, Open, HL2).
- BB Length: Sets the lookback period for the Bollinger Band's middle basis (SMA) and standard deviation.
- BB Multiplier: Adjusts the width of the bands by setting the number of standard deviations.
- RSI Oversold Level: Defines the threshold for the RSI to be considered oversold (default is 30).
- RSI Overbought Level: Defines the threshold for the RSI to be considered overbought (default is 70).
FAQ
How do I use the Bollinger Bands Mean Reversion using RSI?
You can look for instances where price breaches the outer bands while the RSI confirms an overextended state. Look for price to return to the middle basis as a primary target.
In which market conditions does this perform best?
This strategy is most effective in mean-reverting environments, such as sideways or oscillating markets. In strong trending markets, price can "ride the bands" for extended periods, making mean-reversion signals riskier.
How can I access 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.