Download MetaTrader 5

Error "unknow ticket" is what number?

To add comments, please log in or register
sorasit
359
sorasit  

What is number code of "Unknow ticket" ?


Thank you

Brian Lillard
1065
Brian Lillard  
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
10617
Keith Watford  

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
359
sorasit  
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
16076
whroeder1  
Don't hard code numbers, Runtime Errors - MQL4 Documentation
To add comments, please log in or register