OPEN-SOURCE SCRIPT

Quick-Glance RSI

This script will draw a live, updating-RSI on the main chart. As the price updates, the RSI line will self-adjust between the highest high an the lowest low for the RSI period.

Settings/Customizations:

RSI Length: Calculate RSI and draw RSI Line for specified period
Overbought Level: Draw maroon box from OB level to highest high.
Oversold Level: Draw green box from lowest low to OS level.
Scale Offset: Fine-tune location of 0-100 scale.
Show Scale: Draw 0-100 levels to the right of the RSI line.
Show RSI Line: Draw a line from the start of the RSI period to the current price.
Show OB/OS Boxes: Enable or disable background for overbought and oversold areas.
Realtime: Draw all data in real time.

snapshot
RSI on overlay chart is same as current RSI on bottom chart

snapshot
RSI without scale, boxes, or RSI Line

“Repainting” Note: The current RSI level is calculated in real time as each price changes, so yes this does “repaint” on the current bar. This is by design and will not change the effectiveness of the script. However, if you are using this script to generate signals, uncheck “Realtime” and/or use “once per bar close” for alerts.
overlayRelative Strength Index (RSI)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


USDT(ERC20):0x89c1ada92d53e88a06131a28693fd46101bdbecb
LTC:LWx9nAqbfZcWB5GBxUuBEpdBCFyVAmSFjm
ETH(ERC20):0x89c1ada92d53e88a06131a28693fd46101bdbecb
BTC:113pXq5Lxdp3UUgTpRng24sxX7YRE9dR61p
Also on:

Disclaimer