Closer in what sense?
Regarding the syntax they equal, and the basic syntax somewhat resembles C++ (but not the C). However, the same syntax use many other languages, including Java or C#.
I agree because MQL5 is more complicated than MQL4.
In terms of ugliness no one can beat C++ and Perl.