Download MetaTrader 5

How to place an order on an event

To add comments, please log in or register
Deman
9
Deman  

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  
Yes. It can be done.
Deman
9
Deman  

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

Thanks 

Enotrek
168
Enotrek  

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  
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