With that method I want to read the file "Symbol()+.'csv' " and put all the objects that i'm reading in that file. In the write of the file i don't have problems with the path and the information is save correctly.
1) For the writing you stated that you are using a path. But your code is reading without a path...
2) Are your trying to read from another MT client? If so, they don't share the same file sandbox I guess (I know for sure that this is true with MT5)...
Cheers!
;)
@Minions Labs Thx for your comment, today I can resolve the issue, the code that I posted is ok. The problem was with the for, was declared after the file open (when i delete an object i actualize the file so i make the call without close the file) because of that i have the error 5004. Mt4 cannot open a file that has not been closed.
Thx for you'r time!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi mates,
I've got a problem with the FileOpen(), I'm triying to read a csv text file, i've got the text error "Error code 5004" I know that this code tell me that metatraer cannot open my file. I've seen another posts and they said that the problem is with the path. But I follow all the instructions and i'm having the same result.
I let you my code here:
With that method I want to read the file "Symbol()+.'csv' " and put all the objects that i'm reading in that file. In the write of the file i don't have problems with the path and the information is save correctly.
Thx for you'r time.
Naitrisc.