EA requests parameters at specific time?

 
Is it possible to have an EA that requests specific input parameters on a daily basis at a certain time in code?
 
SanMiguel:
Is it possible to have an EA that requests specific input parameters on a daily basis at a certain time in code?

This whole automation thing has gone and passed you by hasn't it? ;-)


CB

 
cloudbreaker:

This whole automation thing has gone and passed you by hasn't it? ;-)


CB

My EA needs to find support and resistance levels, it can't do that in code :)

 

CONSIDER THIS APPROACH:



double sup1, sup2, res1,res2;


int start()

{

...

...

...

sup1 = GlobalVariableGet("sup1");

sup2 = GlobalVariableGet("sup2");

res1 = GlobalVariableGet("sup1");

res2 = GlobalVariableGet("sup2");

...

...

}



NOW IN ORDER TO FEED VALUES TO THE EA, YOU SEEK "TOOLS->GLOBAL VARIABLES" IN THE TERMINAL, OR JUST HIT F3 KEY. ADD THE FIELDS "sup1", "sup2", ... to the "global variables" list, and corresponding values for support/resistance. The EA grabs them immediately at each tick. You can change these values anytime (or at a certain time).

Reason: