All about MQL 5 and some sample codes.
MQL 5 is object-oriented language to build auto trading system of your own. I ll cover basic and some sample trading code here.
MQL 5 has 5 types of applications.
- Expert Adviser. It is automated trading system that link to chart, and contains event handlers.
- Custom Indicator. It is a technical indicator.
- Script. It is a single execution of an action.
- Library. It is a set of custom functions.
- Include File. It is a reusable code.
We will mainly focus on Expert Adviser (EA) here.
- Running MQL 5
- Trade Permission
- Client Terminal Events
- Call of Imported Functions
- Handling Runtime Errors
- Testing Strategy