lmatl

angle bar colors [LM]

lmatl Premium Updated   
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
Release Notes:
added line and label to indicator, refactor
Release Notes:
added setting for alerts where it detects cross over and cross under certain threshold.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?