DirectionalIndexValue

StockSharp.Algo.Indicators

DirectionalIndex indicator value implementation.

Inherits: ComplexIndicatorValue<DirectionalIndex>

Implements: IDirectionalIndexValue, IComplexIndicatorValue, IIndicatorValue, IComparable<IIndicatorValue>, IComparable

Constructors

DirectionalIndexValue
public DirectionalIndexValue(DirectionalIndex indicator, DateTime time)
directionalIndexValue = DirectionalIndexValue(indicator, time)

DirectionalIndex indicator value implementation.

indicator
The parent DirectionalIndex indicator.
time
Time associated with this indicator value.

Properties

Minus
public decimal? Minus { get; }
value = directionalIndexValue.Minus

Gets the Minus value.

MinusValue
public IIndicatorValue MinusValue { get; }
value = directionalIndexValue.MinusValue

Gets the Minus value.

Plus
public decimal? Plus { get; }
value = directionalIndexValue.Plus

Gets the Plus value.

PlusValue
public IIndicatorValue PlusValue { get; }
value = directionalIndexValue.PlusValue

Gets the Plus value.

Methods

ToString
public override string ToString()
result = directionalIndexValue.ToString()

Преобразовать к строковому представлению.

Returns: Строковое представление.