Create/Write File (Txt/Cvs) Error 5002: Failed to Open

 
  int file_handle=FileOpen(TerminalInfoString(TERMINAL_DATA_PATH)+ InpDirectoryName + "//"+InpFileName,FILE_READ|FILE_WRITE|FILE_CSV);
  1. FileOpen - MQL4 Documentation "The name of the file can contain subfolders" File open already has the data path to the files directory.
  2. Only one slash separates directories
 

Got it ty u very mutch :)

 
4XNZ: Something must have changed.
If it had changed then it would have worked, but it doesn't work so nothing has changed.
Reason: