Reloading an EA at a given time in strategy tester

To add comments, please log in or register
Batuhan
142
Batuhan  

I devised an EA which I'm planning to run on my computer from 8:00 to 20:00 every trade day. I will shut down my computer every night and reload the EA every next morning.

How can I simulate this case in strategy tester?

Is there a function that reloads the EA (from the first line, including all the global variables) every morning at a given time when testing the EA in strategy tester?

Thanks a lot.

Batuhan
142
Batuhan  

Maybe, I can pack all the global variables and put the box in OnInit() and call it at the given time.

Just a newbie opinion, if there is a smarter alternative I would like to learn it.

To add comments, please log in or register