There are inaccuracies in the text.
Quote:
One of the main changes in MQL5 compared to MQL4 (MetaTrader 4 language) is the support of object-oriented programming (OOP), which makes it similar to C++. Despite the fact that some OOP functions have already been transferred to MQL4 from MQL5 ...
OOP was added to MQL4, if I'm not mistaken, in the 600th version in early 2013! At the same time, the MQL4 language was radically improved, bringing it up to the top five. Full-fledged C++-style defines appeared, as in MQL5, and many other things, and most importantly, working OOP in the style of pluses, which has not changed much since then, if we talk purely about the language. Beginners always confuse MT4 and MT5 APIs with MQL4/5 programming languages. Once again - MQL4 and MQL5 languages are 99% identical, but the libraries and APIs are very different.
- www.mql5.com
MQL5 Programming for Traders (MQL5 Programming for Traders) - Source Code Part I.
By MetaQuotes
Good
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
MQL5 Programming for Traders – Source Codes from the Book. Part 1:
The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.
Author: MetaQuotes