ExpensiveJok

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.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?