MetaQuotes have published a tutorial on how to write both an expert advisor and an indicator in MQL5 over on MQL5.com.
It's translated from the original Russian, so the English is a little weird in places. Nevertheless I guess the best place to start is with instructions "straight from the horse's mouth".
For an introduction to the C++ language (on which MQL5 is based) you might also want to take a look at this online tutorial (By all means read the risk warnings, but otherwise try to ignore all those forex broker ads!). You can also download an eBook version.
Finally if having looked at both of those you're still completely confused by object-oriented programming it will probably be worth your while to read "C# for Sharp Kids". It talks about a different programming language of course, but it's still the most approachable introduction to OOP that I've yet come across.


Reply With Quote
