Detrended Price Oscillator

dp_osc

Function Name: dp_osc

Tags: Oscillator

Category: Trend

The Detrended Price Oscillator is similar to a moving average, in that it filters out trends in prices to more easily identify cycles. The indicator is an attempt to define cycles in a trend by drawing a moving average as a horizontal straight line and placing prices along the line according to their relation to a moving average. It provides a means of identifying underlying cycles not apparent when the moving average is viewed within a price chart. Cycles of a longer duration than the period (number of bars used to calculate the Detrended Price Oscillator) are effectively filtered or removed by the oscillator.

 

Link:       http://en.wikipedia.org/wiki/Detrended_price_oscillator

 

Parameters

period

 

Default Value: 10  |  Minimum: 1  |  Maximum: 9999

 

Type: Numeric

ShowLine

 

Default Value: 0

 

Type: Boolean

ShowHistogram

 

Default Value: -1

 

Type: Boolean