LMA {matiming} | R Documentation |
This function computes the LMA of prices
LMA(price, n)
price |
the vector of prices |
n |
the length of the averaging window (a scalar) |
the LMA of prices (a vector)
Other moving average functions:
DMA()
,
EMA()
,
HMA()
,
SMA()
,
ZMA()