VortexPart

StockSharp.Algo.Indicators

活活体指标部分.

继承自: DecimalLengthIndicator

构造函数

VortexPart
public VortexPart(bool isPositive)
vortexPart = VortexPart(isPositive)

初始化了 & ##VortexPart+#的新实例.

isPositive
IsPositive

属性

IsPositive
public bool IsPositive { get; }
value = vortexPart.IsPositive

这是正(+VI)还是负(-VI)部分。

NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = vortexPart.NumValuesToInitialize

如果未定义,需要处理的数值数量,以使指标初始化(be IsFormed 等值)。

方法

CalcIsFormed
protected override bool CalcIsFormed()
result = vortexPart.CalcIsFormed()

Calc IsFormed.

返回值: IsFormed

OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = vortexPart.OnProcessDecimal(input)

处理输入值。

input
入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入

返回值: 指标的新值。

Reset
public override void Reset()
vortexPart.Reset()

复置set州.