What language is MQL4 and 5

Hi all, sorry if the thread is not for here.
I’d like to ask what program language is the closest to MQL4 and MQL5, because I am also planing to learn Java, or C, or something like that, and I’d like to know which one is closest to MQL4 and 5

c is closer to mql4 and in mql5 there is Object-Oriented Programming which is important for java. in my opinion it doesn’t matter which language you learn, if you can code one language it is not hard to learn another one.

MQL4 Tutorial - This might also be helpful to you, that’s if you have not stumbled on it previously.

Hi Sartheris.

MQL4 is basically C and MQL5 C++ (C with OOP). What changes are the custom functions and structures inherent to Metatrader but sintax is basically the same.

I disagree with Pieep. Asthough programming concepts and logic stays the same independently of language, there are some languages very different to others. If your priority is MQL then go for C or C++, if your priority is different then evaluate python, ruby, java…

Regards

i agree with alph. but learning c or c++ to code mql after that would be an unnecessary long and hard way to go. if you really want to be a programmer (in the future) then it would be a good decision to go that way imo

No, my priority is not MQL, but I am just looking for the most similar to it original programing language, so it will be easier for me in the future (after all, there is a future in the MQL programming and the forex)

Well if your priority is getting a salary as a programmer then MQL and C are very bad options. Better to go for PHP/Python/Ruby on rails if you like web or Microsoft technologies/javascript for applications.

Good luck!

P.D: You can do some practice at codeacademy.com or get some free courses at coursera or edx (or if you have some money, lynda.com).

Programming is not about a language, its all about process. Process means putting together complete specs, analysis and correct design before writing any code. Having a comprehensive test plan is also crucial. Notice how little mention I have given to the coding language. Its important but its only one part of the process.