PercentagePriceOscillatorHistogram

StockSharp.Algo.Indicators

Percentage Price Oscillator with signal line (histogram painter will plot difference).

Inherits: BaseComplexIndicator<IPercentagePriceOscillatorHistogramValue>

Constructors

PercentagePriceOscillatorHistogram
public PercentagePriceOscillatorHistogram()
percentagePriceOscillatorHistogram = PercentagePriceOscillatorHistogram()

Initializes a new instance of the PercentagePriceOscillatorHistogram.

PercentagePriceOscillatorHistogram
public PercentagePriceOscillatorHistogram(PercentagePriceOscillator ppo, ExponentialMovingAverage signalMa)
percentagePriceOscillatorHistogram = PercentagePriceOscillatorHistogram(ppo, signalMa)

Initializes a new instance of the PercentagePriceOscillatorHistogram.

ppo
Base Percentage Price Oscillator.
signalMa
Signal EMA (default 9).

Properties

Ppo
public PercentagePriceOscillator Ppo { get; }
value = percentagePriceOscillatorHistogram.Ppo

Base Percentage Price Oscillator.

SignalMa
public ExponentialMovingAverage SignalMa { get; }
value = percentagePriceOscillatorHistogram.SignalMa

Signal EMA.

Methods

CreateValue
protected override IPercentagePriceOscillatorHistogramValue CreateValue(DateTime time)
result = percentagePriceOscillatorHistogram.CreateValue(time)

Create .

time
Time
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = percentagePriceOscillatorHistogram.OnProcess(input)

To handle the input value.

input
The input value.

Returns: The resulting value.

ToString
public override string ToString()
result = percentagePriceOscillatorHistogram.ToString()

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

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