Download MetaTrader 5

How to place an order on an event

To add comments, please log in or register
Looking for like-minded people? You will find lots of them on the Forum!
Deman
9
Deman 2014.05.24 04:43 

Hello, 

I would like to place an order when an event occurs, for example when my previous order hits either the SL or the TP. 

Is this possible in mql4?

Thanks! 

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.05.24 04:53  
Yes. It can be done.
Deman
9
Deman 2014.05.24 05:06  

How can this be done? could you give me a small example with a TP event?

Thanks 

Enotrek
168
Enotrek 2014.05.24 19:32  

Check market for active orders
   - Save tickets

Check history orders for closed tickets (those you saved)
   - if closed: Open new order.

Ian Venner
2584
Ian Venner 2014.05.25 02:24  
dem_ec:

How can this be done? could you give me a small example with a TP event?

Thanks 

There are lots of free EA codes in the codebase
To add comments, please log in or register