Clear the journal programmatically

 

Can I programmatically clear the StrategyTester journal on the start of my backtest run?

Thanks.

 

Not with mql. With WINAPI call if you know/find the needed command(s).

What to do ?

 
Alain Verleyen:

Not with mql. With WINAPI call if you know/find the needed command(s).

What to do ?


Doesn't work for me.. the daily .log file remains locked after the tester run.

 

why not just create a .bat file to delete files and execute it before you start the backtest?

Reason: