According to this link, https://www.mql5.com/en/docs/files/fileopen, if I use FileOpen my file should be created under my MQL5\files\ directory, but I do not have a files directory. Under \MQL5 I have \experts, \images, \include, \indicators, \scripts. I am not getting an error from an invalid handle and yet I cannot find the file.
MQL5 directory = C:\Program Files\MetaTrader 5\MQL5
here is the code
I checked that directory and I still do not see any files.