The following code always returns -1.
For security reasons, work with
files is strictly controlled in the MQL5 language. Files with which file
operations are conducted using MQL5 means, cannot be outside the file
There are two directories (with subdirectories) in which working files can be located: