Is it possible to work with txt, csv or other files in the testing strategy? If so, how?

 
Is it possible to work with txt, csv or other files in the testing strategy? If so, how?
 
Josama Doland:
Is it possible to work with txt, csv or other files in the testing strategy? If so, how?
See:
MQL5 Book: Working with files / Common APIs
MQL5 Book: Working with files / Common APIs
  • www.mql5.com
It is difficult to find a program that does not use data input-output. We already know that MQL programs can receive settings via input variables...
 

Yes, but only within the tester’s sandbox.

You must use the MQL5\Files (or Tester\Files during testing) directory and standard file functions ( FileOpen , FileRead* , FileWrite* ).
Absolute paths or arbitrary external locations are not allowed in Strategy Tester.

If you need shared access, use FILE_COMMON