solved:
This would have been the right combination of parameters.
file_handle=FileOpen(file_name,FILE_READ|FILE_WRITE|FILE_TXT|FILE_ANSI);
![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
Hi, when I use the FileWrite or FileWriteString, MT produces binary files, which are close to be text files.
Here is my code:
Here is the result:
This is how a text file should look like:
What do I miss?