VolumeProfileIndicatorValue
StockSharp.Algo.Indicators.VolumeProfileIndicator
计算得出的指标值VolumeProfileIndicator。
继承自: SingleIndicatorValue<IDictionary<decimal, decimal>>
构造函数
VolumeProfileIndicatorValue
public VolumeProfileIndicatorValue(IIndicator indicator, DateTime time)
volumeProfileIndicatorValue = VolumeProfileIndicatorValue(indicator, time)
计算得出的指标值VolumeProfileIndicator。
- indicator
- 指标。
- time
- 时间
属性
Levels
public IDictionary<decimal, decimal> Levels { get; }
value = volumeProfileIndicatorValue.Levels
嵌入值 。
方法
FromValues
public override void FromValues(object[] values)
volumeProfileIndicatorValue.FromValues(values)
转换为指标值。
- values
- ToValues
GetValue``1
public override T GetValue<T>(Level1Fields? field)
result = volumeProfileIndicatorValue.GetValue(field)
要按数据类型获得值 。
- field
- 指定字段值源 。
返回值: 价值.
ToValues
public override IEnumerable<object> ToValues()
result = volumeProfileIndicatorValue.ToValues()
转换为原始值 。
返回值: 原始价值。