0

I am trying to automate the editing, compiling and reading of results of MQL4 file using python, are there any tools like selenium but targeted for UI?

Johji
  • 240
  • 1
  • 19
  • 2
    what are the results of the MQL4 file you are talking about? Do you want to parse tester results (or optimization results)? Or do you want to get list of objects on a chart that were generated by some MQL4 code? – Daniel Kniaz Nov 14 '18 at 11:01
  • Just the compile results I want to know if it has 0 errors and 0 warnings. – Johji Nov 15 '18 at 01:23

1 Answers1

0

What works for me is two things:

  • First option: clear the strategy tester logs, use comments in the code with specific string format, copy the logs and parse the data from the comments using python.
  • Second option: parse the expert advisor report using Python, from HTML to pandas dataframe for further processing.
gogaz
  • 2,323
  • 2
  • 23
  • 31
Ramzy
  • 171
  • 2
  • 14