Table of Contents

Class PairIndicatorValue<TValue>

Namespace
StockSharp.Algo.Indicators
Assembly
StockSharp.Algo.dll

The value of the indicator, operating with pair .

public class PairIndicatorValue<TValue> : SingleIndicatorValue<Tuple<TValue, TValue>>, IIndicatorValue, IComparable<IIndicatorValue>, IComparable

Type Parameters

TValue

Value type.

Inheritance
SingleIndicatorValue<Tuple<TValue, TValue>>
PairIndicatorValue<TValue>
Implements
Inherited Members
Extension Methods

Constructors

PairIndicatorValue(IIndicator)

Initializes a new instance of the PairIndicatorValue<TValue>.

public PairIndicatorValue(IIndicator indicator)

Parameters

indicator IIndicator

Indicator.

PairIndicatorValue(IIndicator, Tuple<TValue, TValue>)

Initializes a new instance of the PairIndicatorValue<TValue>.

public PairIndicatorValue(IIndicator indicator, Tuple<TValue, TValue> value)

Parameters

indicator IIndicator

Indicator.

value Tuple<TValue, TValue>

Value.

Methods

SetValue<T>(IIndicator, T)

To replace the indicator input value by new one (for example it is received from another indicator).

public override IIndicatorValue SetValue<T>(IIndicator indicator, T value)

Parameters

indicator IIndicator

Indicator.

value T

Value.

Returns

IIndicatorValue

New object, containing input value.

Type Parameters

T

The data type, operated by indicator.