rsi with bb [or]
Aug 11, 2017

The rsi with bb [or] indicator enhances the standard Relative Strength Index (RSI) by overlaying Bollinger Bands directly onto the RSI oscillator to provide dynamic overbought and oversold levels. By using volatility-adjusted bands instead of static thresholds like 30 and 70, the tool helps traders identify momentum extremes relative to recent price action.
Usage
The tool is primarily used to identify trend exhaustion and potential reversals. When the RSI line crosses above the upper Bollinger Band, it suggests an overextended bullish condition. Conversely, a cross below the lower Bollinger Band suggests an overextended bearish condition.
Traders can use the mid-line (BB Center) as a gauge for momentum direction. The "BB Oringan" setting adjusts the behavior of the bands to be more centered around the 50-level, which can be useful for filter out noise in ranging markets. Additionally, the indicator provides various moving average types for the BB calculation, allowing for volume-weighted analysis.
Details
The script calculates a standard RSI and then applies a selected moving average type to it to form the Bollinger Band baseline. The width of the bands is determined by the standard deviation of the RSI values multiplied by a user-defined factor.
A unique feature of this implementation is the "BB Oringan" mode, which applies a ratio-based adjustment to the baseline, anchoring it closer to the 50-level and capping its range between 35 and 65. It also doubles the lookback period for the standard deviation calculation in this mode to provide smoother, more stable volatility bands.
Settings
- RSI Length: The lookback period for the RSI calculation.
- BB Length: The lookback period for the Bollinger Bands baseline and standard deviation.
- Multiplier * 10: Determines the width of the bands. A value of 20 represents a multiplier of 2.0.
- MA Type: Selection for the baseline moving average (SMA, EMA, RMA, WMA, VWMA, or custom volume-weighted variants).
- BB Oringan: A toggle that applies a centered smoothing logic to the Bollinger Bands for a more normalized output.
FAQ
How do I use the volume-weighted MA settings?
Selecting options 4, 5, or 6 in the MA Type setting will incorporate volume data into the Bollinger Band baseline, making the bands more responsive to high-volume price movements.
What is the difference between static levels and Bollinger Bands on RSI?
Static levels (30/70) do not account for volatility. Bollinger Bands expand and contract based on the recent variance of the RSI, providing thresholds that adapt to current market conditions.
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.