Represents an indicator that is a ready after ingesting enough samples (# samples > period) and always returns the same value as it is given.
More...
|
| WindowIdentity (string name, int period) |
| Initializes a new instance of the WindowIdentity class with the specified name and period More...
|
|
| WindowIdentity (int period) |
| Initializes a new instance of the WindowIdentity class with the default name and period More...
|
|
override void | Reset () |
| Resets this indicator to its initial state More...
|
|
|
override bool | IsReady [get] |
| Gets a flag indicating when this indicator is 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...
|
|
Represents an indicator that is a ready after ingesting enough samples (# samples > period) and always returns the same value as it is given.
Definition at line 22 of file WindowIdentity.cs.
◆ WindowIdentity() [1/2]
QuantConnect.Indicators.WindowIdentity.WindowIdentity |
( |
string |
name, |
|
|
int |
period |
|
) |
| |
Initializes a new instance of the WindowIdentity class with the specified name and period
- Parameters
-
name | The name of this indicator |
period | The period of the WindowIdentity |
Definition at line 29 of file WindowIdentity.cs.
◆ WindowIdentity() [2/2]
QuantConnect.Indicators.WindowIdentity.WindowIdentity |
( |
int |
period | ) |
|
Initializes a new instance of the WindowIdentity class with the default name and period
- Parameters
-
period | The period of the WindowIdentity |
Definition at line 38 of file WindowIdentity.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 57 of file WindowIdentity.cs.
◆ IsReady
override bool QuantConnect.Indicators.WindowIdentity.IsReady |
|
get |
Gets a flag indicating when this indicator is ready and fully initialized
Definition at line 47 of file WindowIdentity.cs.
The documentation for this class was generated from the following file: