question about rectangles

Moderator: admin

question about rectangles

Postby djspinburner » Thu May 05, 2016 4:11 pm

I have this project i am working on and you can see the levels in the picture. I am trying to get rid of the levels that are reactions to prior levels so they don't show up. both circled in red. What would be the best approach to do that?
Attachments
rectangle.PNG
djspinburner
 
Posts: 39
Joined: Thu Jun 11, 2015 1:44 pm

Re: question about rectangles

Postby Apprentice » Fri May 06, 2016 3:08 am

Can you share your code?

I wrote something similar here.
viewtopic.php?f=17&t=59367&hilit=support
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: question about rectangles

Postby djspinburner » Sat May 07, 2016 9:35 am

The code is being pulled from DLL

I am using similar code to your

viewtopic.php?f=27&t=60215&hilit=+ma+supply+resistance#p92115

but with my own signal parameters, just using the drawing technique. I am looking to disable levels inside other levels or right on top

so lets say the rectangle is top to bottom, if a new rectangle bottom is between previous rectangle top and bottom, i don't want it to draw. same goes for a sell signal if a new rectangle top is inside the previous rectangle don't want that one to draw either.

make sense?
djspinburner
 
Posts: 39
Joined: Thu Jun 11, 2015 1:44 pm

Re: question about rectangles

Postby djspinburner » Wed Jun 01, 2016 7:29 pm

is there anyone else out there who can help with this?
djspinburner
 
Posts: 39
Joined: Thu Jun 11, 2015 1:44 pm


Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 6 guests