PLEASE HELP ME, you Expert Programmers - Tester of Tester: an automatic changer of an EA's extern variables.

 

Hi.


I need support, and open this topic to who is interested, about this one:


It exist still, or it does not exist and so how to make a:


EA or Program (embedded in mq4, not exteral .exe) that 

work on an expert advisor automatically?


In other words a method for changing variables,

external variables, of an EA, and trying all combos

and mixing of valors for an EA, automatically.


In example i mean:


EA:


extern int 

 A=1

 B=2,

 C=3;


if( (A>3 && A<1) || (B>3 &&  <1) || (C>3 && C<1) ) {

   Print("Error");

   return(0);

}

else {


if(A==1) D=4*x;

if(A==2) D=5*x;

if(A==3) D=6*x;


if(B==1) D=4*y;

if(B==2) D=5*y;

if(B==3) D=6*y;


if(C==1) D=4*z;

if(C==2) D=5*z;

if(C==3) D=6*z;


}


ecc.....



In example, instead of MANUALLY changing the extern int variables value of A,B,C, time by time

launching the tester and see the final results of i.e Profit Factor or other results, at the end, 


IS THERE a methd/way for the software mq4 or script, itself to change automatically all possible

combinations of external variables, and saving the output (Results) in a file,

or a JPG?


In other word, a system that launch and test automatically an Expert Advisor,

with all it's EA variables combinations, and than giving results so that i.e.

i can launch the testing in the night, and have in the morning the 20

different Results, for 27 possible combinations of values,

possibly stored into external data ora JPG or Results page (best).



I hope this is possible to do this metod.


Thanks for reply and interest.

 

I think what you're looking for is the Optimizer in the Strategy Tester tool. Check out the following link:

'Expert Advisors Based on Popular Trading Systems and Alchemy of Trading Robot Optimization'

If you want to shortcut to the area of your immediate interest, then search for the paragraph on "EA Optimization".

I think you'll find that this is exactly what you are asking for - no need to do any extra work.

- Tovan

 
tovan:

I think what you're looking for is the Optimizer in the Strategy Tester tool. Check out the following link:

'Expert Advisors Based on Popular Trading Systems and Alchemy of Trading Robot Optimization'

If you want to shortcut to the area of your immediate interest, then search for the paragraph on "EA Optimization".

I think you'll find that this is exactly what you are asking for - no need to do any extra work.

- Tovan

Thanks very much.


You suggested me exatcly what i'm looking for, and effectively it were bit "strange" that

there were not the optimization function  and something like this, (it exist, but i don't know this),

and that a programmer need to change manually the extern variables..


Now the problem is to get enough CPU power for the deep optimizations testing..

on some EA's it takes tenths of hours..


Thanks again.


Regards.

Reason: