PINE LIBRARY

VolatilityChecker

Updated
Library "VolatilityChecker"
Volatility is judged to be high when the range of one period is greater than the ATR of another period.

is_high(_periods, _smooth, _atr_periods, _atr_times) Return true if the volatility is high.
  Parameters:
    _periods: Range Period
    _smooth: Smoothes the range width.
    _atr_periods: ATR Period
    _atr_times: Amplify the calculated ATR.
  Returns: {Boolean}

is_low()
Release Notes
v2

Added:
value()
techindicator

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.


Also on:

Disclaimer