BCGSuite for MFC
void CBCGPChartMACDFormula::SetPeriods ( int  nFastEMAPeriod = 12,
int  nSlowEMAPeriod = 26,
BOOL  bGeneratePoints = FALSE 
)

Sets slow and fast EMA periods.

Parameters
nFastEMAPeriodSpecifies fast EMA period.
nSlowEMAPeriodSpecifies slow EMA period.
bGeneratePointsTRUE - generates formula data points according to the new periods.