PINE LIBRARY

MyMovingAveragesLibrary

已更新
Library "MyMovingAveragesLibrary"

alma(src, lkbk, alma_offset, alma_sigma)
  ALMA - Arnaud Legoux Moving Average
  Parameters:
    src (float): float
    lkbk (int): int
    alma_offset (simple float)
    alma_sigma (simple float): float
  Returns: moving average

frama(src, lkbk, FC, SC)
  FRAMA - Fractal Adaptive Moving Average
  Parameters:
    src (float): float
    lkbk (int): int
    FC (int): int
    SC (int): int
  Returns: moving average

kama(src, lkbk, kamafastend, kamaslowend)
  KAMA - Kaufman Adaptive Moving Average
  Parameters:
    src (float): float
    lkbk (int): int
    kamafastend (int): int
    kamaslowend (int): int
  Returns: moving average

ema(src, lkbk)
  EMA - Exponential Moving Average
  Parameters:
    src (float): float
    lkbk (simple int): int
  Returns: moving average

dema(src, lkbk)
  DEMA - Double Exponential Moving Average
  Parameters:
    src (float): float
    lkbk (simple int): int
  Returns: moving average

tema(src, lkbk)
  TEMA - Triple Exponential Moving Average
  Parameters:
    src (float): float
    lkbk (simple int): int
  Returns: moving average

hma(src, lkbk)
  HMA - Hull Moving Average
  Parameters:
    src (float): float
    lkbk (simple int): int
  Returns: moving average

jma(src, lkbk, jurik_power, jurik_phase)
  JMA - Jurik Moving Average
  Parameters:
    src (float): float
    lkbk (int): int
    jurik_power (int)
    jurik_phase (float)
  Returns: moving average

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

lsma(src, lkbk, lsma_offset)
  LSMA - Least Squares Moving Average
  Parameters:
    src (float): float
    lkbk (simple int): int
    lsma_offset (simple int): int
  Returns: moving average

mcginley(src, lkbk)
  McGinley Dynamic
  Parameters:
    src (float): float
    lkbk (simple int): int
  Returns: moving average

mf(src, lkbk, mf_feedback, mf_beta, mf_z)
  Modular Filter
  Parameters:
    src (float): float
    lkbk (int): int
    mf_feedback (bool): float
    mf_beta (float): boolean
    mf_z (float): float
  Returns: moving average

rdma(src)
  RDMA - RexDog Moving Average (RDA, as he calls it)
  Parameters:
    src (float): flot
  Returns: moving average

sma(src, lkbk)
  SMA - Simple Moving Average
  Parameters:
    src (float): float
    lkbk (int): int
  Returns: moving average

smma(src, lkbk)
  SMMA - Smoothed Moving Average (known as RMA in TradingView)
  Parameters:
    src (float): float
    lkbk (simple int): int
  Returns: moving average

t3(src, lkbk)
  T3 Moving Average
  Parameters:
    src (float): float
    lkbk (simple int): int
  Returns: moving average

tma(src, lkbk)
  TMA - Triangular Moving Average
  Parameters:
    src (float): float
    lkbk (simple int): int
  Returns: moving average

vama(src, lkbk, vol_lkbk)
  VAMA - Volatility-Adjusted Moving Average
  Parameters:
    src (float): float
    lkbk (simple int): int
    vol_lkbk (int): int

vwma(src, lkbk)
  VWMA - Volume-Weighted Moving Average
  Parameters:
    src (float): float
    lkbk (simple int): int
  Returns: moving average

mf_zlagma(src, lkbk)
  Zero-Lag Moving Average
  Parameters:
    src (float): float
    lkbk (int): int
  Returns: moving average
發行說明
v2

Added:
wma(src, lkbk)
  WMA - Weighted Moving Average
  Parameters:
    src (float): float
    lkbk (simple int): int
  Returns: moving average

zlma(src, lkbk)
  Zero-Lag Moving Average
  Parameters:
    src (float): float
    lkbk (int): int
  Returns: moving average

Updated:
alma(src, lkbk, offset, sigma)
  ALMA - Arnaud Legoux Moving Average
  Parameters:
    src (float): float
    lkbk (int): int
    offset (simple float)
    sigma (simple float)
  Returns: moving average

kama(src, lkbk, kfl, ksl)
  KAMA - Kaufman Adaptive Moving Average
  Parameters:
    src (float): float
    lkbk (int): int
    kfl (float)
    ksl (float)
  Returns: moving average

jma(src, lkbk, power, phase)
  JMA - Jurik Moving Average
  Parameters:
    src (float): float
    lkbk (int): int
    power (int): float
    phase (float): int
  Returns: moving average

lsma(src, lkbk, offset)
  LSMA - Least Squares Moving Average
  Parameters:
    src (float): float
    lkbk (simple int): int
    offset (simple int): int
  Returns: moving average

mf(src, lkbk, feedback, beta, z)
  Modular Filter
  Parameters:
    src (float): float
    lkbk (int): int
    feedback (bool)
    beta (float)
    z (float)
  Returns: moving average

Removed:
mf_zlagma(src, lkbk)
  Zero-Lag Moving Average
發行說明
v3

Updated:
jma(src, lkbk, phase, power)
  JMA - Jurik Moving Average
  Parameters:
    src (float): float
    lkbk (int): int
    phase (int): int
    power (float): float
  Returns: moving average
發行說明
v4

I guess this is where I say what I updated? Tradingview has changed things around. Anyway, the code of the TEMA was incorrect in the previous iteration. I've fixed it here. That is all.
techindicator

Pine腳本庫

在真正的TradingView精神中,作者將這段Pine程式碼發佈為開源程式庫,以便我們社群的其他Pine程式設計師可以重複使用它。請向作者致敬!您可以私下使用這個函式庫,或在其他開源出版品中使用,但在出版物中再次使用這段程式碼將受到網站規則的約束。


更多:

免責聲明