Class ShiftedIndicatorValue
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
The shifted value of the indicator.
public class ShiftedIndicatorValue : SingleIndicatorValue<decimal>, IIndicatorValue, IComparable<IIndicatorValue>, IComparable
- Inheritance
-
ShiftedIndicatorValue
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ShiftedIndicatorValue(IIndicator, DateTimeOffset)
Initializes a new instance of the ShiftedIndicatorValue.
public ShiftedIndicatorValue(IIndicator indicator, DateTimeOffset time)
Parameters
indicatorIIndicatorIndicator.
timeDateTimeOffset
ShiftedIndicatorValue(IIndicator, decimal, int, DateTimeOffset)
Initializes a new instance of the ShiftedIndicatorValue.
public ShiftedIndicatorValue(IIndicator indicator, decimal value, int shift, DateTimeOffset time)
Parameters
indicatorIIndicatorIndicator.
valuedecimalIndicator value.
shiftintThe shift of the indicator value.
timeDateTimeOffset
Properties
Shift
The shift of the indicator value.
public int Shift { get; }
Property Value
Methods
FromValues(object[])
Convert to indicator value.
public override void FromValues(object[] values)
Parameters
valuesobject[]
ToValues()
Convert to primitive values.
public override IEnumerable<object> ToValues()
Returns
- IEnumerable<object>
Primitive values.