BCGSuite for MFC
void CBCGPChartRSIFormula::SetRSIType ( RSIType  rsiType,
BOOL  bGenerateDataPoints = TRUE 
)

Call this method to set a new RSI type.

The data points in the output series are recalculated automatically if the new type differs from the current type.

rsiType can be one of the following enumerated values:

  • RSI_SIMPLE
  • RSI_EXPONENTIAL
  • RSI_SMOOTHED
Parameters
rsiTypeSpecifies the new RSI type.
bGenerateDataPointsTRUE - recalculate output data points immediately.