Constructor EMAStatistics
EMAStatistics(double)
Initializes a new instance of the EMAStatistics class.
Declaration
public EMAStatistics(double alpha)
Parameters
Type | Name | Description |
---|---|---|
double | alpha | The smoothing factor used in EMA calculation. Must be between 0 and 1. |
EMAStatistics(int)
Initializes a new instance of the EMAStatistics class with a period.
Declaration
public EMAStatistics(int period)
Parameters
Type | Name | Description |
---|---|---|
int | period | The number of samples for the EMA smoothing period. |