Download MetaTrader 5
To add comments, please log in or register
How to earn at MQL5.community? Come and find out!
oladapolaleye
182
oladapolaleye 2014.04.04 23:55 

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

Thanks.

whroeder1
13610
whroeder1 2014.04.05 01:02  
Don't double post
Daniel Petrovai
440
Daniel Petrovai 2014.04.05 01:20  
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

Alain Verleyen
Moderator
28558
Alain Verleyen 2014.04.05 06:11  
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.

Alain Verleyen
Moderator
28558
Alain Verleyen 2014.04.09 21:02  
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.
/
To add comments, please log in or register