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)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明