Trade Forex Trading

Learn Gold Trading for Beginners Tutorials

MetaTrader 4 MetaEditor Language: How to Add Expert Advisors

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

MT4 Gold Platform MetaEditor Language: How to Add EAs - MetaTrader 4 MetaEditor - How to Add Expert Advisors on MT4 XAUUSD Trading Platform - MT4 XAUUSD Trading Platform Download - MetaTrader 4 Gold Platform Setup - MetaTrader 4 Gold Trading Platform Download

Open MetaEditor on MetaTrader 4 XAUUSD Trading Platform


MetaEditor

MQL4 Language Editor - How to Trade with Gold Trading EAs - MetaTrader 4 MetaEditor - How to Add Expert Advisors on MetaTrader 4 - MT4 Gold Trading Platform Download - MT4 XAUUSD Platform Setup - MetaTrader 4 XAUUSD Trading Platform Download


After Adding a new MT4 Gold Expert Advisor, a XAUUSD trader will be required to compile this newly added item so that it can now be recognized by the MetaTrader 4 gold 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 MT4 Gold Expert Advisor.


Step1: Go To File Menu, Select "New"

Adding a New Expert Advisor on MetaTrader 4 XAUUSD Trading Platform - MT4 Gold Trading Platform MetaEditor - How to Add EAs on MT4 Gold Trading Platform - MetaTrader 4 XAUUSD Trading Platform Download - MT4 Gold Platform Setup - MetaTrader 4 Gold Trading Platform Software Download

Adding a New Custom Expert Advisor on MT4 XAUUSD Trading Platform


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


Window for Adding New Gold Trading EA on MT4 Gold Trading Platform - Adding Gold Expert Advisor on MT4 XAUUSD Trading Platform - MT4 Gold Trading Platform MetaEditor - How to Add EAs on MetaTrader 4 Gold Trading Platform - MetaTrader 4 XAUUSD Trading Platform Download - MT4 Gold Platform Setup - MetaTrader 4 Gold Trading Platform Software Download

Adding MT4 Gold Expert Advisor on MetaTrader 4 Gold Trading Platform MetaEditor


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

Enter Name of New the EA Before Adding it to MT4 Gold Trading Software Platform - MT4 Gold Trading Platform MetaEditor Window Explained - How to Add Expert Advisors on MetaTrader 4 XAUUSD Trading Platform - MetaTrader 4 XAUUSD Trading Platform Download - MetaTrader 4 Gold Platform Setup - MT4 Gold Trading Platform Download

Creating A New MT4 Gold Expert Advisor on MetaTrader 4 XAUUSD Trading Platform


The Following Code will Appear

MT4 Gold Platform MetaEditor Programming For Automated Gold Trading EA Expert Advisors on MT4 Gold Trading Software - MT4 Gold Trading Platform MetaEditor - How to Add EAs on MT4 XAUUSD Trading Platform - MT4 Gold Trading Platform Download - MetaTrader 4 Gold Platform Setup - MetaTrader 4 Gold Trading Platform Software Download

Adding Automated Gold Expert Advisors on MT4 XAUUSD Trading Platform


To Program this Automated Gold 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 XAUUSD EA Programming Language that is used to Program the MT4 xauusd trading software as well as the EA XAUUSD Robots that trade on this xauusd 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 XAUUSD 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 xauusd trading platform; one must compile the program, then close the MT4 gold trading platform and restart it, just like restarting your computer you will restart you MT4 gold trading platform and your new Expert Advisor will then be Listed on the MetaTrader 4 EA List within the MT4 gold trading platform Navigator Window.

Compile The Gold EA Program on MT4 MetaEditor Language - MT4 Gold Trading Platform MetaEditor Window Explained - How to Add Expert Advisors on MetaTrader 4 XAUUSD Trading Platform - MT4 XAUUSD Trading Platform Download - MT4 Gold Platform Setup - MetaTrader 4 Gold Trading Platform Download

Adding and Compiling a New Expert Advisor on MetaTrader 4 XAUUSD Trading Platform



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

MetaEditor Programming Adding a Gold Trading EA on MetaTrader 4 XAUUSD Trading Platform - MT4 Gold Trading Platform MetaEditor - How to Add EAs on MT4 XAUUSD Trading Platform - MT4 Gold Trading Platform Download - MetaTrader 4 Gold Platform Setup - MetaTrader 4 Gold Trading Platform Download

Automated Gold Expert Advisor Added To MT4 XAUUSD Platform After Compilation


Step5: Restart MetaTrader and the new EA gold 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.

XAUUSD Expert Advisor Added on MT4 List of Installed Expert Advisors - MT4 Gold Trading Platform MetaEditor - How to Add EAs on MetaTrader 4 XAUUSD Trading Platform - MT4 Gold Trading Platform Download - MT4 Gold Platform Setup - MetaTrader 4 Gold Trading Platform Software Download

XAUUSD Expert Advisor Added To XAUUSD Platform MetaTrader 4


How to Add a Downloaded Expert Advisor

If you download an automated gold 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"

Open and Add a New Downloaded Expert Advisor to MetaTrader 4 Gold Platform - MT4 Gold Trading Platform MetaEditor - How to Add EAs on MetaTrader 4 XAUUSD Trading Platform - MT4 Gold Trading Platform Download - MetaTrader 4 Gold Platform Setup - MetaTrader 4 Gold Trading Software Download

How to Add a Downloaded Expert Advisor To MetaTrader 4 XAUUSD 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 XAUUSD Trading Platform - MT4 Gold Trading Platform MetaEditor - How to Add EAs on MetaTrader 4 Gold Trading Platform - MetaTrader 4 XAUUSD Trading Platform Download - MT4 Gold Platform Setup - MetaTrader 4 Gold Trading Platform Software Download

Adding a Downloaded XAUUSD EA Robot To MetaTrader 4 XAUUSD Platform


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

 

Metals Trading Symbols

Precious Metal Symbols:
Gold - XAU USD and XAU EUR, Silver - XAG USD and XAG EUR, Platinum - XPT USD, Palladium - XPD USD

Metal Symbols:
Copper - XCU USD, Zinc - XZN USD, Lead - XPB USD, Nickel - XNI USD, Aluminium - XAL USD