PINE LIBRARY
Updated

wbburgin_utils

Library "wbburgin_utils"

trendUp(source)
  Parameters:
    source

smoothrng(source, sampling_period, range_mult)
  Parameters:
    source
    sampling_period
    range_mult

rngfilt(source, smoothrng)
  Parameters:
    source
    smoothrng

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

zonestrength(amplitude, wavelength)
  Parameters:
    amplitude
    wavelength

atr_anysource(source, atr_length)
  Parameters:
    source
    atr_length

supertrend_anysource(source, factor, atr_length)
  Parameters:
    source
    factor
    atr_length
Release Notes
v2

Added "selective_ma(bool condition, float source, int length)". The selective MA only adds data into its average if the condition is met, for example:

selective_ma( close > open, close, 200 ) will return the close values in the last 200 bars only if the close is greater than the open.

Disclaimer

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.