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