Order failed to close Error: 0

 

Hello folks,

I'm wondering about an error in MT4.

I test some code and in the journal I see an alert: Order failed to close. Error 0

Why error 0? This should mean no error, but order still open.

Any input anybody?

Thanks.
WorstCases

 
Post the code. Error 0 probably means the GetLastError wasn't captured properly.
 

Thank you for the reply.

You confirmed what I thought.

I'm going to look into the code again and might post it, if I can't find the problem.

Reason: