MQL5 TUTORIAL BASICS – 1 HOW TO CREATE A SIMPLE EXPERT ADVISOR

What we see here is a so-called Expert Advisor, that’s an automated program that can run inside of Metatrader and it is able to open and close positions and in this video we are going to find out how to create a very basic simple version of an Expert Advisor.
To do that please click on the little button here or press F4 in Metatrader and now you should see the Metaeditor window and here you want to click on: “File/ New/ Expert Advisor (template)” from template, “Continue”, I will call this version: “SimpleExpertAdvisor”, click on “Continue”, “Continue” and “Finish”, and here we are!
The Metaeditor has created this template for us and we can already compile it by clicking on the button here or pressing F7, this version is readable for humans and when we compile it we create a readable version for the Metatrader, it’s already available here so let’s open a new chart window we can drag our new file on the chart, so far it doesn’t contain any logic and that’s what we are going to add in the next few videos.