Please, how to open buystop and sellstop orders at the same time

 

Please, how can I open buystop and sellstop orders at the same time and one delete as the other triggered?

Thanks.

 
Don't double post
 
oladapolaleye:

Please, how can I open buystop and sellstop orders at the same time and one delete as the other triggered?

Thanks.


If you intend to trade news here is an ea that does just that.

If you are familiar with reading the code, that should help.

If not, you need to be more specific about what you need help with.

Also, we are discussing and working on an EA that places OP_BUYSTOP and OP_SELLSTOP orders here if you're interested.

Cheers

 
WHRoeder:
Don't double post

I report your other answer here and deleted the other topic.

WHRoeder 2014.04.05 03:01

  1. You don't. Open one, then the other.
  2. OrderSelect each ticket or use a loop. When you find one has changed to a buy or sell, delete the other.

 
oladapolaleye:

Please, how can I open buystop and sellstop orders at the same time and one delete as the other triggered?

Thanks.

How many times will you post the question, again and again. Please don't double post. I already have to remove 2 similar topics from you.