Metatrader 4

May 20, 2016 at 16:48
Vistas 318
2 Replies
Miembro desde Apr 25, 2016   posts 2
May 20, 2016 at 16:48 (editado May 20, 2016 at 11:31)
Hello guys, i have a question.
Hopefully you can help me with it.
Im trading with news trends especially Economic data calendar etc.

I'm working with Metatrader 4 in combination with XM trader on a Apple macbook and everything works fine.
Now i know that MT4 doesn't support OCO strategy orders.

Is there a possibility to implement OCO orders in MT4 with simple manners because i'm not a programmer.

Thanks for the help guys.

😎
zakelijk1986@
Miembro desde Nov 14, 2015   posts 325
May 21, 2016 at 13:32 (editado May 21, 2016 at 13:32)
make an EA that loops over open orders, group them based on the comments (say OCO1), when one of the commented orders kicks in, cancel the others.

Now you can make an order, say buy EURUSD and sell GBPUSD with comment OCO1, and one will cancel the other.
Miembro desde Apr 25, 2016   posts 2
May 22, 2016 at 09:00
Okey thanks, will give it a go.
zakelijk1986@
Conectarse / Inscribirse to comment
You must be connected to Myfxbook in order to leave a comment
*El uso comercial y el spam no serán tolerados y pueden resultar en el cierre de la cuenta.
Consejo: Al publicar una imagen o una URL de YouTube, ésta se integrará automáticamente en su mensaje!
Consejo: Escriba el signo @ para completar automáticamente un nombre de usuario que participa en esta discusión.