Trade Stock Indices

Learn Stock Index Trading Tutorials

MT4 MetaEditor Language: How to Add Expert Advisors

The Meta-Editor language Editor is a coding environment on the MT4 indices software which traders can use to add new Expert Advisors, Custom Technical Indicators, Scripts, Libraries & Include Files that are used in coding automated trading programs.

The MT4 MetaEditor is illustrated below & traders can access it from the Tools menu on the MT4 platform. This MetaEditor is popular with traders who use automated Expert Advisors to trade indices. If you are a Trader Looking for Expert Advisor Indices Trading Robots, then you can find them on the MT4 Indices Expert Advisors Library.

MetaTrader 4 Indices Trading Platform MetaEditor Language: How to Add Expert Advisors - How to Add a Expert-Advisor

Open Meta Editor in MT4

MetaEditor

MT4 MetaEditor Programming Environment - MetaTrader 4 Index Expert Advisor Robot - How Do I Add EA MT4?

After Adding a new MT4 Indices Expert-Advisor, a trader will be required to compile this newly added item so that it can now be recognized by the MT4 platform and for this new item to start to appear on the list of available Expert Advisors.

Adding a New Indices Trading Expert Advisor

Once you have opened the MetaEditor Work Space as shown above, Short Cut Keyboard Keys - Press F4, then follow the steps below to add your new MetaTrader 4 Indices Trading Expert Advisor.

Step1: Go To File Menu, Choose "New"

Adding a New Expert Advisor in MetaTrader 4 - MetaTrader 4 Stock Indices Expert Advisor Robot - How to Add EA MT4

Adding a New Custom Expert Advisor on MetaTrader 4

Step2: On Popup panel that appears choose 'Expert-Advisor'and click next as illustrated and shown below

Window for Adding New Expert Advisor in MetaTrader 4 - MT4 Index EA Robot

Adding MetaTrader 4 Indices Expert-Advisor in MT4 MetaEditor

Step3: Enter Name of Expert Advisor as Shown Below & Click Finish

Enter Name of New EA Before Adding it to MetaTrader 4

Creating a New MetaTrader 4 Indices Expert-Advisor on MetaTrader 4

The Following Code will Pop Up

MetaEditor Programming for EA on MT4 - MT4 MetaEditor: How Do I Add Stock Index Trading Expert Advisors?

Adding Automated Indices Expert Advisors on MT4

To Program this Automated Indices Trading Expert Advisor, 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 Indices EA Programming Language that is used to Program the MetaTrader 4 software as well as the EA Indices Bots that trade on this indices 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 coding & Learn, or you can navigate to MQL5.com Library of Automated Indices Trading Bots & 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 MT4 indices trading software: one must compile the program, then close the MetaTrader 4 platform and restart it, just like restarting your computer you will restart you MetaTrader 4 platform and your new Expert Advisor will then be Listed on the MetaTrader 4 EA List within the MetaTrader 4 platform Navigator Window Panel.

Compile the Indices EA Program on MT4 MetaEditor Language

Adding & Compiling a New Expert Advisor in MT4

If your Expert Advisor has no Programming Errors, it will be Compiled successfully without any error as shown & shown below.

MetaEditor Programming Adding an Expert Advisor in MetaTrader 4 - MT4 Stock Indices EA Robot

Automated Indices Expert Advisor Added to MetaTrader 4 After Compilation

Step5: Rebegin MetaTrader & the new EA stock indices trading 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 Indices Expert Advisor Added on MT4 List of Installed EAs

Stock Indices Expert Advisor Added to Indices Platform MT4

How to Add a Downloaded Stock Indices Trading Expert Advisor

If you download an automated stock indices trading bot from a source on the inter-net, for examples from www.tradestockindices.com, then it is now on your computer, to add it, follow the steps below:

Step1 : On the File Menu of the MetaEditor, Choose "Open"

Open and Add a New Downloaded EA to MT4

How to Add a Downloaded Expert Advisor to MetaTrader 4

Step2: Find Download Folder from the Popup window that appears as illustrated & shown below

MT4 MetaEditor: How to Add Stock Index Expert Advisors

Adding a Downloaded Indices EA Robot to MT4

Step3: Once you Open the Expert Advisor it will be displayed in MetaTrader 4 MetaEditor & then follow the above procedure for compiling the EA, once it is compiled without errors, Restart Your MT4 Indices Platform and The automated bot will now be added and you as a trader can use start to trade with it on your MT4 Indices Trading Software.