Download MetaTrader 5
To add comments, please log in or register
Articles have already helped many traders. Come and read them!
sorasit
358
sorasit 2015.08.27 06:02 

What is number code of "Unknow ticket" ?


Thank you

Subgenius
582
Subgenius 2015.08.27 06: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

Keith Watford
Moderator
9543
Keith Watford 2015.08.27 06: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 

sorasit
358
sorasit 2015.08.27 08: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
whroeder1
14236
whroeder1 2015.08.27 11:19  
Don't hard code numbers, Runtime Errors - MQL4 Documentation
/
To add comments, please log in or register