sskcharts

DTR vs ATR

sskcharts تم تحديثه   
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.
ملاحظات الأخبار:
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.
ملاحظات الأخبار:
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.
ملاحظات الأخبار:
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
ملاحظات الأخبار:
Little update to choose Smoothing Type (have to edit the script).
ملاحظات الأخبار:
Now added option to choose smoothing from drop-down menu. Enjoy
ملاحظات الأخبار:
Another little update.
ملاحظات الأخبار:
Updating some notes and removing unwanted lines
ملاحظات الأخبار:
Updating function and cleaning stuff
ملاحظات الأخبار:
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"

نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟