Lean
$LEAN_TAG$
|
Represents the result of an indicator's calculations More...
Public Member Functions | |
IndicatorResult (decimal value, IndicatorStatus status=IndicatorStatus.Success) | |
Initializes a new instance of the IndicatorResult class More... | |
Static Public Member Functions | |
static implicit | operator IndicatorResult (decimal value) |
Converts the specified decimal value into a successful indicator result More... | |
Properties | |
decimal | Value [get] |
The indicator output value More... | |
IndicatorStatus | Status [get] |
The indicator status More... | |
Represents the result of an indicator's calculations
Definition at line 21 of file IndicatorResult.cs.
QuantConnect.Indicators.IndicatorResult.IndicatorResult | ( | decimal | value, |
IndicatorStatus | status = IndicatorStatus.Success |
||
) |
Initializes a new instance of the IndicatorResult class
value | The value output by the indicator |
status | The status returned by the indicator |
Definition at line 46 of file IndicatorResult.cs.
|
static |
Converts the specified decimal value into a successful indicator result
This method is provided for backwards compatibility
value | The decimal value to be converted into an IndicatorResult |
Definition at line 59 of file IndicatorResult.cs.
|
get |
The indicator output value
Definition at line 27 of file IndicatorResult.cs.
|
get |
The indicator status
Definition at line 36 of file IndicatorResult.cs.