Download MetaTrader 5

delete pending orders

To add comments, please log in or register
adrian
9
adrian  
Hello. I have a downloaded script that deletes all the trades and pending orders at x loss or profit (see attach). I would like to modify this EA to delete all pending orders (SL,TP, Trailing stop) at x loss and leave the trades open.Can someone guide me with this? Thank you in advance.
adrian
9
adrian  
no one?
Roberto Jacobs
47237
Roberto Jacobs  
adrian:
no one?
where your source code?
Vasyl Nosal
18657
Vasyl Nosal  
adrian:
Hello. I have a downloaded script that deletes all the trades and pending orders at x loss or profit (see attach). I would like to modify this EA to delete all pending orders (SL,TP, Trailing stop) at x loss and leave the trades open.Can someone guide me with this? Thank you in advance.

Sure.

Here you are. 

strategy_tester
58
strategy_tester  
adrian:
Hello. I have a downloaded script that deletes all the trades and pending orders at x loss or profit (see attach). I would like to modify this EA to delete all pending orders (SL,TP, Trailing stop) at x loss and leave the trades open.Can someone guide me with this? Thank you in advance.
MT4 or MT5 ?
To add comments, please log in or register