PINE LIBRARY

wbburgin_utils

Updated
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.
techindicator

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.


FAQ: I am gradually phasing out my Patreon because of the time it takes to maintain.

BTC: 35PdMMMXFCvPjXKwn8wsRFNwMEPgStaKUJ

Test my strategies on CryptoRobotics: cryptorobotics.co/?trade=f23b09

Disclaimer