AverageDirectionalIndexValue
StockSharp.Algo.Indicators
AverageDirectionalIndex indicator value implementation.
Inherits: ComplexIndicatorValue<AverageDirectionalIndex>
Implements: IAverageDirectionalIndexValue, IComplexIndicatorValue, IIndicatorValue, IComparable<IIndicatorValue>, IComparable
Constructors
AverageDirectionalIndexValue
public AverageDirectionalIndexValue(AverageDirectionalIndex indicator, DateTime time)
averageDirectionalIndexValue = AverageDirectionalIndexValue(indicator, time)
AverageDirectionalIndex indicator value implementation.
- indicator
- The parent AverageDirectionalIndex indicator.
- time
- Time associated with this indicator value.
Properties
Dx
public IDirectionalIndexValue Dx { get; }
value = averageDirectionalIndexValue.Dx
Gets the Dx value.
MovingAverage
public decimal? MovingAverage { get; }
value = averageDirectionalIndexValue.MovingAverage
Gets the MovingAverage value.
MovingAverageValue
public IIndicatorValue MovingAverageValue { get; }
value = averageDirectionalIndexValue.MovingAverageValue
Gets the MovingAverage value.
Methods
ToString
public override string ToString()
result = averageDirectionalIndexValue.ToString()
Преобразовать к строковому представлению.
Returns: Строковое представление.