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
//--- incorrect file opening method
showing what not to do. No correction required.What you pasted had the lineshowing what not to do. No correction required.
I know this is 2.5 years late, but maybe somebody is reading this and is looking for an answer:
I had the same issue and solved it as follows:
The solution is simple:
1- Copy or move the file you want to use to ....................\MQL4\Files (the dots should be replaced with the path to your MetaQuotes Terminal folder)
2- Change the line of code to the following:
int file_handle=FileOpen("................csv",FILE_READ|FILE_CSV,','); (the dots should be replaced with your filename.
And it should work without a problem.