zachary.mickelson

Average True Range

ATR
492 2 71
atr
The Default Average True Range doesn't appear to be accurate, not sure why. Rewrote it, hopefully it works better for everyone than the original.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Average True Range", shorttitle="ATR", overlay=false)
length = input(13, minval=1)
plot(sma(tr, length), color=red, offset = 1)
how can one plot an ATR for daily and weekly on an hourly chart?
Reply
Hi Zachary.Mickelson
Thanks for the script
Would you mind adding another option box so we could have 2 different ATR lines plotted on the same graph?
Cheers
+1 Reply
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Priority Support Contact Support Ideas Published Followers Following Private Messages Chat Sign Out