want stop strategy tester writing log file

 

When i do backtests with M1 data for a couple of years, of course the log file gets massive. As the backtest goes on I see a definite slowing of progress (slowing of simulation time covered per unit of real time). And I think this is related to the log file getting too big. Because as we know - a too big log file can actually interfere with metatrader working at all.

So, is there some way to run metatrader with it NOT writing a log file? I can actually do without the log file.

 
log file gets massive
See my comment
 

Up!

In MT4 build 604 : Is there a way to run tester without writing log ?

1) to speed up the process

2) to save writing to my SSD

 
DavidS777:

Up!

In MT4 build 604 : Is there a way to run tester without writing log ?

1) to speed up the process

2) to save writing to my SSD

Hi,

I don't think there is a way to do that. I am not absolutely sure though.

 
Yes, stop writing to the log.
int      status_chart;                          // Export to CAProgress/Later.
                                                #define SC_LIVE      0
                                                #define SC_VISUAL    1
                                                #define SC_OPTIMIZER 2
int init(){
   if      ( !IsTesting() )   status_chart   = SC_LIVE;
   else  if( IsVisualMode() ) status_chart   = SC_VISUAL;
   else{                      status_chart   = SC_OPTIMIZER;
                              Show_Comments  = false;
                              Show_Objects   = false;                         }
   :
}
/////
  if(status_chart != SC_OPTIMIZER) Print(...);
 
Thanks but I'm not talking about my Print but about the automatic ones logged by the tester when sending/closing/modifying orders.
Reason: