Dual RSI
Apr 10, 2025

The Dual RSI indicator leverages two Relative Strength Index calculations from different timeframes to identify potential trend reversals and entry points through multi-timeframe analysis and crossover logic.
Usage
The Dual RSI tool is primarily used to spot momentum shifts by comparing a shorter (primary) timeframe RSI against a longer (secondary) timeframe RSI.
- Long Signals: These occur when the primary RSI crosses above the secondary RSI, provided that the primary RSI has recently been in the oversold zone within the specified lookback period.
- Short Signals: These occur when the primary RSI crosses below the secondary RSI, provided that the primary RSI has recently been in the overbought zone within the specified lookback period.
Users can synchronize the timeframes based on their trading style; for instance, an intraday trader might use the 60-minute and 240-minute timeframes to capture hourly trends aligned with the broader market direction.
Details
The script uses request.security to fetch RSI data from two distinct timeframes specified by the user. Unlike a standard single RSI, this implementation adds a momentum confirmation layer by requiring a crossover between the two RSI lines. Additionally, it incorporates a memory function (lookback) to ensure that signals are only generated if the primary RSI has recently reached extreme levels (overbought/oversold), reducing noise during sideways consolidation.
Settings
RSI Settings
- RSI Length: The number of bars used to calculate the Relative Strength Index.
- RSI Source: The price data point (e.g., Close, Open) used for the RSI calculation.
- Oversold Level: The threshold (typically 30) below which the asset is considered oversold.
- Overbought Level: The threshold (typically 70) above which the asset is considered overbought.
- Overbought/Oversold Lookback Period: The number of bars the script looks back to see if the RSI was in an extreme zone prior to a crossover.
Timeframe Settings
- Primary Timeframe: The timeframe for the faster RSI.
- Secondary Timeframe: The timeframe for the slower RSI.
Visuals
- Colors: Customizable colors for the RSI lines, levels, and signal shapes to match chart themes.
FAQ
How do I use the Dual RSI?
You can use it to identify entries by looking for "LONG" or "SHORT" labels which appear when a crossover happens after an overbought or oversold condition.
Can I change the sensitivity of the signals?
Yes, by adjusting the RSI Length or the Overbought/Oversold levels, you can increase or decrease the frequency of the generated signals.
How can I access Dual RSI?
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.