# RSI Bands

A Momentum & Oscillators concept (RSI family) in the LuxAlgo Library, with 1 indicator implementation.

## What are RSI Bands?

RSI Bands translate [RSI](https://www.luxalgo.com/library/concept/rsi/) thresholds into price. Instead of asking what RSI is at the current price, the construction solves Wilder's formula backward: given the smoothed gains and losses already on the books, what close would make RSI print exactly 70, or exactly 30, on this bar? Plotting those solved prices bar by bar draws two bands on the chart itself: an upper band marking the price at which RSI would reach the overbought threshold, and a lower band for the oversold one. Because Wilder's smoothing is recursive, the inversion is exact algebra, not an estimate.

The construction has a paper trail in Technical Analysis of Stocks & Commodities. Giorgos Siligardos' 'Reverse Engineering RSI' (2003) showed the formula could be solved for the close producing any target RSI value, and Francois Bertrand's 'RSI Bands' (2008) plotted the solved 70 and 30 levels as a continuous envelope. Public ports, most visibly LazyBear's TradingView version with its %B and bandwidth companions, carried the tool into mainstream charting.

The payoff is that threshold-watching moves from the oscillator pane to the price pane: you can see in advance where RSI would tip into an extreme, set alerts or resting orders there, and watch the bands widen or tighten as [momentum](https://www.luxalgo.com/library/concept/momentum/) conditions change. Derived measures treat the pair like any envelope: RSI %B locates price within the bands, RSI bandwidth measures their separation.

One naming caution: some sources use RSI Bands for a different tool, deviation bands drawn around the RSI line in its own pane to create moving thresholds, an approach that belongs with [adaptive/dynamic RSI](https://www.luxalgo.com/library/concept/adaptive-dynamic-rsi/) methods. The two share a name, not a construction; the pane usually settles it: price pane means inverted thresholds, oscillator pane adaptive bands.

## How to identify RSI Bands on a chart

The name covers two different tools, so identification starts with which pane the bands occupy.

1. Check the pane: true RSI Bands plot on the price chart, bracketing the candles; bands drawn inside the RSI pane are the adaptive-threshold variant.
2. Verify the anchors: the upper band marks the price where RSI would print the overbought threshold (70 by default), the lower the oversold one (30); some versions add an RSI-50 midline.
3. Watch the bands re-solve each bar: they drift with the smoothed gain-loss state rather than sitting at fixed offsets from price like a percentage envelope.
4. Validate against a standard RSI pane: a close landing exactly on a band should coincide with RSI printing the matching threshold.
5. Read the spread: wide bands mean price needs a large move to reach either extreme; tight bands mean a small push tips RSI into one.

## How it's calculated

RSI Bands run the RSI formula backward to plot, on the price chart, the price levels at which RSI would sit exactly at chosen overbought and oversold values.

```
U_t = max(C_t - C_{t-1}, 0)
D_t = max(C_{t-1} - C_t, 0)
AUC_t = (AUC_{t-1} × (n - 1) + U_t) / n
ADC_t = (ADC_{t-1} × (n - 1) + D_t) / n
x_t = (n - 1) × (ADC_t × v / (100 - v) - AUC_t)
Band(v)_t = C_t + x_t, if x_t >= 0
Band(v)_t = C_t + x_t × (100 - v) / v, if x_t < 0
UpperBand_t = Band(70)_t
LowerBand_t = Band(30)_t

  C_t: close of bar t
  t: bar index
  U_t: up move of bar t
  D_t: down move of bar t
  AUC_t: Wilder smoothed average up move over n bars
  ADC_t: Wilder smoothed average down move over n bars
  n: RSI period (commonly 14)
  v: target RSI level (defaults 70 for the upper band, 30 for the lower)
  x_t: intermediate term; the price rise needed for RSI to reach v when nonnegative
  Band(v)_t: price level at which RSI would read exactly v
  UpperBand_t: overbought band, Band(70)
  LowerBand_t: oversold band, Band(30)
```

This is Giorgos Siligardos' reverse engineered RSI (2003); François Bertrand's RSI Bands (2008) plot it at the 70 and 30 levels.

Seed AUC and ADC with simple averages of the first n up and down moves, as in standard Wilder RSI.

A different construction that draws Bollinger Bands on the RSI line itself is also sometimes labeled RSI bands; it lives in the indicator panel, not on price.

## How traders use it

- As pre-positioned levels: because the bands state the exact price at which RSI would hit 70 or 30, alerts and limit orders can rest at the level instead of reacting after the oscillator prints the extreme.
- As a dynamic envelope: in an uptrend, tags of the lower band mark pullbacks deep enough to push RSI to oversold, while persistent riding of the upper band reads as trend strength rather than an automatic fade.
- As compression analytics: narrowing RSI bandwidth means a small price move would swing RSI between extremes, a low-energy state that often precedes expansion without saying when or which way, while %B tracks where price sits in the meantime.
- As adaptive thresholds, in the second sense of the name: bands around the RSI line replace fixed 70/30 with levels drawn from RSI's own recent distribution, so [overbought](https://www.luxalgo.com/library/concept/overbought-oversold/) means unusually high for the current regime.
- As one input in a fade checklist: band tags are commonly qualified with a second condition, a [regular bullish/bearish divergence](https://www.luxalgo.com/library/concept/regular-bullish-bearish-divergence/) on the oscillator pane or a nearby structural level, before a countertrend trade is taken.

## RSI Bands vs similar constructions

- **RSI** (https://www.luxalgo.com/library/concept/rsi/): The parent oscillator. RSI Bands are its inverse image: the same formula solved for price at fixed RSI values instead of for RSI at the current price.
- **Stochastic RSI** (https://www.luxalgo.com/library/concept/stochastic-rsi/): Derivations in opposite directions: Stochastic RSI re-scales RSI within its recent range into an even faster oscillator in its own pane, while RSI Bands leave the oscillator untouched and project its thresholds outward into price.
- **Adaptive/dynamic RSI** (https://www.luxalgo.com/library/concept/adaptive-dynamic-rsi/): Both answer the complaint that fixed 70/30 lines ignore regime. Adaptive methods move the thresholds to fit recent behavior, the same instinct as range rules reading 40 to 80 as the uptrend zone; RSI Bands keep the thresholds and relocate them into price space, where they move with the market.

## FAQ

### How can RSI Bands know the price of a future RSI value?

Because Wilder's RSI updates recursively, the smoothed gain and loss entering the next bar are already known. That leaves one unknown, the next close, so the equation RSI equals 70 can be solved for price exactly. It is algebra on the current state, not a forecast, and the bands re-solve and move with every new bar.

### Are RSI Bands the same as Bollinger Bands applied to RSI?

No, though the name gets used for both. The construction described here inverts the RSI formula to plot price levels on the main chart. Bollinger-on-RSI stays in the oscillator pane and draws deviation bands around the RSI line to make its thresholds adaptive. Same label, different object; the pane usually tells you which you are looking at.

### Does touching an RSI band mean price will reverse?

No. A band touch only says RSI has reached the chosen threshold, and thresholds are context rather than signals. In strong trends price can ride the upper band for extended stretches while RSI stays pinned, exactly as raw RSI can stay overbought. Most uses pair band tags with structure or a regime filter before acting.

### Who created RSI Bands?

The oscillator underneath is J. Welles Wilder's RSI from 1978. Solving it backward for price appeared in Giorgos Siligardos' 'Reverse Engineering RSI' in Technical Analysis of Stocks & Commodities (2003); Francois Bertrand's 'RSI Bands' followed there in 2008, and charting-community ports popularized the tool.

### What are RSI %B and RSI bandwidth?

Companion statistics borrowed from John Bollinger's conventions: %B expresses where price sits between the bands on a 0-to-1 scale, bandwidth measures their separation. Narrow bandwidth flags compression, where a small move would swing RSI between its extremes.

### Can RSI Bands use thresholds other than 70/30?

Yes. Any RSI level can be solved for price, so implementations offer stricter 80/20 bands, a 50 midline as a de facto trend divider, or custom levels. Length matters just as much: longer lookbacks give smoother, slower bands. And because the algebra only needs the input series, the inversion also works for [RSI of other sources](https://www.luxalgo.com/library/concept/rsi-of-other-sources/), solving for that series' value instead of the close.

## Implementations in the Library

- RSI Bands (LuxAlgo): https://www.luxalgo.com/library/indicator/rsi-bands/

## Related concepts

- RSI: https://www.luxalgo.com/library/concept/rsi/
- Adaptive/dynamic RSI: https://www.luxalgo.com/library/concept/adaptive-dynamic-rsi/
- Stochastic RSI: https://www.luxalgo.com/library/concept/stochastic-rsi/
- Connors RSI: https://www.luxalgo.com/library/concept/connors-rsi/
- RSI-2: https://www.luxalgo.com/library/concept/rsi-2/
- Laguerre RSI: https://www.luxalgo.com/library/concept/laguerre-rsi/
- RSI of Other Sources: https://www.luxalgo.com/library/concept/rsi-of-other-sources/
- RSI Range Rules: https://www.luxalgo.com/library/concept/rsi-range-rules/
- RSI Failure Swing: https://www.luxalgo.com/library/concept/rsi-failure-swing/
- Cardwell Positive/negative Reversals: https://www.luxalgo.com/library/concept/cardwell-positive-negative-reversals/

---

Source: https://www.luxalgo.com/library/concept/rsi-bands/ (LuxAlgo Library, the encyclopedia of trading & technical analysis). Free to use with attribution: https://www.luxalgo.com/library/license/