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:
Is it possible to work with txt, csv or other files in the testing strategy? If so, how?
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
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register