VolumeProfileBuilder
StockSharp.Algo.Candles.Compression
卷简介.
构造函数
VolumeProfileBuilder
public VolumeProfileBuilder()
volumeProfileBuilder = VolumeProfileBuilder()
初始化了 & ##VolumeProfileBuilder+#的新实例.
VolumeProfileBuilder
public VolumeProfileBuilder(decimal? priceStep)
volumeProfileBuilder = VolumeProfileBuilder(priceStep)
初始化 VolumeProfileBuilder 新实例, 将每个级别的价格都调整到这样, 不同级别的数量就保持了限制 。
- priceStep
- 用于桶位价格的仪器价格步骤;或 非正态的可禁用桶位.
属性
High
public CandlePriceLevel High { get; private set; }
value = volumeProfileBuilder.High
volumeProfileBuilder.High = value
上价平平.
Low
public CandlePriceLevel Low { get; private set; }
value = volumeProfileBuilder.Low
volumeProfileBuilder.Low = value
下价平平.
PoC
public CandlePriceLevel PoC { get; private set; }
value = volumeProfileBuilder.PoC
volumeProfileBuilder.PoC = value
点能自控.
PriceLevels
public IEnumerable<CandlePriceLevel> PriceLevels { get; }
value = volumeProfileBuilder.PriceLevels
价格水平.
VolumePercent
public decimal VolumePercent { get; set; }
value = volumeProfileBuilder.VolumePercent
volumeProfileBuilder.VolumePercent = value
总量的百分比(默认为70%)。
方法
Update
public void Update(decimal price, decimal? volume, Sides? side)
volumeProfileBuilder.Update(price, volume, side)
要以新值更新配置文件 。
- price
- 价相相相会.
- volume
- 音量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度
- side
- 边.
Update
public void Update(CandlePriceLevel level)
volumeProfileBuilder.Update(level)
要以新值更新配置文件 。
- level
- 价值.