Download MetaTrader 5

OrderSend - error 4059 ERR_FUNCTION_NOT_ALLOWED_IN_TESTING_MODE

To add comments, please log in or register
Share links on the Forum. Now they have Rich Content!
Jean-Luc Plagnaud
300
Jean-Luc Plagnaud 2006.10.18 11:49 
In one of my EA I get the error 4059 ERR_FUNCTION_NOT_ALLOWED_IN_TESTING_MODE on a OrderSend function.

What is strange is that the first 2 orders are send correctly and then suddenly the others give all the same error 4059

Any idea why?

thanks
Slawa
Moderator
6839
Slawa 2006.10.18 12:10  

Impossible. OrderSend function cannot generate this error.

Please read closely https://docs.mql4.com/runtime/errors

Simon Gniadkowski
Moderator
17998
Simon Gniadkowski 2014.01.16 14:00  


Thread start date - 2006.10.18

To add comments, please log in or register