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: 105
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: 105
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: 20594
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot] and 10 guests