- Crea un semplice file batch che copia il file dalla cartella dei registri a un'altra cartella
- Crea un'attività pianificata in Windows che eseguirà questo file batch con la periodicità richiesta
Alexey Petrov #:
- Create a simple batch file that copies the file from the logs folder to another folder
- Create a scheduled task in Windows that will run this batch file with the required periodicity
Thank Alexey for your suggestion.
I can do it easily.
BUT why should I set a batch file to keep these important information, instead complaining directly with Metaquotes about this stupid decision?
What's the idea behind deleting the log of the expert advisor after 8 days?!?
It's a stupid decision...whenever traders use an expert advisor, they all set a batch file to avoid deleting of the expert log?
Do you understand it's a stupid workaround, instead setting Metatrader5 to never delete these log files?
![MQL5 - Linguaggio delle strategie di trading integrato nel client terminal MetaTrader 5](https://c.mql5.com/i/registerlandings/logo-2.png)
Ti stai perdendo delle opportunità di trading:
- App di trading gratuite
- Oltre 8.000 segnali per il copy trading
- Notizie economiche per esplorare i mercati finanziari
Registrazione
Accedi
Accetti la politica del sito e le condizioni d’uso
Se non hai un account, registrati
As explained in the Guideline: https://www.metatrader5.com/en/terminal/help/start_advanced/structure
EXPERT LOG
/Logs
Contains Expert Advisor log files (yyyymmdd.log). These files are created separately for each day of the EA operation, their names correspond to their creation date: yyyy stands for the year, mm — month, dd — date.
There is no explanation about deleting the expert log files.
They should be kept in this folder for ever.
Instead....surprise ! After 8 days , metatrader5 will start to delete the oldest file.
It's important, fundamental, to keep ALL the expert log files.
Through Metatarder5 tools there is no chance to modify this 8 days expiry.
Any suggestion!?
I can't believe Metaquotes decided to delete these files!