FileOpen
Yes!
- docs.mql4.com
string terminal_data_path=TerminalInfoString(TERMINAL_DATA_PATH); string filename=terminal_data_path+"\\MQL4\\Files\\"+"fractals.csv"; int filehandle=FileOpen(filename,FILE_WRITE|FILE_CSV); |
You don't specify the path, /Files is implicit.
File Write Problem (Error: 5002) - Expert Advisors and Automated Trading - MQL5 programming forum #1-2 (2020)
and FolderDelete using TERMINAL_DATA_PATH - General - MQL5 programming forum (2017)
@William Roeder, the above code is not the OP's. It is code quoted from the FileOpen documentation example (to explain that very fact you have commented on).
/