How to READ .set files?

 

Good Day to all. Happy weekend. I got a problem regarding to use SET files. the scenario is, I have a set file for my xauusd chart and i have a set file for my btcusd. Can anybody help me to give me any ideas on how to load that SET programmatically?

FILE_READ|FILE_WRITE|FILE_CSV

I use above code for  my text document file without getting ANY ERRORS. But reading SET files I got NOTHING. 

What's possible solution to my problem? Is there a way to read that SET files using mql5?  or there is alternative way to load SET files programmatically?

Thanks in advance for reading and sharing your ideas about this matter.

 

You can not read files outside the sandbox, utilizing mql functions.


See docs:

https://www.mql5.com/en/docs/files/fileopen


You are bound to use WinAPI functions to accomplish this.

Documentation on MQL5: File Functions / FileOpen
Documentation on MQL5: File Functions / FileOpen
  • www.mql5.com
FileOpen - File Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
It is an ANSI text file, not Unicode.
Reason: