Automated Backtesting Strategy

 

Hi,

Apologies in advance if this has been raised before as I am fairly new to MQL4.

I'm trying to automate backtesting and I am kinda getting there. So I am kicking off another instance of MT4 Client to run the strategy tester in accordance with the article https://www.mql5.com/en/articles/1467, using shellexecute.

But in my debugging investigation I've found that I could possibly make use, not sure, of event handler OnTester(). Though I read this is meant for use with custom criteria - I am not using custom criteria.

So this lead me to think whether the above article is outdated and whether there is now a more efficient way.

Any thoughts please ?

Automated Optimization of a Trading Robot in Real Trading
Automated Optimization of a Trading Robot in Real Trading
  • 2007.10.04
  • Igor Malcev
  • www.mql5.com
It is supposed that an Expert Advisor having inputs adjusted to the history will trade to a profit for the first (rather short) time. Indirect confirmations of this suggestion appeared after I had watched the Automated Trading Championship 2006. When the Championship started there were much more profitable Expert Advisors than later, when some...
Reason: