void CBCGPChartAdvancedFormula::SetPeriod | ( | int | nPeriod, |
BOOL | bGeneratePoints = TRUE |
||
) |
Sets formula period.
Call this method to change the formula period. It will also calculate and store for future use an EMA coefficient based on the specified period.
nPeriod | Specifies the new period. |
bGeneratePoints | If TRUE, data points for the output series will be calculated immediately; otherwise you'll need to call GeneratePoints manually. |