Detrended Price Oscillator (DPO)

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Detrended Price Oscillator (DPO)

Postby Alexander.Gettinger » Fri Apr 30, 2010 11:22 am

Detrended Price Oscillator eliminates the trend effect of price movement. This simplifies the process of finding out cycles and levels of outbidding/resale.

Long-term cycles consist of several shorter cycles. Analyzing such short components helps to define crucial moments of the cycle's development. DPO gives a chance to eliminate the influence on prices of long-term cycles.

Calculations:

DPO = CLOSE - SMA (CLOSE, (N / 2 + 1))

Where:
SMA — a simple moving average;
CLOSE — the closing price;
N — the period of the cycle (if N is equal to 12, DPO resembles the DiNapoli Detrend Oscillator).

DPO.png

DPO.lua
(990 Bytes) Downloaded 1529 times


AUDNZD H1 (09-17-2017 1452).png

MTF MCP DPO Heat Map.lua
(11.06 KiB) Downloaded 634 times


MCP MTF version.
viewtopic.php?f=17&t=70687
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Detrended Price Oscillator (DPO)

Postby Nikolay.Gekht » Fri Apr 30, 2010 3:08 pm

BTW, we already have one implementation of the Detrend Price Oscillator.
viewtopic.php?f=17&t=716 :-)
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Centered Detrend Price (CDP)

Postby Apprentice » Sun Jul 07, 2013 6:32 am

cdp.png

CDP = close - AvgofClose[Period/2];
CDP.lua
(4.13 KiB) Downloaded 983 times

CDP with Alert.lua
(13.15 KiB) Downloaded 800 times


Compatibility issue fixed.
_Alert Helper is not longer needed.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Detrended Price Oscillator Bar

Postby Apprentice » Sun Jul 07, 2013 6:44 am

bar.png

DPO Bar.lua
(2.75 KiB) Downloaded 1008 times

DPO Bar with Alert.lua
(11.6 KiB) Downloaded 814 times


Compatibility issue fixed.
_Alert Helper is not longer needed.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Detrended Price Oscillator (DPO)

Postby juju1024 » Sun Jul 14, 2013 8:48 am

Hi,

Can you create or convert dpo bar for mt4 if do not exist ?

thanks
juju1024
 
Posts: 48
Joined: Wed Sep 26, 2012 5:05 pm

Re: Detrended Price Oscillator (DPO)

Postby Apprentice » Sun Jul 14, 2013 11:02 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Detrended Price Oscillator (DPO)

Postby Coondawg71 » Fri Apr 03, 2015 4:36 am

Can we please request Alert function added to DPO Bar indicator.

I would like Alert to be triggered upon closing value of bar crossing "0" center line.

Thanks!!!

sjc
User avatar
Coondawg71
FXCodeBase: Graduate
 
Posts: 324
Joined: Sat Jan 15, 2011 11:45 am


Re: Detrended Price Oscillator (DPO)

Postby Coondawg71 » Tue Apr 07, 2015 6:18 am

DPO with alert is working nicely, thanks!

Can we please request a MTF MCP DPO Bar Dashboard.

If we can please have a simple colored arrow up or down in relation the DPO bar crossing the Zero center line would be appreciated.

And if possible, if we can have the "bell alarm" visual alert old dashboards used to have which would signify the indicator value crossing the threshold. MVA Dashboard is a good reference, unless you have a better solution.

Thanks!

sjc
User avatar
Coondawg71
FXCodeBase: Graduate
 
Posts: 324
Joined: Sat Jan 15, 2011 11:45 am

Next

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 52 guests