OPEN-SOURCE SCRIPT

Volatility Trigger Index

The script allows to assess the volatility of an asset.
It works by calculating the rate of change and the standard deviation.

The index is useful to determine the lowest volatility periods (could be useful to look strategies) and also it determine the highest volatility periods (maybe for exits or partial closes).

It has 3 iputs:
  • Lenght.
  • Low volatility value.
  • High volatility value.


The low and high values are set after a visual inspection. The values changes in each time frame. Usually when the timeframe is higher the value of the index is higher as well. So the low and high levels must be changed after each time frame set.

As an idea could be used in combination with any moving average to determine the market direction and the index used as a trigger.
educationalmultitimeframenondirectionaltriggervolatilidadVolatilityvolatilityindexvolatilityindicatorvolatilitytrading

开源脚本

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

想在图表上使用此脚本?

免责声明