LMA {matiming}R Documentation

Computes the Linear Moving Average (LMA)

Description

This function computes the LMA of prices

Usage

LMA(price, n)

Arguments

price

the vector of prices

n

the length of the averaging window (a scalar)

Value

the LMA of prices (a vector)

See Also

Other moving average functions: DMA(), EMA(), HMA(), SMA(), ZMA()


[Package matiming version 1.0 Index]