RSI Support & Resistance
Where momentum meets price - levels that the market has already proven it cares about.
Most traders use RSI in a pane below the chart, watching a line cross a threshold and reacting to the signal. This script takes a different approach. Rather than treating RSI as a separate oscillator to monitor, it translates RSI conditions directly into price levels - plotting them on the chart where price actually lives, as dynamic support and resistance zones that carry the memory of past momentum extremes.
RSI Support & Resistance Zones
Every time RSI crosses a key threshold, something meaningful has happened in the market. Price pushed far enough, fast enough, to reach an extreme condition. Those moments leave marks - and those marks tend to matter when price returns to them.
The script tracks six threshold crossings and maps each one to a price level on the chart:
When RSI crosses into overbought territory, that price level is marked as a potential resistance zone - a point where buying momentum previously became excessive. When RSI exits overbought on the way back down, the exit level is marked as resistance weakening, a point where momentum was losing its grip.
When RSI holds above the Bull Zone (default 60), it signals sustained bullish pressure. The price levels where RSI crossed this threshold become dynamic support in uptrends - levels the market was willing to defend when momentum was healthy.
The same logic applies in reverse for the Bear Zone (default 40) and oversold conditions. Bear Zone crossings mark dynamic resistance in downtrends. Oversold crossunders mark potential support zones where selling pressure reached exhaustion. Oversold rebounds mark the price at which capitulation ended and buyers returned.
Zone fills can be applied between the overbought and Bull Zone levels, and between the Bear Zone and oversold levels, providing immediate visual context for the current momentum regime. Optional bar markers flag when price is currently inside an overbought or oversold RSI condition, without requiring a separate pane.
Reverse RSI - Forward-Looking Price Targets
The RSI S&R zones show where the market has been. The Reverse RSI feature shows where it needs to go.
At any point on the chart, Reverse RSI calculates the exact price level that would push RSI to each threshold on the current bar - overbought, Bull Zone, midline (50), Bear Zone, and oversold. These levels update in real time and are displayed as labels at the right edge of the chart, each showing the RSI target, the required price, the distance and direction from current price, and whether the level has already been reached.
This answers a question most traders ask but few tools directly address: price doesn't need to move far to reach overbought - or price needs to drop significantly before RSI finds oversold. Knowing the exact price target for each RSI level changes how you plan entries, exits, and stops.
An optional Reverse RSI Bands mode plots these required price levels as continuous bands across the full chart, showing how each RSI target evolves bar by bar. When a band is converging toward current price, the RSI threshold is approaching. When it is diverging, the threshold is moving further away. Used alongside the point-in-time labels, the bands provide a fuller picture of where RSI pressure is building or fading.
RSI Overlay Display
For traders who want the RSI line itself visible without switching to a separate pane, the script can project the RSI oscillator directly onto the price chart - above or below price depending on preference. Reference levels for overbought, Bull Zone, midline, Bear Zone, and oversold are drawn as dotted lines with coloured fills between the bullish and bearish zones, maintaining the same visual language as the S&R zones throughout. Overlay height and lookback length are independently configurable.
Source Selection
RSI can be calculated from two sources. Price (close) produces the classic RSI most traders are familiar with. On Balance Volume (OBV) applies the RSI formula to volume flow rather than price - producing a momentum reading grounded in participation rather than price movement alone. OBV-based RSI often diverges from price RSI in meaningful ways, providing an additional layer of context about whether price moves are backed by genuine volume conviction.
Alerts
Alerts fire when price crosses above a prior RSI overbought level or crosses below a prior RSI oversold level - the moments when the market is revisiting a historically significant momentum extreme. All alerts include ticker, price, and timestamp.
RSI length, overbought and oversold thresholds, Bull Zone and Bear Zone levels, colours, zone fills, overlay placement and height, and Reverse RSI display are all independently configurable.