Returns the value of the Linearly Weighted Moving Average (LWMA) for all periods for which
sufficient historical data is provided.
|Visual Basic (Declaration)|| |
Public Overloads Shared Function LinearlyWeightedMovingAverage( _
ByVal s As Series, _
ByVal lengthOfMA As Integer _
) As Series
- A statistical series.
- The number of periods over which the moving average is evaluated for each
A series where the first term is the LWMA of length
latest period, the second term is the LWMA of length
for the previous
period and so on.
|ArgumentException||Thrown if the series |
s is empty or if its length
is less than the