You might try going to mt4platformroot/log and delete unwanted log files.
YALEWANG:
2 lines in the log each time you load or unload an EA/Indicator or script is not causing you an issue.
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 .
but my testor writte one time every tick ,every time is the same " XXXX load sussesfuly ,XXXX removed " ,the log file is large than 1G .
YALEWANG: but my testor writte one time every tick
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 .
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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 .