RSI + BB (EMA) + Dispersion
Oct 1, 2018

The RSI + BB (EMA) + Dispersion indicator provides a multi-layered momentum analysis by applying Bollinger Bands and a specific dispersion zone to the Relative Strength Index (RSI). It aims to help traders identify precise breakout points and trend shifts by filtering out market noise through a central "buffer" zone.
Usage
The indicator can be used to identify trend entries and exhaustion points based on the interaction between the RSI line and the dispersion bands:
- Bullish Signal: A buy signal is generated when the RSI line crosses above the upper dispersion zone (colored area around the basis).
- Bearish Signal: A sell signal is generated when the RSI line crosses below the lower dispersion zone.
- Buffer Zone: The shaded area between the dispersion bands acts as a neutral zone. It is generally not recommended to execute transactions while the RSI remains within this area, as it suggests a lack of strong momentum.
- Dynamic Coloring: The RSI line changes color based on its position relative to the dispersion zones, providing immediate visual feedback on current market sentiment.
Details
This tool calculates the Relative Strength Index (RSI) and then applies Bollinger Band logic directly to the RSI values rather than price. Unlike standard Bollinger Bands that typically use a Simple Moving Average (SMA), this script uses an Exponential Moving Average (EMA) as the basis.
The "Dispersion" element introduces a secondary set of bands derived from a percentage of the total Bollinger Band width (Standard Deviation). This creates a narrow corridor around the EMA basis. By requiring the RSI to exit this specific dispersion zone, the indicator acts as a sensitivity filter, attempting to validate momentum before a trend is confirmed.
Settings
- Source: Determines the price data used to calculate the RSI (e.g., Close, Open, HL2).
- RSI_period: The lookback period used for the RSI calculation.
- Basis_BB: The period used for the EMA basis and standard deviation of the Bollinger Bands.
- Stdev: The multiplier for the standard deviation, determining the width of the outer Bollinger Bands.
- Dispersion: A percentage value (0.01 to 1) that defines the width of the inner buffer zone relative to the total band width.
FAQ
How do I interpret the colors of the RSI line?
The RSI line turns green when it is above the upper dispersion band, red when below the lower dispersion band, and blue when it is traversing the space between the dispersion bands and the outer Bollinger Bands.
What is the purpose of the Dispersion setting?
The Dispersion setting controls the "tightness" of the central buffer zone. A higher value creates a wider neutral area, potentially reducing false signals but potentially delaying entries.
How can I access the RSI + BB (EMA) + Dispersion 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.