|
Lean
$LEAN_TAG$
|
Class that extends CompositeIndicator to execute a given action once is reset More...
Public Member Functions | |
| ResetCompositeIndicator (IndicatorBase left, IndicatorBase right, IndicatorComposer composer, Action extraResetAction) | |
| Creates a new ResetCompositeIndicator capable of taking the output from the left and right indicators and producing a new value via the composer delegate specified More... | |
| ResetCompositeIndicator (string name, IndicatorBase left, IndicatorBase right, IndicatorComposer composer, Action extraResetAction) | |
| Creates a new CompositeIndicator capable of taking the output from the left and right indicators and producing a new value via the composer delegate specified More... | |
| override void | Reset () |
| Resets this indicator and invokes the given reset action More... | |
Public Member Functions inherited from QuantConnect.Indicators.CompositeIndicator | |
| delegate IndicatorResult | IndicatorComposer (IndicatorBase left, IndicatorBase right) |
| Delegate type used to compose the output of two indicators into a new value. More... | |
| override void | Reset () |
| Resets this indicator to its initial state More... | |
| CompositeIndicator (string name, IndicatorBase left, IndicatorBase right, IndicatorComposer composer) | |
| Creates a new CompositeIndicator capable of taking the output from the left and right indicators and producing a new value via the composer delegate specified More... | |
| CompositeIndicator (IndicatorBase left, IndicatorBase right, IndicatorComposer composer) | |
| Creates a new CompositeIndicator capable of taking the output from the left and right indicators and producing a new value via the composer delegate specified More... | |
| CompositeIndicator (string name, PyObject left, PyObject right, PyObject handler) | |
| Initializes a new instance of CompositeIndicator using two indicators and a custom function. More... | |
| CompositeIndicator (PyObject left, PyObject right, PyObject handler) | |
| Initializes a new instance of CompositeIndicator using two indicators and a custom function. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QuantConnect.Indicators.CompositeIndicator | |
| override IndicatorResult | ValidateAndComputeNextValue (IndicatorDataPoint input) |
| Computes the next value of this indicator from the given state and returns an instance of the IndicatorResult class More... | |
| override decimal | ComputeNextValue (IndicatorDataPoint _) |
| Computes the next value of this indicator from the given state More... | |
Properties inherited from QuantConnect.Indicators.CompositeIndicator | |
| IndicatorBase | Left [get] |
| Gets the 'left' indicator for the delegate More... | |
| IndicatorBase | Right [get] |
| Gets the 'right' indicator for the delegate More... | |
| override bool | IsReady [get] |
| Gets a flag indicating when this indicator is ready and fully initialized More... | |
Class that extends CompositeIndicator to execute a given action once is reset
Definition at line 23 of file ResetCompositeIndicator.cs.
| QuantConnect.Indicators.ResetCompositeIndicator.ResetCompositeIndicator | ( | IndicatorBase | left, |
| IndicatorBase | right, | ||
| IndicatorComposer | composer, | ||
| Action | extraResetAction | ||
| ) |
Creates a new ResetCompositeIndicator capable of taking the output from the left and right indicators and producing a new value via the composer delegate specified
| left | The left indicator for the 'composer' |
| right | The right indicator for the 'composer' |
| composer | Function used to compose the left and right indicators |
| extraResetAction | Action to execute once the composite indicator is reset |
Definition at line 38 of file ResetCompositeIndicator.cs.
| QuantConnect.Indicators.ResetCompositeIndicator.ResetCompositeIndicator | ( | string | name, |
| IndicatorBase | left, | ||
| IndicatorBase | right, | ||
| IndicatorComposer | composer, | ||
| Action | extraResetAction | ||
| ) |
Creates a new CompositeIndicator capable of taking the output from the left and right indicators and producing a new value via the composer delegate specified
| name | The name of this indicator |
| left | The left indicator for the 'composer' |
| right | The right indicator for the 'composer' |
| composer | Function used to compose the left and right indicators |
| extraResetAction | Action to execute once the indicator is reset |
Definition at line 52 of file ResetCompositeIndicator.cs.
| override void QuantConnect.Indicators.ResetCompositeIndicator.Reset | ( | ) |
Resets this indicator and invokes the given reset action
Definition at line 61 of file ResetCompositeIndicator.cs.