Selective Simple Moving Average

Abbreviation: SelectiveAvg
Category: Selective Calculation
Input Parameters:

Name Range Default
Time Series
Condition
Avg Periods Int >= 1 5

 
Calculation:

( Sum of the set containing the last n Time Series values for which the corresponding condition was true ) / n 

where 
n = Avg Periods

 
Discussion:

Analyzes only the time periods for which the condition is true and computes the average time series value over the last n of those time periods.
 

Was this article helpful?

Related Articles