The soul of the expert advisor lies in its custom indicator.
If the custom indicator gives high quality buy/sell signals, expert advisor will work like charm.
Designing a custom indicator is the challenge that requires a lot of hard work however.
If else statements wont work when it comes to predicting price.
I have written this post in which I explain how to use custom indicators in expert advisors.
The problem with MQL5 is that it lacks the power of Python.
Python is a leader when it comes to deep learning and artificial intelligence.
Can we call Python from within MQL5 code?
We can easily write a C++ DLL that will connect MQL5 with Python.
Using deep learning algorithms in our custom indicators can make them very powerful.