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
LongEma : ExponentialMovingAverage
Long 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.
ShortEma : ExponentialMovingAverage
Short EMA.
ShortPeriod : int
Short period.
Methods
OnProcess(IIndicatorValue) : IIndicatorValue
To handle the input value.
- input
- The input value.
Returns: The resulting value.