Library "RVSI"
This Library contains functions that calculate all types of "Relative Volume Strength Index (MZ RVSI)" depending upon unique volume oscillator. Achieved RVSI value can be used for divergence detection in volume or to adapt dynamic length in Moving Averages or other functions.

rvsi_tfs(vol_src, vol_Len, rvsiLen, _open, _close) Relative Volume Strength Index based on TFS Volume Oscillator
  Parameters:
    vol_src: Volume Source
    vol_Len: Volume Legth for TFS Volume Oscillato
    rvsiLen: Period of Relative Volume Strength Index
    _open: Ticker Open Value
    _close: Ticker Close Value
  Returns: Relative Volume Strength Index value based on TFS Volume Oscillator

rvsi_obv(vol_src, rvsiLen, _close) Relative Volume Strength Index based on On Balance Volume
  Parameters:
    vol_src: Volume Source to Calculate On Balance Volume
    rvsiLen: Period of Relative Volume Strength Index
    _close: Ticker Close Value
  Returns: Relative Volume Strength Index value based on On Balance Volume

rvsi_kvo(vol_src, FastX, SlowX, rvsiLen, _close) Relative Volume Strength Index based on Klinger Volume Oscillator
  Parameters:
    vol_src: Volume Source
    FastX: Volume Fast Length
    SlowX: Volume Slow Length
    rvsiLen: Period of Relative Volume Strength Index
    _close: Ticker Close Value
  Returns: Relative Volume Strength Index value based on Klinger Volume Oscillator

rvsi_vzo(vol_src, zLen, rvsiLen, _close) Relative Volume Strength Index based on Volume Zone Oscillator
  Parameters:
    vol_src: Volume Source
    zLen: Volume Legth for Volume Zone Oscillator
    rvsiLen: Period of Relative Volume Strength Index
    _close: Ticker Close Value
  Returns: Relative Volume Strength Index value based on Volume Zone Oscillator

rvsi_cvo_obv(vol_src, ema1len, ema2len, rvsiLen) Relative Volume Strength Index based on Cumulative Volume Oscillator with On Balance Volume as Calculations Source
  Parameters:
    vol_src: Volume Source
    ema1len: EMA Fast Length
    ema2len: EMA Slow Length
    rvsiLen: Period of Relative Volume Strength Index
  Returns: Relative Volume Strength Index value based on Cumulative Volume Oscillator with On Balance Volume as Calculations Source

rvsi_cvo_pvt(vol_src, FastX, SlowX, rvsiLen) Relative Volume Strength Index based on Cumulative Volume Oscillator with Price Volume Trend as Calculations Source
  Parameters:
    vol_src: Volume Source
    FastX: EMA Fast Length
    SlowX: EMA Slow Length
    rvsiLen: Period of Relative Volume Strength Index
  Returns: Relative Volume Strength Index value based on Cumulative Volume Oscillator with Price Volume Trend as Calculations Source

rvsi_cvo_cvd(vol_src, FastX, SlowX, rvsiLen, _open, _close, _high, _low) Relative Volume Strength Index based on Cumulative Volume Oscillator with Cumulative Volume Delta as Calculations Source
  Parameters:
    vol_src: Volume Source
    FastX: EMA Fast Length
    SlowX: EMA Slow Length
    rvsiLen: Period of Relative Volume Strength Index
    _open: Ticker Open Value
    _close: Ticker Close Value
    _high: Ticker High Value
    _low: Ticker Low Value
  Returns: Relative Volume Strength Index value based on Cumulative Volume Oscillator with Cumulative Volume Delta as Calculations Source

Pine腳本庫

本著真正的TradingView精神,作者將此Pine代碼以開源腳本庫發布,以便我們社群的其他Pine程式設計師可以重用它。向作者致敬!您可以私下或在其他開源出版物中使用此庫,但在出版物中重用此代碼受網站規則約束。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想使用這個腳本庫嗎?

複製以下行並將其黏貼到您的腳本中。