PINE LIBRARY

vidya_calculate

199
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

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.