Strategy Testing, with reoptimization at intervals

 

Hi,


Is this possible with either MT4 or MT5?


Example.

I want to run an EA for 12 months, before each month is ran, specified variables are used to get optimum (highest in optimization) setting, and is used on the upcoming month's trade.  And after that month, optimization is again done, and applied to the next month, and so on and so forth.


All in one run of a strategy tester.



Is this possible currently?

 
You are suggesting a very advance method for optimization.
 
At this moment you can't do it automatically. 
 

Hello guys,

 

Is what I originally described above still not available (feature) in MT4/MT5? 

 
what would serve it's purpose ?
 

You will find this article useful:

https://www.mql5.com/en/articles/1467

Anyway, optimization is not the holy graal. Best values are not the highest, which lead to curve fitting.

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
The articles describes and provides a library of functions that allows a trader to optimize his or her Expert Advisor's inputs by launching optimization directly from the EA.
 

That gave me an idea.  Thanks!

 For backtest, I generate all optimization output files  (e.g. monthly optimization), first, most likely by a separate robot.  Then I run the strategy tester (the main robot), referring to optimization files before each period.

 <Flexing fingers, preparing to code> 

 

I agree that even with such automated optimization, robots can still stink.  However, it wouldnt hurt to try.  I have time to code it.  It is fun to see and prove things right or wrong. 

Reason: