RSI Chart Levels
Jun 30, 2023

The RSI Chart Levels indicator identifies and projects key pivot levels from the Relative Strength Index (RSI) directly onto the price chart to highlight potential support and resistance zones. This tool simplifies the process of identifying market structure shifts and divergence by visualizing RSI peaks and troughs as horizontal levels and zones on the main chart.
Usage
The RSI Chart Levels tool is designed to help traders identify significant price levels derived from oscillator momentum. When the RSI forms a pivot (a high or low), the indicator marks that price point with a label and extends a horizontal line and a colored zone.
- Support & Resistance: The horizontal lines act as dynamic support and resistance. If price interacts with a level established by an RSI extreme, it may indicate a potential reversal or breakout point.
- Spotting Divergence: By comparing price action to the labeled RSI pivots (Higher Highs, Lower Highs, Higher Lows, Lower Lows), traders can identify divergences in real-time. For example, if the price makes a new Higher High but the indicator labels the RSI pivot as a Lower High, a bearish divergence is present.
- Zone Interpretation: The indicator draws boxes (zones) at pivot points. The color of these zones changes dynamically based on whether the current price is above or below the midpoint of the zone, assisting in bias determination.
Details
The script functions by calculating a standard RSI and then applying a Zigzag-style pivot detection algorithm to the RSI values. When a pivot high or low is confirmed on the RSI (based on the "Zigzag Length" setting), the script retrieves the corresponding price at that specific bar and projects it forward.
This implementation is inspired by the concepts of RSI divergence scanning, refactoring the logic to focus on chart-based overlays. It uses the ta.pivothigh and ta.pivotlow functions on the RSI stream to ensure that only significant momentum turns are translated into price levels.
Settings
Inputs
- Show Trend Lines: Toggles the visibility of the horizontal lines and labels on the chart.
- Zone Type: Determines the vertical range of the drawn boxes. "High-Low" uses the candle's wick range, while "High-Close" uses the wick and the body.
RSI
- RSI Length: The lookback period used for the internal Relative Strength Index calculation.
- RSI Source: The price source used to calculate the RSI (default is close).
Trend Line
- Zigzag Length: The number of bars required on each side of a point to confirm a pivot. Increasing this value will result in fewer, more significant levels, while decreasing it will show more frequent, shorter-term levels.
FAQ
How do I use RSI Chart Levels to find divergence?
You can spot divergence by comparing the labels (e.g., "Higher High") with the actual price movement. If the price makes a new high but the indicator displays a "Lower High" label, it suggests momentum is slowing down.
Should I match these settings with my RSI oscillator?
Yes, for the most accurate interpretation, it is recommended to match the "RSI Length" and "RSI Source" of this indicator with any RSI oscillator you have loaded on your sub-pane.
How can I access this tool?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Unlock Unlimited Access to the LuxAlgo Library
Upgrade your plan to get all indicators, strategies, charts, and full access to Quant, our AI agent.
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.

