Errors, bugs, questions - page 1388
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
An error in logic
If the request to place an order was declined (line with failed) due to lack of network connectivity, why was it actually executed, which is confirmed by the subsequent modification of the order (line with modify).
And if after the network connection was re-established the terminal itself sent a second request, where is the line about its successful execution?
An error in logic
If the request to place an order was declined (line with failed) due to lack of network connectivity, why was it actually executed, which is confirmed by the subsequent modification of the order (line with modify).
And if after the network connection was re-established the terminal itself sent a second request, where is the line about its successful execution?
The broker did not want to execute your order and disconnected the internet. But then market conditions changed, he changed his mind and executed. ))
Can you tell me why FileOpen function does not work in INI_file::WriteFile. It returns -1. GetLastError() returns code 5004 (File can not open)
Requires re-creation of a text file in ansi-encoding. Before callingWriteFile I read the same file with INI_file::ReadFile.
I am talking about MT4 and MQL4.
Sometimes data are opened normally and written (return value ofFileWriteString is not checked), but file is not changed, even file date is not changed.
int fh=FileOpen(fn,FILE_WRITE);
If I open file in this way, the file is opened and data are written in ansi-encoding, but not unicode, as described in the Help, when FILE_ANSI/FILE_UNICODE is absent.
Can you tell me why FileOpen function does not work in INI_file::WriteFile. It returns -1. GetLastError() returns code 5004 (File can not open)
Can anyone explain why a tester would download a story on a tool that I am not going to test?
downloading EURUSD
the tool for testing USDCAD, there are no requests to work with EURUSD
and this happens all the time, is it trying to make synthetic pairs out of what it has if there are gaps in the history? I can't find any other explanation.
The tester is multi-currency and needs to calculate absolutely precisely at any second both margin requirements and profits in the deposit currency.