AwesomeOscillator

StockSharp.Algo.Indicators

Awesome Oscillator.

继承自: BaseIndicator

构造函数

AwesomeOscillator()

Initializes a new instance of the AwesomeOscillator.

AwesomeOscillator(SimpleMovingAverage, SimpleMovingAverage)

Initializes a new instance of the AwesomeOscillator.

longSma
Long moving average.
shortSma
Short moving average.

属性

LongMa : SimpleMovingAverage

Long moving average.

Measure : IndicatorMeasures

IndicatorMeasures.

MedianPrice : MedianPrice

Median price.

NumValuesToInitialize : int

Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.

ShortMa : SimpleMovingAverage

Short moving average.

方法

CalcIsFormed() : bool

Calc IsFormed.

返回值: IsFormed

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnProcess(IIndicatorValue) : IIndicatorValue

To handle the input value.

input
The input value.

返回值: The resulting value.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

Преобразовать к строковому представлению.

返回值: Строковое представление.