Exmodaus

Indicator Visualizer V1.0

This is a script so that you can visualize crossover/under indicators on the chart as zones/boxes or as lines.

By default the source is "Close". When the source is Close and the default RSI is checked, then the indicator will visualize crossover and under from a 14 period RSI as shown in the published chart.

How this indicator works:
Add the indicator you want to visualize to the chart, and this indicator.

Open this indicator and set the source to the indicator you want to visualize, then set the levels you want to visualize the crossovers for.


Using the default as an example
When the RSI crosses above level 1 (default 70) then it will begin plotting a "Cross Over" box.
Each bar that the RSI remains above level 1 it will adjust the top of the box and the right side of the box.
When RSI crosses back below level 1 then the box will stop adjusting and end on that bar.


Using the default as an example
When the RSI crosses below level 2 (default 30) then it will begin plotting a "Cross Under" box.
Each bar that the RSI remains below level 2 it will adjust the bottom of the box and the right side of the box.
When RSI crosses back above level 2 then the box will stop adjusting and end on that bar.

If you want to use lines they will be drawn from the close of the starting bar to the close of the current/end bar.

You are able to set an extension for the lines if you would like them to extend a specific amount past the close bar. (I.E. 1,2,or 3 bars)



If you wish to use the source as close, then you must uncheck the Default RSI box.


开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?