ScalpTrader RSI

scalptradr Updated   
This script is a customized Relative Strength Index (RSI) indicator with added functionality, notably the optional Bollinger Bands overlay.

At its core, the script calculates the RSI, which is a popular momentum indicator used in technical analysis to identify overbought and oversold conditions. It does this by taking the average gain and the average loss over a user-defined period (default is 14) to compute the relative strength, which is then transformed into the RSI.

Furthermore, this script provides the option to overlay Bollinger Bands on the RSI line. Bollinger Bands, consisting of a middle band (a moving average) with two outer bands (standard deviations of the middle band), are used to measure volatility and 'relative' high or low prices. When applied to the RSI, they can offer another perspective on the momentum and volatility of the market.

RSI plot values are colored green if above 50 and red if below 50 to give the trader a sense of bullish or bearish price action.

I hope you find the indicator useful. Enjoy.
Release Notes:
Fix overlay setting
Release Notes:
Update comment
Release Notes:
Add highlight to RSI when above/below bands
Release Notes:
Name update
Release Notes:
Update license
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?