When MT4 log file is overwritten?

 

I wonder when MT4 log file is refreshed?

I mean if  I attach the indicator on the chart, and later, the signal alert comes,

and I can see the history of signal alert in  MT4 expert tab.

But when I open MT4 log file, it is still not saved (refresh and overwritten) the alert message.

My goal is to make EA to read log file as soon as MT4 overwrite the signal alert, then I will make EA to make an entry.

 
  1. Don't double post! You already had this thread open.
              General rules and best pratices of the Forum. - General - MQL5 programming forum (2017)

  2. Cromo: But when I open MT4 log file, it is still not saved (refresh and overwritten) the alert message.

    Right-click on the Alert tab. That will update the file and open Explorer.

  3. Cromo: My goal is to make EA to read log file as soon as MT4 overwrite the signal alert, then I will make EA to make an entry.

    You can't read them, and you can't read the file because of the caching.

    Figure out what buffer(s) values trigger the alert and use that.
              Detailed explanation of iCustom - MQL4 programming forum