Download MetaTrader 5
To add comments, please log in or register
All Code Base apps are available from MetaTrader 5. You can publish your own one!
mikey
118
mikey 2011.06.27 14:38 

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.

whroeder1
13610
whroeder1 2011.06.27 20:17  
log file gets massive
See my comment
David Saulnier
400
David Saulnier 2014.02.12 14:11  

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

Alain Verleyen
Moderator
28558
Alain Verleyen 2014.02.13 12:17  
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.

whroeder1
13610
whroeder1 2014.02.13 13:17  
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(...);
David Saulnier
400
David Saulnier 2014.02.14 14:48  
Thanks but I'm not talking about my Print but about the automatic ones logged by the tester when sending/closing/modifying orders.
/
To add comments, please log in or register