OPEN-SOURCE SCRIPT

ATR Backtester

ATR backtester... input the desired number of bars backwards (I'd recommend 100 or so), and then it'll spit out in the columns on the right side of the screen how many times each ATR was hit. Helps to tell at a glance where bullish and bearish is for the stock. May not be insanely useful since you can just look at the chart, but feel free to use the code yourself for something.
Average True Range (ATR)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Indicators and algorithms at tradersultimateedge.com

Trade automatically from TradingView with an algo at gettradeconnect.com
Also on:

Disclaimer