Code2219 or probably 2319:
Hi, this piece of code , always leads to the same error.
the ModifyReq is filled just as Trade.mqh is filling it before sending a modification order.
Hi, this piece of code , always leads to the same error.
the ModifyReq is filled just as Trade.mqh is filling it before sending a modification order.
when this 10013 retcode is returned ? and what does it mean a trade being INVALID ?
Sorry, my bad.
I was not doing it the same way trade.mqh is filling the request structure.
for anyone making my mistake when using ordercheck() function before doing trade operations, elements of the request structure must be initiated to zero, or just ZeroMemory()ed.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
the ModifyReq is filled just as Trade.mqh is filling it before sending a modification order.
when this 10013 retcode is returned ? and what does it mean a trade being INVALID ?