MQL5 is an object oriented programming language similar to C++.
MQL5 is better than MQL4 when it comes to programming.
The problem with MQL5 is it lacks good libraries.
When I say good libraries I mean machine learning and deep learning libraries.
I have an easy solution. It will take a lot of hard work and effort to make these libraries in MQL5.
Why not connect MQL5 with C++, JAVA, Python and R by building a DLL.
I am working on writing a DLL that will connect MQL5 with C++, JAVA, Python and R.
In the meantime you can read this post in which I explain in detail how to code a simple expert advisor in MQL5.
As long as you don't have a good price predictive algorithm, your EA will never take off.
Opening and closing a trade is something good but focus more on the prediction part.
For good prediction we need strong machine learning and deep learning skills.