PINE LIBRARY

vidya_calculate

230
Library "vidya_calculate"
:
Calculates the Variable Index Dynamic Average (VIDYA).
Computes the VIDYA, which adjusts the degree of smoothing based on the strength of price momentum (absolute value of CMO),
and then returns the 15-period(variable) Simple Moving Average (SMA) of that VIDYA.
VIDYA tends to follow prices more closely when price fluctuations are large, and is smoothed more when fluctuations are small.
CMO = Chande Momentum Oscillator.

vidya(src, vidyaLength, vidyaMomentum, vidyaTrendPeriod)
  : Calculates the Variable Index Dynamic Average (VIDYA)
  Parameters:
    src (float): : Source
    vidyaLength (int): : VIDYA Length
    vidyaMomentum (int): : VIDYA Momentum
    vidyaTrendPeriod (int): : VIDYA Trend Period (Display)
  Returns: : the 15-period(variable) Simple Moving Average (SMA) of that VIDYA

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。