Yes.
This depends on what it is attempting to do. for my case, it cant. I have to do calculations on some related bars, write them to a file, and read the values. These file ops runs once during init(). During live/forward/demo, this works very well and no prbs, not even once. But on tester, it fails.
Under the Strategy Tester files are read from and written to tester/files whereas an Expert running live/Demo reads from writes to experts/files.
Thank you!
Is there a possibility to use a function from the kernel32.dll, which works like FileOpen from MetaTrader. I mean is there function, which read's my file until the delimiter?
#import "kernel32.dll"
int _lopen (string path, int of);
int _lcreat (string path, int attrib);
int _llseek (int handle, int offset, int origin);
int _lread (int handle, string buffer, int bytes);
int _lwrite (int handle, string buffer, int bytes);
int _lclose (int handle);
#import

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,
can I do a stategy test from my ea, which uses file-functions? The ea reads the different ordersettings from the txt-files.
Thank you!