New available builds are announced here in the forum, and on some of the official MetaQuotes channels, and also in MetaTrader's own Journal log.
However, there is no official method to obtain that information programmatically. The MQL5 language has no "normal" way to read the Journal log. There are however "indirect" methods.
For example, using Windows NTFS junction points, one can map the Journal log directory into a sub directory of the MQL5 Files sandbox. With the Journal log files indirectly available in the "Files" sandbox, you can then open it in "shared" mode, read it and process the information. But there might be a delay as the log is not always flushed to disk in a timely fashion my MetaTrader, but it is still better than nothing.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Is there anyway I can detect a new stable version of the client metatrader is available?
I'd like my EA notify me when the Live Update has found a new build and it's requesting to be installed.
I had issues in the past where I failed to notice a new build available hence failed to install it and it ended up breaking the authorization with my broker. Ever since, I check my VPS weekly just to see if there is an update available. I'd like to make my EA notify me so I can log in into my VPS and run the update.
I can't find anywhere in the forum if this has already being discussed. Also, I don't see anything in TerminalInfoInteger() that could help, except for knowing the current running build