BCGControlBar Pro for MFC
void CBCGPChartMAENVFormula::SetMAType ( MovingAverageType  maType,
BOOL  bGenerateDataPoints = TRUE 
)

Sets a moving average type.

Parameters
maTypeSpecifies moving average type.
bGenerateDataPointsIf TRUE, data points for the output series will be calculated immediately; otherwise you'll need to call GeneratePoints manually.