MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  File functions  FileClose

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
void FileClose( int handle)
Closes file previously opened by the FileOpen() function.
Parameters:
handle   -   File handle returned by the FileOpen() function
Sample:
  int handle=FileOpen("filename", FILE_CSV|FILE_READ);
  if(handle>0)
    {
     // working with file ...
     FileClose(handle);
    }