PINE LIBRARY

vidya_calculate

224
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

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.