OPEN-SOURCE SCRIPT

Fixed RSI Overlay [lognomics]

This overlay indicator provides a dynamic visualization of the RSI on the instrument price chart. It enhances the standard RSI oscillator by scaling it relative to the anchor's maximum & minimum range, conceptualizing how price reacts at standard oscillation levels.

Starting at the anchor's open, the tool collects all the RSI values from each candle within the range, and stores them inside an array corresponding to each candle index. It then pulls relative values and plots a line connecting each point accordingly to the 0-100 range scale.

While determining each maximum and/or minimum the script will plot a box from the opening time of the anchor, encapsulating the high & low of the range, to end at the next anchor time. To the right to of the box, a label is plotted which is pushed to the current time & current RSI y value within the fixed scale.
overlayRelative Strength Index (RSI)Stochastic RSI (STOCH 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?

Disclaimer