Linearly Weighted: LinWgtAvg1 – Lag(LinWgtAvg2)

Abbreviation: LinWgtAvg1-Lag(LinWgtAvg2)
Category: Advanced Linearly Weighted Moving Average
Input Parameters:

Name Range Default
Time Series Close
LinWgtAvg1 Periods Int >= 1 5
Lag Amount Int >= 1 5
LinWgtAvg2 Periods Int >= 1 10

 
Calculation:

LinWgtAvg(X, n1) – Lag(LinWgtAvg(X, n2), L)

where
X = Time Series
n1 = LinWgtAvg1 Periods
L = Lag Amount
n2 = LinWgtAvg2 Periods

LinWgtAvg represents Linearly Weighted Moving Average
Lag represents Lag

 
Discussion:

This indicator attempts to quantify movements in a time series by calculating the difference between a moving average and a different sized lagged moving average.
 

Was this article helpful?

Related Articles