OPEN-SOURCE SCRIPT

KTP ATR , TR and DATR by Mitraj Thakkar

This indicator provides values of ATR, TR and DATR values side by side which makes it easy for user to compare it for current
candle and takes decision. It is not a complete system for trading but it aids in taking decision for entry and exit. for eg. ema crossover is formed for entry, we can take entry 5% of datr above pattern and keep stop loss 10% datr below pattern.
ATR stands for Average true range of last 14 candles.
TR stands for true range of each candle.
DATR stands for Daily Average True Range.
ATRaverage_true_rangeAverage True Range (ATR)daily_true_rangedatrKTPTRtrue_range

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?

Disclaimer