[ Ссылка ]
Introduction to Expert Advisors in MetaTrader 5 (00:00 – 00:10)
Explaining what an expert advisor is in MetaTrader 5 and the intention to create one.
Starting Meta Editor for Expert Advisor Creation (00:10 – 00:19)
Instructions on how to open the Meta Editor, either by clicking a button or using the F4 key.
Creating a New Expert Advisor in Meta Editor (00:19 – 00:29)
Steps to create a new expert advisor by clicking the 'New' button or hitting Ctrl+M.
Setting Up the Expert Advisor: Naming and Language Selection (00:29 – 00:46)
Choosing to generate an expert advisor, selecting the English language, and naming the advisor 'Hello Mql5'.
Adjusting Copyright and Website Information (00:46 – 00:55)
Modifying the copyright mark and website in the setup window.
Defining Parameters for the Expert Advisor (00:55 – 01:01)
Mentioning the option to define parameters, but choosing to do it later.
Adding and Customizing Indicators (01:01 – 01:09)
Adding a moving average indicator and explaining how to adjust its values.
Customizing Moving Average Method and Price Selection (01:09 – 01:16)
Options to change the moving average method and select between close price or open price.
Finalizing Setup: Skipping Trailing Stop and Adjusting Lot Size (01:16 – 01:23)
Skipping the trailing stop option and adjusting the lot size.
Automatic Code Generation and Compilation (01:23 – 01:33)
Automatic generation of code lines and instructions to compile the expert advisor.
Successful Compilation Without Errors (01:33 – 01:42)
Confirming successful compilation with no errors or warnings.
Completion of First Expert Advisor Creation (01:42 – 01:50)
Announcing the completion of the first expert advisor without typing any code.
Preview of Next Steps: Running the Expert Advisor in MetaTrader 5 (01:50 – 01:58)
Teasing the next video where the created expert advisor will be run in MetaTrader 5.
Create your first MQL5 Expert Advisor for automated trading with Metatrader5.
An automated program that can do things by itself is called expert advisor in metatrader5.
And we are going to create one right now.
To do that we will use the meta editor you can start it by clicking on this button or by hitting the f4 key.
When you start the meta editor for the first time there's not so much to see.
To create a new expert advisor simply click on the new button or hit ctrl M.
Now this dialog will pop up and we will select the option generate expert advisor.
I have selected the English language as default language but you can see the buttons are still in German.
This is the next button in the next window, we will give it a name.
Let's call it hello Mql5.
I'm also going to replace the copyright mark and the website and this will.
Now you could define parameters, but we are going to do it later.
So click the next button again.
Now we could add another indicator, for example a moving average.
You will be able to adjust all the values as you like.
For example you can change the method to be an exponential moving average instead of a simple moving average.
Or you can decide if you want to choose the close price or the open price.
For example we will talk about what that means later.
Hit the next button again skip the trailing stop and adjust the lot size.
Now all these code lines have been generated automatically.
To make the expert advisor work with metatrader5 you have to compile it.
You can click on the compile button or hit the f7 key.
You should have no errors in this window and it says no errors, no warnings, so will compiling work well.
And that's it, you have just created your first expert advisor without even typing a single line of code.
In the next video we are going to run it in Metatrader5.
![](https://i.ytimg.com/vi/Tu4FjrNSwC0/maxresdefault.jpg)