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
My EA is storing data in CSV files for export once a day. Every minute data is appended to the file. This works fine on my local machine.
When I sync the EA to my MQL5 VPS then it seems that the file (common) folders are cleared. So the collected Data is lost with every sync.
Is this a confirmed behavior of the VPS or am I doing something wrong with my append-function?
int Flags = FILE_CSV|FILE_READ|FILE_SHARE_READ|FILE_WRITE; // same effect with FILE_COMMON
int file_handle = FileOpen(strFileName, Flags);
FileSeek(file_handle, 0, SEEK_END);
FileWrite(file_handle, "SomeTestData");
FileClose(file_handle);