OPEN-SOURCE SCRIPT

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 [RSI 14-Crossover-70]
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 [RSI 14-Crossunder-30]
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.


boxeslinesMoving AveragesOscillatorsTrend Analysis

Skrip open-source

Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menerbitkannya sebagai sumber terbuka, sehingga para trader dapat memahami dan memverifikasinya. Hormat untuk penulisnya! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Inggin menggunakan skrip ini pada chart?

Pernyataan Penyangkalan