Documentation

FolderCreate

The function creates a directory in the Files directory (depending on the value of common_flag).

bool  FolderCreate(
   string  folder_name,       // String with the name of the new folder
   int     common_flag=0      // Scope
   );

Parameters

folder_name

[in] The name of the directory you want to create. Contains the full path to the folder.

common_flag=0

[in] Flag determining the location of the directory. If common_flag=FILE_COMMON, then the directory is in the shared folder for all client terminals. Otherwise, the directory is in a local folder (MQL5\files or MQL5\tester\files in case of testing).

Return Value

Returns true if successful, otherwise - false.