angle bar colors [LM]

‎1474‎ مشاهدة
Hello guys,

I would like to introduce you angle bar colors indicator. It colors bars depending the angle of the bar x length back and current one

lime angle > 70 degrees
green 20 < angle < 70 degrees
orange 0 > angle <= 20 degrees

purple 0 > angle >= -20 degrees
red -20 > angle > -70 degrees
maroon angle < -70 degrees

Any suggestions are welcome
ملاحظات الأخبار: added line and label to indicator, refactor
ملاحظات الأخبار: added setting for alerts where it detects cross over and cross under certain threshold.
نص برمجي مفتوح المصدر

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

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


brother this indicator is great!!!!

My doubt is how can I add an alert to it.... for example... let me know when the angle is greater than 70 .... is it possible to do ???
lmatl giovanninani
Hi @giovanninani, I will add alert with new setting of the angles of your choice
@lmatl, Thanks you so much!!!! if you could set an alert when the angle crosses up 70°... it would be great.

Many thanks for your help.
Hello i dont understand the concept of this, can you xplain what do you mean by “bar angle” ?
lmatl chankoro887
@chankoro887, please read the description is all there it basically colors bars based the angle x bars back there is also a line and label with value and with that you can see from where the angle is measured