Error "unknow ticket" is what number?

Back to topics list To post a new topic, please log in or register
avatar
98
sorasit46 2015.08.27 08:02
 

What is number code of "Unknow ticket" ?


Thank you

avatar
211
Subgenius 2015.08.27 08:08 #
 
sorasit46:

What is number code of "Unknow ticket" ?


Thank you

probably that your counter is regarded as the ticket number

use OrderTicket()

show your code

avatar
Moderator
3418
GumRai 2015.08.27 08:20 #
 

Do you mean 4108 Invalid ticket?

You get it if the ticket number doesn't exist or you try to modify or close an already closed order 

avatar
98
sorasit46 2015.08.27 10:22 #
 
GumRai:

Do you mean 4108 Invalid ticket?

You get it if the ticket number doesn't exist or you try to modify or close an already closed order 

Thank you
avatar
13006
WHRoeder 2015.08.27 13:19 #
 
Don't hard code numbers, Runtime Errors - MQL4 Documentation



Back to topics list  

To add comments, please log in or register