

Just copy the library to your MetaTrader Data Folder's Include directory, with Library will change its name to mql-lib in the future. Truly cross version library for both MT4 and MT5 (and x86/圆4). It is intended to remove this restriction and make the library a Except for trading related classes, you can use the library on Though the library was targeting MQL4, most of its components is compatible with This library has the ambition to become the de Mql4-lib is a simple library that tries to make MQL programming pleasant withĪ more object oriented approach and a coding style like Java, and encourages Oriented) style yet, let alone reuable and elegant component based design and Most MQL4 programs have not adapted to the MQL5 (Object MQL4/5 programming language provided by MetaQuotes is a very limited version ofĬ++, and its standard library is a clone of the (ugly) MFC, both of which I am


An expert advisor that checks connection status periodically.To do so, we need these pieces of software: In fact, restarting the terminal will force the reconnection to broker servers. if it’s running on a VPS), the only thing to do is make some software that restarts the entire platform as soon as it disconnects. But if you aren’t watching Metatrader (e.g. Let’s make things clear: if you can figure out that your platform isn’t online, you can simply reconnect it manually and the job is done.
