how to stop testor write log ?
when test an ea ,a very large log was written ,so the testor become very slowly ,it always write the same useless
message like XXXX load sussesfuly ,XXXX removed ,
the memory is full ,and cannot load the history data .
So don't do that.
- comment out the prints
- disable the prints
int init(){ : #define CS_LIVE 0 #define CS_VISUAL 1 #define CS_OPTIMIZER 2 if(!IsTesting()) chart.status = CS_LIVE; else if(IsVisualMode()) chart.status = CS_VISUAL; else{ chart.status = CS_OPTIMIZER; Show.Comments = false; Show.Objects = false; Debug.Enabled = false; }
sorry, i cannot pass the compile in mt4 editor ,chart object not defined .
in my code no print , comment ,and object functions ,only use customindicators .
when test GBPUSD EURUSD pairs ,the testor load and remove all the customindicator one time every tick ,
but not do so on USDCHF pair , it is very strange .
when test an ea ,a very large log was written ,so the testor become very slowly ,it always write the same useless
message like XXXX load sussesfuly ,XXXX removed ,
the memory is full ,and cannot load the history data .