Detrended Price Oscillator

Input variables

"Price" - this can be: Close, Open, High, Low, HL MidPoint, HLC MidPoint or HLCO MidPoint
"Length" - is the number of time periods used when computing SMA

Calculation

where:

"SMA ( Price, Length ) [- Offset]" is Offset time periods ago SMA ( Price, Length )

"SMA" is Simple Moving Average and DPO is "Detrended Price Oscillator"

From "Indicator Properties" you can change the settings for indicator:

This dialog has two sections: "DPO" and "Zero Line" from where you can set line thickness, color and style for these components. You can also change "Length" and "Price", which are 2 input variables and were presented in the top of page.

Detrended Price Oscillator indicator on ESZ07 chart

Go to the top of page