PINE LIBRARY

loxxmas - moving averages used in Loxx's indis & strats

Library "loxxmas"
TODO:loxx moving averages used in indicators

kama(src, len, kamafastend, kamaslowend)
  KAMA Kaufman adaptive moving average
  Parameters:
    src: float
    len: int
    kamafastend: int
    kamaslowend: int
  Returns: array

ama(src, len, fl, sl)
  AMA, adaptive moving average
  Parameters:
    src: float
    len: int
    fl: int
    sl: int
  Returns: array

t3(src, len)
  T3 moving average, adaptive moving average
  Parameters:
    src: float
    len: int
  Returns: array

adxvma(src, len)
  ADXvma - Average Directional Volatility Moving Average
  Parameters:
    src: float
    len: int
  Returns: array

ahrma(src, len)
  Ahrens Moving Average
  Parameters:
    src: float
    len: int
  Returns: array

alxma(src, len)
  Alexander Moving Average - ALXMA
  Parameters:
    src: float
    len: int
  Returns: array

dema(src, len)
  Double Exponential Moving Average - DEMA
  Parameters:
    src: float
    len: int
  Returns: array

dsema(src, len)
  Double Smoothed Exponential Moving Average - DSEMA
  Parameters:
    src: float
    len: int
  Returns: array

ema(src, len)
  Exponential Moving Average - EMA
  Parameters:
    src: float
    len: int
  Returns: array

fema(src, len)
  Fast Exponential Moving Average - FEMA
  Parameters:
    src: float
    len: int
  Returns: array

hma(src, len)
  Hull moving averge
  Parameters:
    src: float
    len: int
  Returns: array

ie2(src, len)
  Early T3 by Tim Tilson
  Parameters:
    src: float
    len: int
  Returns: array

frama(src, len, FC, SC)
  Fractal Adaptive Moving Average - FRAMA
  Parameters:
    src: float
    len: int
    FC: int
    SC: int
  Returns: array

instant(src, float)
  Instantaneous Trendline
  Parameters:
    src: float
    float: alpha
  Returns: array

ilrs(src, int)
  Integral of Linear Regression Slope - ILRS
  Parameters:
    src: float
    int: len
  Returns: array

laguerre(src, float)
  Laguerre Filter
  Parameters:
    src: float
    float: alpha
  Returns: array

leader(src, int)
  Leader Exponential Moving Average
  Parameters:
    src: float
    int: len
  Returns: array

lsma(src, int, int)
  Linear Regression Value - LSMA (Least Squares Moving Average)
  Parameters:
    src: float
    int: len
    int: offset
  Returns: array

lwma(src, int)
  Linear Weighted Moving Average - LWMA
  Parameters:
    src: float
    int: len
  Returns: array

mcginley(src, int)
  McGinley Dynamic
  Parameters:
    src: float
    int: len
  Returns: array

mcNicholl(src, int)
  McNicholl EMA
  Parameters:
    src: float
    int: len
  Returns: array

nonlagma(src, int)
  Non-lag moving average
  Parameters:
    src: float
    int: len
  Returns: array

pwma(src, int, float)
  Parabolic Weighted Moving Average
  Parameters:
    src: float
    int: len
    float: pwr
  Returns: array

rmta(src, int)
  Recursive Moving Trendline
  Parameters:
    src: float
    int: len
  Returns: array

decycler(src, int)
  Simple decycler - SDEC
  Parameters:
    src: float
    int: len
  Returns: array

sma(src, int)
  Simple Moving Average
  Parameters:
    src: float
    int: len
  Returns: array

swma(src, int)
  Sine Weighted Moving Average
  Parameters:
    src: float
    int: len
  Returns: array

slwma(src, int)
  linear weighted moving average
  Parameters:
    src: float
    int: len
  Returns: array

smma(src, int)
  Smoothed Moving Average - SMMA
  Parameters:
    src: float
    int: len
  Returns: array

super(src, int)
  Ehlers super smoother
  Parameters:
    src: float
    int: len
  Returns: array

smoother(src, int)
  Smoother filter
  Parameters:
    src: float
    int: len
  Returns: array

tma(src, int)
  Triangular moving average - TMA
  Parameters:
    src: float
    int: len
  Returns: array

tema(src, int)
  Tripple exponential moving average - TEMA
  Parameters:
    src: float
    int: len
  Returns: array

vwema(src, int)
  Volume weighted ema - VEMA
  Parameters:
    src: float
    int: len
  Returns: array

vwma(src, int)
  Volume weighted moving average - VWMA
  Parameters:
    src: float
    int: len
  Returns: array

zlagdema(src, int)
  Zero-lag dema
  Parameters:
    src: float
    int: len
  Returns: array

zlagma(src, int)
  Zero-lag moving average
  Parameters:
    src: float
    int: len
  Returns: array

zlagtema(src, int)
  Zero-lag tema
  Parameters:
    src: float
    int: len
  Returns: array

threepolebuttfilt(src, int)
  Three-pole Ehlers Butterworth
  Parameters:
    src: float
    int: len
  Returns: array

threepolesss(src, int)
  Three-pole Ehlers smoother
  Parameters:
    src: float
    int: len
  Returns: array

twopolebutter(src, int)
  Two-pole Ehlers Butterworth
  Parameters:
    src: float
    int: len
  Returns: array

twopoless(src, int)
  Two-pole Ehlers smoother
  Parameters:
    src: float
    int: len
  Returns: array
Moving Averagestechindicator

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.


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Also on:

Disclaimer