DetrendedSyntheticPrice
StockSharp.Algo.Indicators
调取合成物价格指标.
继承自: BaseIndicator
构造函数
DetrendedSyntheticPrice
public DetrendedSyntheticPrice()
detrendedSyntheticPrice = DetrendedSyntheticPrice()
初始化了 & ##DetrendedSyntheticPrice+#的新实例.
属性
Length
public int Length { get; set; }
value = detrendedSyntheticPrice.Length
detrendedSyntheticPrice.Length = value
指标长度。
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = detrendedSyntheticPrice.NumValuesToInitialize
如果未定义,需要处理的数值数量,以使指标初始化(be IsFormed 等值)。
方法
CalcIsFormed
protected override bool CalcIsFormed()
result = detrendedSyntheticPrice.CalcIsFormed()
Calc IsFormed.
返回值: IsFormed
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = detrendedSyntheticPrice.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
返回值: Task
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = detrendedSyntheticPrice.OnProcess(input)
处理输入值。
- input
- 入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入
返回值: 由此而来的价值.
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = detrendedSyntheticPrice.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
返回值: Task
ToString
public override string ToString()
result = detrendedSyntheticPrice.ToString()
转换为行代表.
返回值: 弦乐表演.