Aregonas

Arego ATR

Aregonas Updated   
This script automatically calculates ATR on a daily basis where it would be highest and lowest and draws a line there.
With this you can see whether stock has passed the ATR or not.

When stock moves, line is adjusted as well. For example, the stock opened at $100 and moved down $1.
ATR is $5.
Script will then draw two lines on the chart.
Daily low ATR would then be $95 and daily high ATR would then be $104.

The formula is very simple:

Current price + ATR = daily high
Current price - ATR = daily low
Release Notes:
I corrected my misconceptions in script logic.
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?