PINE LIBRARY

LibrarySupertrend

Library "LibrarySupertrend"

selective_ma(condition, source, length)
  Parameters:
    condition (bool)
    source (float)
    length (int)

trendUp(source)
  Parameters:
    source (float)

smoothrng(source, sampling_period, range_mult)
  Parameters:
    source (float)
    sampling_period (simple int)
    range_mult (float)

rngfilt(source, smoothrng)
  Parameters:
    source (float)
    smoothrng (float)

fusion(overallLength, rsiLength, mfiLength, macdLength, cciLength, tsiLength, rviLength, atrLength, adxLength)
  Parameters:
    overallLength (simple int)
    rsiLength (simple int)
    mfiLength (simple int)
    macdLength (simple int)
    cciLength (simple int)
    tsiLength (simple int)
    rviLength (simple int)
    atrLength (simple int)
    adxLength (simple int)

zonestrength(amplitude, wavelength)
  Parameters:
    amplitude (int)
    wavelength (simple int)

atr_anysource(source, atr_length)
  Parameters:
    source (float)
    atr_length (simple int)

supertrend_anysource(source, factor, atr_length)
  Parameters:
    source (float)
    factor (float)
    atr_length (simple int)
inputsMATHstatistics

Pine腳本庫

在真正的TradingView精神中,作者將這段Pine程式碼發佈為開源程式庫,以便我們社群的其他Pine程式設計師可以重複使用它。請向作者致敬!您可以私下使用這個函式庫,或在其他開源出版品中使用,但在出版物中再次使用這段程式碼將受到網站規則的約束。

免責聲明