Calling convention: Moving_AVG(StepCount: Integer, "CalcName": String): Variant
Description: Re-aggregates the selected calculation over a fixed number of previous parser result sets. Normal variables are summed, while variables whose names contain the configured MIN/MAX suffix are reduced accordingly, then formulas are recalculated up to the requested calculation.
Parameters:
StepCount: number of existing result sets to aggregate; must be between 1 and the available result count.
CalcName: calculation name in the current object.
Returns: Aggregated calculation value as Variant, or NULL when it cannot be calculated.
Availability: Default; only runs for a top-level parser with a current object and accumulated result history.
Example:
RollingValue := Moving_AVG(5, "Efficiency");