AdaptivePriceZone
StockSharp.Algo.Indicators
适应性价格区(APZ)指标.
继承自: BaseComplexIndicator<IAdaptivePriceZoneValue>
构造函数
AdaptivePriceZone
public AdaptivePriceZone()
adaptivePriceZone = AdaptivePriceZone()
初始化了 & ##AdaptivePriceZone+#的新实例.
AdaptivePriceZone
public AdaptivePriceZone(DecimalLengthIndicator ma)
adaptivePriceZone = AdaptivePriceZone(ma)
初始化了 & ##AdaptivePriceZone+#的新实例.
- ma
- 移动平均。
属性
BandPercentage
public decimal BandPercentage { get; set; }
value = adaptivePriceZone.BandPercentage
adaptivePriceZone.BandPercentage = value
上下波段计算时的带分率.
LowerBand
public AdaptivePriceZoneBand LowerBand { get; }
value = adaptivePriceZone.LowerBand
低调的乐队。
MovingAverage
public DecimalLengthIndicator MovingAverage { get; }
value = adaptivePriceZone.MovingAverage
移动平均。
Period
public int Period { get; set; }
value = adaptivePriceZone.Period
adaptivePriceZone.Period = value
MA和标准偏离计算期。
方法
CreateValue
protected override IAdaptivePriceZoneValue CreateValue(DateTime time)
result = adaptivePriceZone.CreateValue(time)
创建 .
- time
- 时间
Load
public override void Load(SettingsStorage storage)
adaptivePriceZone.Load(storage)
装入设置 。
- storage
- 设置存储 。
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = adaptivePriceZone.OnProcess(input)
处理输入值。
- input
- 入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入
返回值: 由此而来的价值.
Save
public override void Save(SettingsStorage storage)
adaptivePriceZone.Save(storage)
保存设置 。
- storage
- 设置存储 。