PINE LIBRARY

LibrarySupertrend

535
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)

Aviso legal

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.