Detrended Price Oscillator

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


Re: Detrended Price Oscillator

Postby Paul W » Mon Feb 11, 2019 4:00 pm

very close

Alert triggers when price reaches/breaks "Buy Level" and "Sell Level" - works well

However - repaint feature does not - Alert level should advance (repaint) until a maximum distance from "0" is attained - then fixes in position

similar in the manner "3_Level_ZZ_Semafor" repaints - where earlier painted lines are erased (disappear) viewtopic.php?f=17&t=954&hilit=3_LEVEL_ZZ_SEMAFOR

I was hoping to enhance the indicator to help identify (visually) when a maximum distance from "0" is reached/attained - it helps identify when an exit (to a scalp trade) is near - both Long and Short

Long - "Buy level Alert" - only "Buy level Cross Over" is needed
Short - "Sell level Alert" - only "Sell level Cross Under" is needed

this indicator is one of a composite of others - that I use in a scalping strategy

very much appreciated
Attachments
Debug Detrended Osc - fix.JPG
Paul W
FXCodeBase: Initiate
 
Posts: 112
Joined: Mon Apr 01, 2013 1:36 pm


Re: Detrended Price Oscillator

Postby Paul W » Wed Feb 13, 2019 1:41 pm

very, very close - found a couple of bugs

"alert" counter appears to reset/focus on "Buy level" and "Sell level" ? - and therefore misses valid "alert" triggers - "alert" counter should reset when price crosses "0"

"autoscale" feature appears not to include "alert" symbol - symbol at times is clipped

this is a good indicator - a useful addition, to a composite strategy

Thx
Attachments
Feb 13 error-trap final.JPG
Paul W
FXCodeBase: Initiate
 
Posts: 112
Joined: Mon Apr 01, 2013 1:36 pm

Re: Detrended Price Oscillator

Postby Apprentice » Sat Feb 16, 2019 4:18 am

Try this version.


"autoscale" feature appears not to include "alert" symbol - symbol at
times is clipped
It's FXTS2 bug, there is nothing we can do with it
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 22134
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Detrended Price Oscillator

Postby Paul W » Sun Feb 17, 2019 4:36 pm

tested latest version

"0" counter reset - works OK

but indicator still misses valid alerts - I can't see a pattern for the error atm - may be related to counter ?

autoscale still clipping some alert-symbols - not sure if this can be fixed ? (would be nice)

I have tested, and this is a very good indicator - currently tuned for DOW and DAX

I very much appreciate your efforts
Attachments
vvvvvvvvvvvvvvvvvvvvvvvvvvvvv.JPG
Paul W
FXCodeBase: Initiate
 
Posts: 112
Joined: Mon Apr 01, 2013 1:36 pm


Re: Detrended Price Oscillator

Postby Paul W » Wed Feb 20, 2019 11:40 am

Awesome - am testing atm

Alert symbol still occasionally gets clipped - "Autoscale" appears to focus on the indicator and not the alert-symbol - would be nice if fixed, but is also liveable (not sure if this is fixable ?)

Will make and post some chart examples on how I use this indicator in a scalping strategy - will post shortly

Thx
Paul W
FXCodeBase: Initiate
 
Posts: 112
Joined: Mon Apr 01, 2013 1:36 pm

Re: Detrended Price Oscillator

Postby Paul W » Tue Feb 26, 2019 3:17 pm

Here is a simple Scalping Strategy using - Detrended Price Oscillator with Channel.Paul W.v4.lua
download/file.php?id=23989

Requires Recursive Median Filter
viewtopic.php?f=17&t=65722&p=118728&hilit=recursive#p118728

settings are displayed on chart - and are currently tuned for DOW and DAX - FX pairs need to be separately tuned

works well when there is momentum and/or there is frontrunning on Fundamental News releases

note: avoid high-Market-volatility periods, and trade only in the direction of trend
Attachments
Detrend debug.PNG
Detrended Price Oscillator Strategy
Paul W
FXCodeBase: Initiate
 
Posts: 112
Joined: Mon Apr 01, 2013 1:36 pm

Re: Detrended Price Oscillator

Postby Paul W » Tue May 28, 2019 9:49 am

this is a really good indicator - Detrended Price Oscillator with Channel.Paul W.v4.lua

I'm hoping you have some time - to add an enhancement

An option to select a vertical line - that displays on the oscillator and main charts - if that is possible?

it would better help visually to identify entries and exits

Thank you
Attachments
Paul V4.PNG
Paul W
FXCodeBase: Initiate
 
Posts: 112
Joined: Mon Apr 01, 2013 1:36 pm

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 6 guests