Represents an indicator capable of tracking the sum for the given period
More...
|
override void | Reset () |
| Resets this indicator to its initial state More...
|
|
| Sum (string name, int period) |
| Initializes a new instance of the Sum class with the specified name and period More...
|
|
| Sum (int period) |
| Initializes a new instance of the Sum class with the default name and period More...
|
|
override void | Reset () |
| Resets this indicator to its initial state More...
|
|
|
int | WarmUpPeriod => Period |
| Required period, in data points, for the indicator to be ready and fully initialized. More...
|
|
int | Period |
| Gets the period of this window indicator More...
|
|
override bool | IsReady |
| Gets a flag indicating when this indicator is ready and fully initialized More...
|
|
virtual int | WarmUpPeriod |
| Required period, in data points, to the indicator to be ready and fully initialized More...
|
|
|
int | WarmUpPeriod [get] |
| Required period, in data points, for the indicator to be ready and fully initialized. More...
|
|
Represents an indicator capable of tracking the sum for the given period
Definition at line 21 of file Sum.cs.
◆ Sum() [1/2]
QuantConnect.Indicators.Sum.Sum |
( |
string |
name, |
|
|
int |
period |
|
) |
| |
Initializes a new instance of the Sum class with the specified name and period
- Parameters
-
name | The name of this indicator |
period | The period of the SMA |
Definition at line 47 of file Sum.cs.
◆ Sum() [2/2]
QuantConnect.Indicators.Sum.Sum |
( |
int |
period | ) |
|
Initializes a new instance of the Sum class with the default name and period
- Parameters
-
period | The period of the SMA |
Definition at line 56 of file Sum.cs.
◆ Reset()
override void QuantConnect.Indicators.Sum.Reset |
( |
| ) |
|
Resets this indicator to its initial state
Definition at line 36 of file Sum.cs.
◆ ComputeNextValue()
Computes the next value for this indicator from the given state.
- Parameters
-
window | The window of data held in this indicator |
input | The input value to this indicator on this time step |
- Returns
- A new value for this indicator
Definition at line 67 of file Sum.cs.
◆ WarmUpPeriod
int QuantConnect.Indicators.Sum.WarmUpPeriod => Period |
Required period, in data points, for the indicator to be ready and fully initialized.
Definition at line 31 of file Sum.cs.
The documentation for this class was generated from the following file: