PercentagePriceOscillator

StockSharp.Algo.Indicators

Percentage Price Oscillator (PPO).

Inherits: BaseIndicator

Constructors

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.

Properties

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.

Methods

CalcIsFormed() : bool

Calc IsFormed.

Returns: IsFormed

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnProcess(IIndicatorValue) : IIndicatorValue

To handle the input value.

input
The input value.

Returns: The resulting value.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

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

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