Chart EA to run backtester and read datas

 

Hello, does anybody knows if there is a way to code an EA to run the backtester genetic algorithm several times (let assume.. 3 times overnight) and save their (3) result lists in any way?

  1. Is this somethign possible?

  2. Where to look?

  3. How to start?

Thank you very much!

 
nanetto:

Hello, does anybody knows if there is a way to code an EA to run the backtester genetic algorithm several times (let assume.. 3 times overnight) and save their (3) result lists in any way?

  1. Is this somethign possible?

  2. Where to look?

  3. How to start?

Thank you very much!

1) Can be done

2) don't know

3) code 

 
pipspider:

1) Can be done

2) don't know

3) code 

Thank you for reply. Where i could find some documentations about how to controll backtester from an mql4 EA?
 
nanetto:
Thank you for reply. Where i could find some documentations about how to controll backtester from an mql4 EA?
Only this I know, but it is not very helpful  https://docs.mql4.com/runtime/testing
Operation of Programs in the Strategy Tester - MQL4 programs - MQL4 Reference
Operation of Programs in the Strategy Tester - MQL4 programs - MQL4 Reference
  • docs.mql4.com
There are operation limitations for some functions in the client terminal's Strategy Tester. Calling that functions leads to error 4059 (Function is not allowed in testing mode). The Sleep() Function The Print() and PrintFormat() Functions To increase performance, Print() and PrintFormat() functions are not executed when optimizing the trading...
 
pipspider:
Only this I know, but it is not very helpful  https://docs.mql4.com/runtime/testing
Thank you mate, it's a starting point. Tx again!