VolumeProfileIndicatorValue
StockSharp.Algo.Indicators.VolumeProfileIndicator
The indicator value VolumeProfileIndicator, derived in result of calculation.
Inherits: SingleIndicatorValue<IDictionary<decimal, decimal>>
Constructors
VolumeProfileIndicatorValue
public VolumeProfileIndicatorValue(IIndicator indicator, DateTime time)
volumeProfileIndicatorValue = VolumeProfileIndicatorValue(indicator, time)
The indicator value VolumeProfileIndicator, derived in result of calculation.
- indicator
- Indicator.
- time
- Time
Properties
Levels
public IDictionary<decimal, decimal> Levels { get; }
value = volumeProfileIndicatorValue.Levels
Embedded values.
Methods
FromValues
public override void FromValues(object[] values)
volumeProfileIndicatorValue.FromValues(values)
Convert to indicator value.
- values
- ToValues
GetValue``1
public override T GetValue<T>(Level1Fields? field)
result = volumeProfileIndicatorValue.GetValue(field)
To get the value by the data type.
- field
- Field specified value source.
Returns: Value.
ToValues
public override IEnumerable<object> ToValues()
result = volumeProfileIndicatorValue.ToValues()
Convert to primitive values.
Returns: Primitive values.