Dear Sirs forex traders, we continue our lessons in MQL.And the theme of this lesson - classes in object-oriented programming.
If you look at Wikipedia, in order to understand what classes in programming, you can immediately begin to beat his head against the monitor.However, we are with you will not do this and just see a video where I tried in theory and in practice, to show what it is and how to work with it.
So, seeing this lesson, you now should be able to write:
- class, based on Moving average indicator, which would also give a signal to open and close a position.
- Advisor that would open and close positions on the basis of indications of signals from this class.
Waiting for your results on the forum: