zachary.mickelson

Average True Range

ATR
531 2 77
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
English
English (UK)
English (IN)
Deutsch
Français
Español
Italiano
Polski
Türkçe
Русский
Português
Bahasa Indonesia
Bahasa Melayu
ภาษาไทย
Tiếng Việt
日本語
한국어
简体
台灣
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 Contact Support Ideas Published Followers Following Private Messages Chat Sign Out