pauls0101

ATR with Impulse Alerts

pauls0101 تم تحديثه   
This is a very simple script which simply plots an ATR (the built-in ATR function, using RMA) and plots a cross when the previously closed bar is larger than the ATR by a given threshold. There are also alert conditions set so you can be alerted when these impulse bars show up, either up or down bars. Have fun and safe trading!
ملاحظات الأخبار:
Update: I also added a plot for the actual range of each bar since I found myself calculating it occasionally.
ملاحظات الأخبار:
Reordered plots.
ملاحظات الأخبار:
Several updates to the format and visibility of the indicator.
ملاحظات الأخبار:
Added a minimum size setting for the impulse move bars.
ملاحظات الأخبار:
Added the option to adjust the filter by another ATR multiplier rather than flat values so it works across more assets.
ملاحظات الأخبار:
Added an alertcondition that captures both up and down moves so alerts can be set that don't use as many alert slots if used on multiple instruments.
ملاحظات الأخبار:
Updated to v5 and added a multiplier for easily using with other indicators for SL/TP.
ملاحظات الأخبار:
Updated to plot the multiplied ATR. Oops.
ملاحظات الأخبار:
Minor updates; will need to rollback some of these updates at a later point. Trying to plot the numerics without visually updating it as it squashes the plots.
نص برمجي مفتوح المصدر

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

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

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

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