# RSI Bands, RSI %B and RSI Bandwidth

18176 views
18176
RSI bands provide an intuitive way of visualizing how the price movement causes RSI to move with in its range (0-100). Upper/Lower bands signify overbought and oversold levels respectively (Default: 70/30, you can customize them via options page). These bands closely match what Constance Brown explains in her book "Technical Analysis for the Trading Professional".

I have also coded up 2 scripts to visualize %B and Bandwidth, just as in BollingerBands. As you can see %B is equivalent to the actual RSI . Along with RSI_Bandwidth and %B, the bands convey a lot of information.

Another tip is to render Bollinger Bands along with RSIBands...endless possibilities :)

I have included all 3 scripts in the same chart, as they are all related. Since TradingView doesn't allow sharing more than one script in the same chart, you can only "Add script" RSI Bands.

If you want to use RSI %B and Bandwidth, follow this guide to "Make mine" this chart and get access to the source:

For the complete list of my indicators, check this post:
```//
// @author LazyBear
// List of all my indicators: https://www.tradingview.com/v/4IneGo8h/
//
study("RSI Bands [LazyBear]", shorttitle="RSIBANDS_LB", overlay=true)
obLevel = input(70, title="RSI Overbought")
osLevel = input(30, title="RSI Oversold")
length = input(14, title="RSI Length")
src=close
ep = 2 * length - 1
auc = ema( max( src - src[1], 0 ), ep )
adc = ema( max( src[1] - src, 0 ), ep )
x1 = (length - 1) * ( adc * obLevel / (100-obLevel) - auc)
ub = iff( x1 >= 0, src + x1, src + x1 * (100-obLevel)/obLevel )
x2 = (length - 1) * ( adc * osLevel / (100-osLevel) - auc)
lb = iff( x2 >= 0, src + x2, src + x2 * (100-osLevel)/osLevel )

plot( ub, title="Resistance", color=red, linewidth=2)
plot( lb, title="Support", color=green, linewidth=2)
plot( avg(ub, lb), title="RSI Midline", color=gray, linewidth=1)

```
Dear LazyBear,
thank you a lot for splendid tools !
I use only RSI Bands and I feel its great power !
Could you please to sell code of other two indicators RSI %B and RSI Bandwidth ?

115. RSI Bands:
116. RSI %B:
117. RSI Bandwidth: )

Kind-man
For those looking for the RB%B_LB I have posted the script at

since the make it mine feature is no longer available. Thanks for all these great indis lazy bear!
@migm
@nDman_sk
tlewis334
@tlewis334, Thank you so much.
Hey LB!

I was wondering if you or anyone here could directed to me to seeing the RSI %B and Bandwidth scripts?
That would be awesome! :)
Hey LB really amazing indicators you made here!!

Can you make an on-chart version of the MFI too?
Regrds Pipo.