So is anyone else having issues ?

 

Been coding in MT4 for years, as in like 15. 


Today either OrderSelect or OrderType no longer works. I can't get trades closed. I get error messages I don't even recognise. 


2018.12.20 21:03:26.914 multi-order EA AUDJPY,M15:  Trying to close...44108

2018.12.20 21:03:26.914 multi-order EA AUDJPY,M15:  Trying to close...34108


Run time errors doesn't run into the 30 000's as far as I know. Tried to google them, nothing. 


Even though I selected OP_BUY or OP_SELL only trades, it appear to be referencing pending orders

2018.12.20 21:03:26.914 multi-order EA AUDJPY,M15: pending order #203806877 cannot be closed.


Does anyone know what's going on ? 







 
Try to contact with your Broker
 
Nguyen Tuan:
Try to contact with your Broker

What do you think they're going to say ? 

The problem is here. I wrote some print statements into the code to check where the problem is. It doesn't print. For some reason the compiler is not compiling changes. 

 
Try to contact the broker still; if there is problem on the platform, you guys can resolve it together. You are the coder, they are the server.
 
Or post a code snippet to replicate the exact issue. 
 
DrZogg:
...

Does anyone know what's going on ? 

2018.12.20 21:03:26.914 multi-order EA AUDJPY,M15:  Trying to close...4   4108

2018.12.20 21:03:26.914 multi-order EA AUDJPY,M15:  Trying to close...3   4108

4108

ERR_INVALID_TICKET

Invalid ticket

2018.12.20 21:03:26.914 multi-order EA AUDJPY,M15: pending order #203806877 cannot be closed.

A pending order can't be close (OrderClose), it has to be deleted (OrderDelete).

Fix your code.

Reason: