OPEN-SOURCE SCRIPT

ATR Value on Chart

已更新
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.

版本注释
The chart is updated to show where the ATR value is displayed.
版本注释
  • Updated code to Version 5
  • Now ATR value is formatted using 'MinTick' value of the symbol.
ATRAverage True Range (ATR)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明