Magic RSI Bands
Apr 3, 2024

The Magic RSI Bands indicator translates traditional RSI levels directly onto the price chart as dynamic bands, allowing traders to visualize overbought and oversold conditions relative to price action across custom timeframes.
Usage
The Magic RSI Bands tool is used to identify potential reversal points or trend exhaustion levels without needing a separate oscillator pane. When price interacts with the upper (red) band, it signifies that the RSI has reached the user-defined overbought level. Conversely, when price touches the lower (green) band, it indicates an oversold condition.
Traders can use these bands to:
- Identify Reversals: Look for price rejection or crossovers at the bands.
- Multi-Timeframe Analysis: By setting a higher timeframe in the indicator settings, you can view long-term RSI levels while scalping or day trading on lower-timeframe charts. For example, viewing 7-hour RSI bands on a 15-minute chart can help align short-term entries with medium-term momentum.
- Trend Following: Price staying between the bands suggests a neutral trend, while consistently hugging one band may indicate a strong trending move.
Details
The indicator calculates the specific price point required for the RSI to reach a certain value (e.g., 70 or 30). This is achieved by inverting the RSI formula based on current average gains and losses.
Specifically, the script uses an Exponential Moving Average (EMA) approach to calculate the average upward and downward changes over a specified period. It then solves for the price value that would result in the target RSI level. This transformation provides a more intuitive visual representation of momentum than a standard sub-pane oscillator because it shows exactly where price must go to be considered overextended.
Settings
- RSI Overbought: Sets the RSI value used to calculate the upper resistance band (default is 70).
- RSI Oversold: Sets the RSI value used to calculate the lower support band (default is 30).
- RSI Length: The lookback period used for the RSI calculation (default is 14).
- Timeframe: (Located in the script's header settings) Allows the user to anchor the RSI calculation to a specific timeframe regardless of the current chart resolution.
FAQ
How do I interpret price crossing the bands?
A cross above the upper band typically means the asset is overbought according to your settings, while a cross below the lower band means it is oversold. A "Cross Up Support" alert triggers when price moves back above the lower band, often used as a bullish signal.
Can I use this on any asset?
Yes, while the default 7-hour timeframe is often favored for volatile assets like Bitcoin, the settings can be adjusted to suit stocks, forex, or commodities on any timeframe.
How do I access Magic RSI Bands?
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.