OPEN-SOURCE SCRIPT

ATR Value on Chart

Updated
Hi Friends & TradingView community.

Greetings to you.

Many traders use ATR to set Stop loss.

The built in ATR indicator plots the ATR values as a line. However, many traders do not want the ATR to be plotted on their charts, but are only interested in the ATR value as such.

This script does that - it just prints the latest ATR with your set Multiplier value on the chart. I have used the built-in ATR indicator and made necessary additions to the code.

I hope this script proves useful to traders.

Queries / feedback welcome.


All the best.

Release Notes
The chart is updated to show where the ATR value is displayed.
Release Notes
  • Updated code to Version 5
  • Now ATR value is formatted using 'MinTick' value of the symbol.
ATRAverage 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?

Disclaimer