Expert Properties Input

 
There is any "ready to use" function to print the current expert advisor configuration just like it's presented in the "input" column in the "optimization results" tab?
 
...or maybe just a way to iterate over all external variables.
 
hvilela:
...or maybe just a way to iterate over all external variables.
I can't think of any standard function/functionality that will print the externs, I think you will need to code the Print() statements specifically for each EA . . .
 
  1. No. and No.
  2. You can read the optimization file and extract the variable names (Search auto-optimization) but there is no text to variable mapping
  3. You can use my approach mt4 strategy tester - BATCH MODE - MQL4 forum to do the mapping
  4. Or you can simply print("variable = ",variable) list.



 

And and automatic way to save the .set file when the test is done?

Is it sound possible?

 
hvilela:

And and automatic way to save the .set file when the test is done?

Is it sound possible?

Nope . . .
 
Not even with "PostMessageA" command calls to simulate buttons clicks to navigate through Expert Properties -> Inputs -> Save -> OK?
 
hvilela:
Not even with "PostMessageA" command calls to simulate buttons clicks to navigate through Expert Properties -> Inputs -> Save -> OK?
Maybe, try it and let us all know.
Reason: