RSI Divergence Ultimate
Dec 9, 2018

The RSI Divergence Ultimate indicator provides a comprehensive toolkit for analyzing Relative Strength Index (RSI) dynamics, including regular and hidden divergences, multi-timeframe analysis, and advanced signal line crossovers. It aims to offer a clearer view of momentum and potential reversals by integrating smoothed RSI data with various secondary indicators like Bollinger Bands, Stochastic RSI, and Money Flow Index (MFI).
Usage
The indicator can be used to identify trend exhaustion and potential trend continuations through several integrated features:
- Divergence Detection: Automatically plots regular and hidden divergence lines on the RSI and its signal line. Regular divergences suggest potential reversals, while hidden divergences often indicate trend continuation.
- Signal Line Crossovers: Users can choose from multiple signal line calculations (EMA, SMA, Linear Regression) to identify momentum shifts. Crossover dots can be enabled to highlight these entry or exit points.
- Multi-Timeframe Analysis: The indicator allows plotting an RSI from a higher timeframe directly onto the current chart, helping traders find confluence across different periodicities.
- Volatility and Momentum Overlays: Bollinger Bands can be applied to the RSI to visualize volatility within the oscillator, while a compressed Stochastic RSI provides additional overbought (OB) and oversold (OS) context without distorting the main RSI scale.
- Power Zones: Based on Hima Reddy's concepts, these zones help identify specific RSI support and resistance levels.
Details
The script refines standard RSI analysis by applying an EMA smoothing to the oscillator, reducing noise and making trend direction more apparent. It uses a fractal-based logic to detect peaks and troughs for divergence calculation.
Special features include:
- Linear Regression Signal Lines: These provide a more reactive and mathematically "straightened" signal line compared to standard moving averages.
- Compressed RSI Stochastic: The Stochastic calculation is scaled (0.7 + 20) to fit within the typical 20-80 RSI range, preventing the visual compression that often occurs when overlaying standard oscillators.
- Background Highlighting: The tool includes background alerts for MFI and Stochastic RSI extremes, as well as directional color changes for the RSI line itself to indicate bullish or bearish momentum.
Settings
RSI & Smoothing
- RSI: Sets the length for the primary RSI calculation.
- RSI Smoothing: Determines the EMA length used to smooth the RSI line.
- RSI Color: Selects the coloring logic (Directional, Single Color, or OB/OS Highlights).
Signal Lines
- Signal Line 1/2: Selection of the calculation method (EMA, SMA, Linear Regression, Bollinger Bands, or MTF RSI).
- Length: Sets the period for the respective signal line calculations.
- Show Signal Line Crossover Dots: Enables visual markers when the RSI crosses the signal lines.
Divergences
- Divergences Offset: Adjusts the plot position for earlier entry signal visualization.
- RSI/SL1 Regular/Hidden Divergences: Toggles the visibility of specific divergence types for the RSI or Signal Line 1.
Overbought/Oversold & Background
- RSI OB/OS Levels: Customizes the thresholds for Overbought, Very Overbought, Oversold, and Very Oversold.
- MFI/Stoch Background Highlights: Toggles background coloring based on secondary oscillator extremes.
FAQ
How do I interpret the divergence lines?
Regular divergence lines (solid) indicate a potential price reversal, while hidden divergence lines (dashed) typically suggest that the current trend is likely to continue.
What are the "Compressed" oscillators?
These are Stochastic or short-period RSI values that have been mathematically scaled to fit within the 20-80 range of the main RSI window, allowing you to see multiple momentum perspectives without cluttering the scale.
How can I access RSI Divergence Ultimate?
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.