MetaTrader 4 MetaEditor Language: How to Add EAs
The Meta-Editor language Editor is a programming environment on the MetaTrader 4 stock indices software which traders can use to add new Expert Advisors, Custom Technical Indicators, Scripts, Libraries and Include Files that are used in programming automated programs.
The MetaTrader 4 MetaEditor is illustrated below & traders can access it from the Tools menu on the MT4 software. This MetaEditor is popular with the traders who use Expert Advisors to trade indices. If you are a Trader Looking for EA Robots, then you as a trader can find them on the MetaTrader 4 Expert Advisors Library.
Open Meta Editor on MT4
Meta-Editor
After Adding a new MetaTrader 4 Expert Advisor, a trader will be required to compile this newly added item so that it can now be recognized by the MetaTrader 4 platform & for this new item to begin to appear on the listing of available EAs.
Adding a New Indices Automated Expert Advisor
Once you have opened the MetaEditor Work Space as pictured above, Short-Cut Keyboard Keys - Press F4, then follow the steps below to add your new MT4 Automated Expert Advisor.
Step1: Go To File Menu, Select "New"
Adding New Custom EA in MT4
Step2: On Pop up panel that appears choose 'Expert Advisor' and click next as shown & illustrated below
Adding MetaTrader 4 Expert Advisor in MetaTrader 4 MetaEditor
Step3: Enter Name of Automated Expert Advisor as Highlighted Below & Click Finish
Creating a New MetaTrader 4 Expert Advisor in MT4
The Following Code will Pop Up
Adding Expert Advisors on MT4
To Code this Automated EA, it requires that you are a coder who knows C plus plus Object Oriented Programming Language, That is the Programming Language that forms the MQL4 Expert Advisor Programming Language that is used to Program the MT4 platform as well as the Expert Advisor Robots that trade on this platform. Or you can find the forum of MQL4 Programmers and they can code the Expert Advisor robot for You. Or you can find a guide for programming and Learn, or you can navigate to MQL5.com CodeBase Library of Automated Robots & buy an already programmed Expert Advisor if you want to start automated trading.
Step4: Compile the EA Program
Don't forget to compile the Expert Advisor, for the Expert Advisor to be recognized by the MetaTrader 4 trading software: one must compile the program, then close the MetaTrader 4 platform & restart it, just like restarting your computer you will restart you MT4 platform & your new Expert Advisor will then be Listed on the MT4 Expert Advisor List within the MetaTrader 4 software Navigator Window Panel.
Adding & Compiling a New Automated Expert Advisor in MetaTrader 4
If your Expert Advisor has no Programming Errors, it will be Compiled successfully without any error as shown & illustrated below.
Automated Expert Advisor Added to MetaTrader 4 After Compilation
Step5: Rebegin MetaTrader & the new EA bot should now be listed on the available Expert Advisor List on MetaTrader 4 Navigation Menu as displayed below, ready for starting trading with.
Stock Expert Advisor Added to Platform MetaTrader 4
How to Add a Downloaded Automated EA
If you download a automated bot from a source on the inter-net, for examples from www.tradestockindices.com, then it's now on your computer, to add it, follow the steps explained below:
Step1 : On the File Menu of the MetaEditor, Select "Open"
How to Add a Downloaded Expert Advisor to MetaTrader 4
Step2: Find Download Folder from the Pop up window which appears as illustrated & shown below
Adding a Downloaded EA Robot to MT4
Step3: Once you Open the Expert Advisor it will be displayed on MetaTrader 4 MetaEditor and then follow the above guide for compiling the EA, once it's compiled without errors, Restart Your MT4 Platform and The automated bot will now be added and you as a trader can use start to trade with it on your MT4 Software.