OPEN-SOURCE SCRIPT

Relative ATR

ATR is one of the main indicators we use to measure volatility. When the market starts to consolidate or does not rise, ATR will be at a relatively low position.
However, the classic ATR formula does not consider that when the price changes at a logarithmic level, the ATR value will also change significantly. Therefore, I divide the calculated ATR value by the closing price to get an amplitude ratio index.
The adjusted indicator can well reflect the level of volatility. For example, the volatility of BTC reached an unprecedented low in January this year, which means that there will be a significant outbreak after breaking through the consolidation range. The configuration of the breakthrough order will be an excellent choice.
Average True Range (ATR)

开源脚本

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

想在图表上使用此脚本?

免责声明