To use chat, please login.
Back to contacts

Metatrader 4

mootje86
May 20 2016 at 16:48
2 posts
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.

😎

stian
May 21 2016 at 13:32
325 posts
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.

mootje86
May 22 2016 at 09:00
2 posts
Okey thanks, will give it a go.

Please login to comment .