I am a beginner in MQL5 coding. I need to write a code for testing a hypothesis for my research. I started very simple codes to see how can I write and test them. I appreciate if someone can help me about it.
First of all, I don't know how and where should I see the output and results.
In addition when I want to open a file or delete a file I can not and the file exists after running(for instance: I want to delete a file in common folder, and the code I wrote is as following)
There are multiple outputs, first one is obviously the chart. An other important output is Experts tab in Toolbox window, you can use Print function for that. See this article about output devices.
To delete a file in the common folder for all terminals you have to use the FILE_COMMON flag.