Tool to delete temporary metatrader logs - page 3

 
Lee Bryant:

Hi everyone,

I am sure anyone who has used MT4 often especially to do long backtests knows how big the log files can get ! I have coded a batch file which deletes the biggest files from MT4 (you need to close the program first) thought I would share it...

Just place it in your metatrader folder and press 'y' when it prompts if you want to delete. This can clear gigabytes from your drive !!

Hi Lee,
I have another problem with log files that maybe you can help me.
Log files use a lot of my hard disk during backtesting, roughly 500 GB!!! 
So i need solution for deleting log file when my code is running for backtesting.
I didn't have this problem when i imported historical data by excel format but this problem emerged  when i imported data by hts. Format.
Consequently you can imagine when i want use optimise feature for my code.
Finally, l'm sorry if i can't write very fluent. 

Reason: