sskcharts

DTR vs ATR

sskcharts Diupdate   
This script shows DTR vs ATR (Today's True Range vs 14 days Avg True Range) along with percentage. The label automatically changes color based on percent value. <=70 is GREEN, >=90 is RED and between 70 & 90 is ORANGE.

The location of the script not stick to one place. There is no such a functionality to keep it static at one location (like top right corner). But I think that feature is coming soon. I may be wrong.
Catatan Rilis:
This script shows DTR vs ATR (Today's True Range vs 14 days Avg True Range) along with percentage. The label automatically changes color based on percent value. <=70 is GREEN, >=90 is RED and between 70 & 90 is ORANGE.

The location of the label won't stick at one place. There is no such a functionality to keep it static at one location (like top right corner) currently. But I think that feature is coming soon. I may be wrong. Currently the label will be located top of the chart (y-axis) and numbers of bars left or right (x-axis) depending on input value. By default 5 bars left from last bar.
Catatan Rilis:
Fixed an issue where if we have a Heikin Ashi chart (or Renko, Kagi, PriceBreak etc), daily high/low were not calculated based on real OHLC.
Catatan Rilis:
Modified the script to allow folks to choose whether they want ATR smoothed based off of EMA, SMA, RMA or WMA. But you will have to modify the script. I have added comment above the specific line so that you can modify the script. There is no option add a input / drop-down menu since I calculate ATR based on Daily candles and also this script is modified to work with other candlestick charts like Heikin Ashi. There is a limitation that you cannot have "security" function under 'if' condition
Catatan Rilis:
Little update to choose Smoothing Type (have to edit the script).
Catatan Rilis:
Now added option to choose smoothing from drop-down menu. Enjoy
Catatan Rilis:
Another little update.
Catatan Rilis:
Updating some notes and removing unwanted lines
Catatan Rilis:
Updating function and cleaning stuff
Catatan Rilis:
Per request from my followers, I have updated this script so that you can choose location of the table and text size. In addition to that, you can enable/disable table title.

Here is the supported text size: "auto", "tiny", "small", "normal", "large", "huge"

Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?