Represents an indicator that acts on a rolling window of data
More...
|
override void | Reset () |
| Resets this indicator to its initial state More...
|
|
|
int | Period => _window.Size |
| Gets the period of this window indicator More...
|
|
override bool | IsReady => _window.IsReady |
| Gets a flag indicating when this indicator is ready and fully initialized More...
|
|
virtual int | WarmUpPeriod => Period |
| 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 that acts on a rolling window of data
Definition at line 23 of file WindowIndicator.cs.
◆ WindowIndicator()
Initializes a new instance of the WindowIndicator class
- Parameters
-
name | The name of this indicator |
period | The number of data points to hold in the window |
Definition at line 39 of file WindowIndicator.cs.
◆ ComputeNextValue() [1/2]
Computes the next value of this indicator from the given state
- Parameters
-
input | The input given to the indicator |
- Returns
- A new value for this indicator
Definition at line 60 of file WindowIndicator.cs.
◆ Reset()
◆ ComputeNextValue() [2/2]
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
◆ Period
◆ IsReady
Gets a flag indicating when this indicator is ready and fully initialized
Definition at line 48 of file WindowIndicator.cs.
◆ WarmUpPeriod
Required period, in data points, to the indicator to be ready and fully initialized
Definition at line 53 of file WindowIndicator.cs.
The documentation for this class was generated from the following file: