MetaTrader 4 MetaEditor Language: How to Add Expert Advisors
The MetaEditor language Editor is a programming environment on the MetaTrader 4 stock trading platform that traders can use to add new Expert Advisors, Custom Indicators, Scripts, Libraries and Include Files which are used in programming automated trading programs.
The MT4 MetaEditor is shown below and traders can access it from the Tools menu on the MetaTrader 4 stock platform. This MetaEditor is popular with stocks traders who use automated Expert Advisors to trade stocks. If you are a Stocks Trader Looking for EA Stocks Robots, then you can find them on the MetaTrader 4 Stock Expert Advisors Library.
Open MetaEditor on MT4
MetaEditor
After Adding a new MT4 Stock Expert Advisor, a Stocks trader will be required to compile this newly added item so that it can now be recognized by the MetaTrader 4 platform and for this new item to start to appear on the list of available Expert Advisors.
Adding a New Stock Trading Expert Advisor
Once you have opened the MetaEditor Work Space as shown above, Keyboard Short Cut Keys - Press F4, then follow the steps below to add your new MT4 Stock Expert Advisor.
Step1: Go To File Menu, Select "New"
Adding a New Custom Expert Advisor on MetaTrader 4
Step2: On the Popup window that appears select "Expert Advisor"and click next as shown below
Adding MT4 Stock Expert Advisor on MT4 MetaEditor
Step3: Enter Name of EA as Shown Below and Click Finish
Creating A New MT4 Stock Expert Advisor on MT4
The Following Code will Appear
Adding Automated Stock Expert Advisors on MT4
To Program this Automated Stock Expert Advisor, it requires that you are a programmer who knows the C plus plus Object Oriented Programming Language, That is the Programming Language that forms the MQL4 Stocks EA Programming Language that is used to Program the MT4 software as well as the EA Stocks Robots that trade on this stock trading platform. Or you can find the community of MQL4 Programmers and they can program the EA trading robot for You. Or you can find a tutorial for programming and Learn, or you can go to MQL5.com Library of Automated Stocks Robots and buy an already programmed EA if you want to start auto trading.
Step4: Compile The Expert Advisor Program
Do not forget to compile the EA, for the EA to be recognized by the MetaTrader 4 stock trading platform; one must compile the program, then close the MT4 stock platform and restart it, just like restarting your computer you will restart you MT4 platform and your new Expert Advisor will then be Listed on the MT4 EA List within the MT4 stock platform Navigator Window.
Adding and Compiling a New Expert Advisor on MT4
If your EA has no Errors, it will be Compiled successfully without any error as shown below.
Automated Stock Expert Advisor Added To MT4 Stocks Platform After Compilation
Step5: Restart MetaTrader and the new EA robot should now be listed on the available EA List on the MT4 Navigation Menu as shown below, ready for starting trading with.
Stocks Expert Advisor Added To Stocks Platform MetaTrader 4
How to Add a Downloaded Stocks Trading EA
If you download an automated stock trading robot from a source on the internet, for example from www.tradeforextrading.com, then it is now on your computer, to add it, follow the steps below:
Step1 : On the File Menu of the MetaEditor , Select "Open"
How to Add a Downloaded Expert Advisor To MetaTrader 4 Stocks Platform
Step2: Locate the Download Folder from the Popup window that appears as shown below
Adding a Downloaded Stocks EA Robot To MetaTrader 4 Stocks Platform
Step3: Once you Open the Expert Advisor it will be displayed on the MT4 MetaEditor and then follow the above procedure for compiling the EA, once it is compiled without errors, Restart Your MT4 Stocks Platform and The automated robot will now be added and you can start to trade with it on your MetaTrader 4 Stock Platform.