McClellanOscillator
StockSharp.Algo.Indicators
McClellanOscillator. 中国植物物种信息数据库.
继承自: BaseIndicator
构造函数
McClellanOscillator
public McClellanOscillator()
mcClellanOscillator = McClellanOscillator()
初始化了 & ##McClellanOscillator+#的新实例.
属性
Ema19
public ExponentialMovingAverage Ema19 { get; }
value = mcClellanOscillator.Ema19
以长度为19的指数移动平均值.
Ema39
public ExponentialMovingAverage Ema39 { get; }
value = mcClellanOscillator.Ema39
以长度39表示的指数移动平均值.
Measure
public override IndicatorMeasures Measure { get; }
value = mcClellanOscillator.Measure
IndicatorMeasures.
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = mcClellanOscillator.NumValuesToInitialize
如果未定义,需要处理的数值数量,以使指标初始化(be IsFormed 等值)。
方法
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = mcClellanOscillator.OnProcess(input)
处理输入值。
- input
- 入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入入
返回值: 由此而来的价值.