Running Strategy Tester in an Expert Advisor

 
Is this possible to use strategy tester in a program? I mean something like testStrategy("EURUSD", from, to, ..., EA_BALANCE) returning value of balance. I would like to do some automatic tests for my advisor and it would be very helpful. Thanks in advance.
Reason: