PercentagePriceOscillator

StockSharp.Algo.Indicators

Percentage Price Oscillator (PPO).

Наследует: BaseIndicator

Конструкторы

PercentagePriceOscillator()

Initializes a new instance of the PercentagePriceOscillator.

PercentagePriceOscillator(ExponentialMovingAverage, ExponentialMovingAverage)

Initializes a new instance of the PercentagePriceOscillator.

shortEma
The short-term EMA.
longEma
The long-term EMA.

Свойства

LongPeriod : int

Long period.

Measure : IndicatorMeasures

IndicatorMeasures.

NumValuesToInitialize : int

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

ShortPeriod : int

Short period.

Методы

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

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

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