Trade Stock Indices

Learn Stock Indices Trading

MT4 MetaEditor Language: How To Add Expert Advisors

The MetaEditor language Editor is a programming environment on the MT4 indices 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 MetaTrader 4 MetaEditor is shown below and traders can access it from the Tools menu on the MT4 stock indexes trading platform. This MetaEditor is popular with indices traders who use automated Expert Advisors to trade indices. If you are a Indices Trader Looking for EA Indices Trading Robots, then you can find them on the MT4 Indices Expert Advisors Library.

MT4 Indices Trading Platform MetaEditor Language: How To Add Expert Advisors

Open MetaEditor on MetaTrader 4


MetaEditor

MT4 MetaEditor Programming Environment


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


Adding a New 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, Select “New”

Adding a New Expert Advisor on MT4

Adding a New Custom Expert Advisor on MT4


Step2: On the Popup window that appears select “Expert Advisor”and click next as shown below

Window for Adding New Expert Advisor on MT4

Adding MetaTrader 4 Indices Expert Advisor on MetaTrader 4 MetaEditor


Step3: Enter Name of EA as Shown Below and Click Finish

Enter Name of New Expert Advisor Before Adding it to MT4 Indices Trading Platform

Creating A New MetaTrader 4 Indices Expert Advisor on MetaTrader 4


The Following Code will Appear

MetaEditor Programming For Expert Advisor on MT4

Adding Automated Indices Expert Advisors on MetaTrader 4


To Program this Automated Indices Trading Expert Advisor, it requires that you are a programmer who knows the C++ 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 indices trading software as well as the EA Indices Trading Robots that trade on this indices 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 Indices Trading 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 MT4 indices trading platform; one must compile the program, then close the MetaTrader 4 stock indexes trading platform and restart it, just like restarting your computer you will restart you MetaTrader 4 stock indexes trading platform and your new Expert Advisor will then be Listed on the MetaTrader 4 EA List within the MetaTrader 4 stock indexes trading platform Navigator Window.

Compile The Indices Expert Advisor Program on MT4 MetaEditor Language

Adding and Compiling a New Expert Advisor on MetaTrader 4

Broker


If your EA has no Errors, it will be Compiled successfully without any error as shown below.

MetaEditor Programming Adding An Expert Advisor on MT4

Automated Indices Expert Advisor Added To MetaTrader 4 Indices Trading Platform After Compilation


Step5: Restart MetaTrader and the new EA stock indexes trading robot should now be listed on the available EA List on the MetaTrader 4 Navigation Menu as shown below, ready for starting trading with.

Stock Indexes Expert Advisor Added on MT4 List of Installed Expert Advisors

Stock Indexes Expert Advisor Added To Indices Trading Platform MT4


How To Add a Downloaded Expert Advisor

If you download an automated stock indexes trading robot from a source on the internet, for example 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 , Select “Open”

Open and Add a New Downloaded Expert Advisor to MT4 Indices Trading Platform

How To Add a Downloaded Expert Advisor To MT4 Indices Trading Platform


Step2: Locate the Download Folder from the Popup window that appears as shown below

Locate Downloaded Expert Advisor on Computer and Install it on MT4

Adding a Downloaded Indices EA Robot To MT4 Indices Trading Platform


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

 

Forex Seminar Gala


Forex Seminar




Broker