SimpleMovingAverage

StockSharp.Algo.Indicators

简单的移动平均。

继承自: DecimalLengthIndicator

构造函数

SimpleMovingAverage
public SimpleMovingAverage()
simpleMovingAverage = SimpleMovingAverage()

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

方法

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

处理输入值。

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

返回值: 指标的新值。