Auto EA

 

Hi everyone, I'm new to the forum.

Is there a way to automatically start an EA at a specific time of day, perhaps 08:02 am EST.

 

Rami

The EA keeps running - you just stop it taking any action with something like...


int h=TimeHour(TimeCurrent());

if (h<8) return (0);

...


NB TimeHour is working off the server time of your broker - which may not be EST - so you would have to adjust accordingly

BB

Reason: