gb50k

Average True Range Overlay - Band

1186 views
56
Plots a band of width 1 ATR around the midpoint ( HL2 )

Settings:

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

Want to use this script on a chart?
study(title="Average True Range Overlay", shorttitle="ATRO", overlay=true)
length = input(14, minval=1)
plot(hl2+(rma(tr(true), length))/2, color=blue, linewidth=2)
plot(hl2-(rma(tr(true), length))/2, color=blue, linewidth=2)

Comments