BCGControlBar Pro for MFC
virtual CBCGPChartValue CBCGPChartMACDFormula::CalculateDataPoint ( int  nIndex,
CBCGPChartSeries pInputSeries,
CBCGPChartValue valY1 
)
virtual

Calculates a formula data point at the specified index in the input series.

This method is called to calculate a data point according to data stored at nIndex in the input series specified by pInputSeries.

You can override this method in a derived class to customize calculations.

Parameters
nIndexSpecifies data point index in the input series.
pInputSeriesA pointer to an input series.
valY1Contains Y1 value if the output series uses Y and Y1 values.

Implements CBCGPChartAdvancedFormula.