AwesomeOscillator

StockSharp.Algo.Indicators

Awesome Oscillator.

Inherits: BaseIndicator

Constructors

AwesomeOscillator
public AwesomeOscillator()
awesomeOscillator = AwesomeOscillator()

Initializes a new instance of the AwesomeOscillator.

AwesomeOscillator
public AwesomeOscillator(SimpleMovingAverage longSma, SimpleMovingAverage shortSma)
awesomeOscillator = AwesomeOscillator(longSma, shortSma)

Initializes a new instance of the AwesomeOscillator.

longSma
Long moving average.
shortSma
Short moving average.

Properties

LongMa
public SimpleMovingAverage LongMa { get; }
value = awesomeOscillator.LongMa

Long moving average.

Measure
public override IndicatorMeasures Measure { get; }
value = awesomeOscillator.Measure

IndicatorMeasures.

MedianPrice
public MedianPrice MedianPrice { get; }
value = awesomeOscillator.MedianPrice

Median price.

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

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

ShortMa
public SimpleMovingAverage ShortMa { get; }
value = awesomeOscillator.ShortMa

Short moving average.

Methods

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

Calc IsFormed.

Returns: IsFormed

Load
public override void Load(SettingsStorage storage)
awesomeOscillator.Load(storage)

Load settings.

storage
Settings storage.
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = awesomeOscillator.OnProcess(input)

To handle the input value.

input
The input value.

Returns: The resulting value.

Save
public override void Save(SettingsStorage storage)
awesomeOscillator.Save(storage)

Save settings.

storage
Settings storage.
ToString
public override string ToString()
result = awesomeOscillator.ToString()

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

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