BCGControlBar Pro for MFC
CBCGPChartMACDFormula::CBCGPChartMACDFormula ( int  nFastEMAPeriod = 12,
int  nSlowEMAPeriod = 26,
ValueType  valueType = VA_MACD 
)

Constructs a CBCGPChartMACDFormula object.

You must call Create() after construction to create output series. After calling Create() use CBCGPChartSeries::GetFormula to manipulate the formula.