Table of Contents

Class IndicatorResult

Namespace
FinanceSharp.Indicators
Assembly
FinanceSharp.dll

Represents the result of an indicator's calculations

public class IndicatorResult
Inheritance
IndicatorResult
Inherited Members
Extension Methods

Constructors

IndicatorResult(DoubleArray, IndicatorStatus)

Initializes a new instance of the IndicatorResult class

public IndicatorResult(DoubleArray value, IndicatorStatus status = IndicatorStatus.Success)

Parameters

value DoubleArray

The value output by the indicator

status IndicatorStatus

The status returned by the indicator

Properties

Status

The indicator status

public IndicatorStatus Status { get; }

Property Value

IndicatorStatus

Value

The indicator output value

public DoubleArray Value { get; }

Property Value

DoubleArray

Operators

implicit operator IndicatorResult(DoubleArray)

Converts the specified double value into a successful indicator result

public static implicit operator IndicatorResult(DoubleArray value)

Parameters

value DoubleArray

The double value to be converted into an IndicatorResult

Returns

IndicatorResult

Remarks

This method is provided for backwards compatibility

implicit operator IndicatorResult(double)

Converts the specified double value into a successful indicator result

public static implicit operator IndicatorResult(double value)

Parameters

value double

The double value to be converted into an IndicatorResult

Returns

IndicatorResult

Remarks

This method is provided for backwards compatibility

implicit operator IndicatorResult(double[])

Converts the specified double value into a successful indicator result

public static implicit operator IndicatorResult(double[] value)

Parameters

value double[]

The double value to be converted into an IndicatorResult

Returns

IndicatorResult

Remarks

This method is provided for backwards compatibility