OPEN-SOURCE SCRIPT
Updated

ATR Value on Chart

7218
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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.