PINE LIBRARY

Functions

Updated
Library "Functions"

half_candle()
  Half Candles
  Returns: half candles (difference between open and close)

super_smoother(source, len)
  Ehlers Super Smoother
  Parameters:
    source (float): Source
    len (int)
  Returns: super smoothed moving average

quotient(length, K)
  Ehlers early onset trend
  Parameters:
    length (int): Length (default = 1)
    K (float): Factor (default = 0.8)
  Returns: Ehlers early onset trend

butterworth_2Pole(src, length)
  Ehlers 2 Pole Butterworth Filter
  Parameters:
    src (float): Source
    length (int): Length
  Returns: Ehlers 2 Pole Butterworth Filter

hann_ma(src, length)
  Ehler's Hann Moving Average
  Parameters:
    src (float): Source
    length (int): Length
  Returns: Ehler's Hann Moving Average

oef(src)
  Ehlers Optimum Elliptic Filter
  Parameters:
    src (float): Source
  Returns: Ehlers Optimum Elliptic Filter

moef(src)
  Ehlers Modified Optimum Elliptic Filter
  Parameters:
    src (float): Source
  Returns: Ehlers Modified Optimum Elliptic Filter

arsi(src, length)
  Advanced RSI
  Parameters:
    src (float): Source
    length (simple int): Length (default = 14)
  Returns: ARSI

smoothrng(src, length, multi)
  Smooth Range
  Parameters:
    src (float): Source
    length (simple int): Length
    multi (float): Multiplikator (default 3.0)
  Returns: Smooth Range
Release Notes
v2

Added:
donchian(length)
  Donchian Channel incl. switch (as used in Turtle Trade Channels)
  Parameters:
    length (int): Length
  Returns: upper, average, lower, dc_switch
filterfunctiontechindicator

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.

Disclaimer