Download MetaTrader 5
To add comments, please log in or register
Do you need a programmer? Make an order to let the developer find you!
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
9470
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
14218
whroeder1 2015.08.27 11:19  
Don't hard code numbers, Runtime Errors - MQL4 Documentation
/
To add comments, please log in or register