DetrendedPriceOscillator


Summary

Calculates the Detrended Price Oscillator Indicator

Remarks

The Detrended Price Oscillator eliminates trends in prices, showing only absolute changes in price movement.

Syntax

public interface DetrendedPriceOscillator

Members

NameTypeSummary
Result PropertyThe resulting time series of Detrended Price Oscillator calculation

Example 1

private DetrendedPriceOscillator _detrendedPriceOscillator;
	
[Output("Main")]
public IndicatorDataSeries Result { get; set; }
protected override void Initialize()
{
    _detrendedPriceOscillator = Indicators.DetrendedPriceOscillator(Source, Periods, MaType);
}
public override void Calculate(int index)
{
    // Display Result of Indicator
    Result[index] = _detrendedPriceOscillator.Result[index];
}