Linearly Weighted: LinWgtAvg1(LinWgtAvg2 – Lag(LinWgtAvg2))

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

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

 
Calculation:

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

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

LinWgtAvg represents Linearly Weighted Moving Average
Lag represents Lag

 
Discussion:

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

Was this article helpful?

Related Articles