All RSI Signals v1

Jun 27, 2020

Static chart image
Signals
Oscillators
Divergences

The All RSI Signals indicator is a comprehensive momentum analysis tool that combines RSI, Stochastic RSI, and Linear Regression to identify high-probability buying and selling opportunities.

Usage

The Usage section focuses on how the three primary components interact to generate signals:

  • Momentum Coloring: The RSI line changes color based on Stochastic RSI momentum. A blue line indicates a bullish uptrend (Stochastic K > D or above 80), while a red line indicates a bearish downtrend.
  • Divergence Detection: The script automatically identifies and labels Regular and Hidden Bullish/Bearish divergences between price and the RSI. These labels (Bull, H Bull, Bear, H Bear) appear directly on the RSI plot to highlight potential reversals or trend continuations.
  • Trend Direction via Linear Regression: A linear regression channel is projected onto the RSI data. This facilitates the identification of the current RSI trend direction and assists in spotting when momentum is overextending beyond statistical deviations.
  • Filtering: For robust entries, users often look for RSI values between 30 and 70 coupled with Stochastic RSI levels between 20 and 60 to ensure a strong emerging trend rather than an exhausted one.

Details

The script integrates several technical concepts into a single pane:

  • Stochastic RSI Integration: Rather than plotting a separate oscillator, the Stochastic RSI is used as a logic filter to color the main RSI line, reducing chart clutter while maintaining momentum awareness.
  • Pivot-Based Divergence: The tool uses pivot high/low lookbacks to find peaks and troughs in both price and the RSI, ensuring that divergence signals are based on significant structural points.
  • Statistical Significance: The Linear Regression component includes an optional Pearson's R calculation. This helps traders understand the strength of the linear correlation within the specified lookback period; a higher percentage indicates a more reliable linear trend.

Settings

RSI & Stochastic

  • RSI Period: The lookback period for the Relative Strength Index calculation.
  • RSI MA Length: The length of the Moving Average applied to the RSI for trend smoothing.
  • RSI Source: The price source used for the RSI calculation (e.g., Close, HL2).

Divergence

  • Pivot Lookback Right/Left: Determines the number of bars required to confirm a pivot point for divergence detection.
  • Max/Min Lookback Range: The range of bars to look back when comparing price and RSI peaks.
  • Plot [Type]: Toggles the visibility of Regular Bullish, Hidden Bullish, Regular Bearish, and Hidden Bearish signals.

Linear Regression

  • Count: The number of bars used to calculate the linear regression slope.
  • Upper/Lower Deviation: The multiplier for the standard deviation bands.
  • Use Upper/Lower Deviation: Toggles whether to use standard deviation or raw high/low price deviations for the channel.
  • Show Pearson's R: Displays the correlation coefficient to indicate the strength of the linear trend.

FAQ

How do I access All RSI Signals?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

What do the "H Bull" and "H Bear" labels mean?

These represent "Hidden" divergences. A Hidden Bullish divergence suggests trend continuation in an uptrend, while a Hidden Bearish divergence suggests continuation in a downtrend.

Can I set alerts for specific signals?

Yes, the script includes built-in alert conditions for positive/negative RSI momentum and all four types of divergence signals (Regular/Hidden Bullish and Bearish).

Free access on the following platforms
tradingviewSymbolTradingView
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

ninjatraderNinjaTrader
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

metatrader4MetaTrader 4/5
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

thinkorswimThinkorswim
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.

Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2026 LuxAlgo Global, LLC.