Route206: I've gone over the https://docs.mql4.com/files files but it didn't bring me a solution...
| You read it? Did you read FileOpen - MQL4 Documentation |
Ooh sh*t!! - that's the one i use all the time so didn't bother looking at that one :-/
Anyway, i now need to figure out how the actually use it then. I mean, i can set the delimiter, but how to weed the data out between them is my next puzzle then. Clearly never done that before, so pointers are again helpful.
thanks again
Route206: I've gone over the https://docs.mql4.com/files files but it didn't bring me a solution...
| You read it? Did you read File Operations - Standard Functions - MQL4 Tutorial |
As annoying as it could potentially be for you, sometimes I like being taken by the hand ;-)
thanks!!

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
Say i have a file: "DOWJONES.txt"
the file is updated from time to time through email scripts whenever the file is updated, it needs to be read by an EA and the new values must be loaded.
FileGetInteger() can tell me if a new file is present by checking the FILE_MODIFY_DATE.
So I'm cool with that.
Now for the content of the file: it is structured as follows: "gargabe_and_more_garbage|string1|integer1|double1|double2|double3|garbage|garbage|string2|
as you can see, the relevant info is in between the "|"
is there anyway i can read that? I've gone over the https://docs.mql4.com/files files but it didn't bring me a solution...
btw: '*.txt 'is my only compatible file format with MT4.
Any suggestions?