Algosupremacy:
After the GetLastError() call, the contents of _LastError are reset.
Hello all,
I have a problem with the code of my OrderSend, that I wrote to use it in general purpose. The problem is that sometimes I get an OrderSend error with the 0 error code
Why it happens ?
Algosupremacy:
Hello all,
I have a problem with the code of my OrderSend, that I wrote to use it in general purpose. The problem is that sometimes I get an OrderSend error with the 0 error code
Why it happens ?
See @Petr Nosek answer for your question.
As a side notes :
- your error 130 processing can only fix the error by chance, it's not generic at all.
- Your way to use NormalizeDouble() is not generic either.
- Your RefreshRates() usage is useless.
There are a lot of topics on that on this forum if you want more information.
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
Hello all,
I have a problem with the code of my OrderSend, that I wrote to use it in general purpose. The problem is that sometimes I get an OrderSend error with the 0 error code
Why it happens ?