OPEN-SOURCE SCRIPT

Arego ATR

已更新
This script automatically calculates ATR on a daily basis where it would be highest and lowest and draws a line there.
With this you can see whether stock has passed the ATR or not.

When stock moves, line is adjusted as well. For example, the stock opened at $100 and moved down $1.
ATR is $5.
Script will then draw two lines on the chart.
Daily low ATR would then be $95 and daily high ATR would then be $104.

The formula is very simple:

Current price + ATR = daily high
Current price - ATR = daily low
版本注释
I corrected my misconceptions in script logic.
ATRMoving Averages

开源脚本

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

想在图表上使用此脚本?

免责声明