Home

MetaTrader 4 and MetaEditor

image

Contents

1. esssesseeessneeeeeerssnesereneresreesneneresneenresnensrennresnnnnrennneninnrnnrennnesnnnnnns 94 Removing an Expert Advisor from the Chart cccscsssessssssssscscesessssescsesessesescsescsesesseseecseseseseeesesesevsesnseeesersesnseeesesess 94 eana CUS ON PVC ARON eeann EENE S ts 95 Adding a Custom Indicator TO the Chart sscsiscssctsescevescncsnsxestecevcsnscsvaticaidacsesucui at stsan ttedeivaaitevewtuccdelace tbuesesaidoacalicsecdioatatts 98 Modifying a Custom Indicator Attached to a CHarte ce eeeessscssesessssssesesessssesssesesesesssseeeseseeevseeestseeseateeesseseseeeateesen 99 MS IN E UMN EENE sate E E A E cate ced T N ate toes T A A E A E A A S 100 Ee a D OME CR ia aa a a ai 102 Removing a Script Attached to a CHartan eeeesessesssessssssesesessssssesescsesecscscecsescavsceeseseeavavacevecssavaveesesteavavaeecseseneearacees 104 Modifying an Expert Advisor Custom Indicator or SCID ta eeesesesesesessssssesesecsesssesesecscsvsceeseseeavsesesesteavavenseseseneees 105 Deleting an Expert Advisor Custom Indicator or Script from the Navigator uo eesessssssssesesessssssesesessseseseseseseees 106 Adding a Library to an EXOEM AGVISOL OF SCH IO sisscteccscssvcosossarsevoestniersrenavcrtnertaveswbrsirsertaiavien unser aiani 107 Setting Keyboard Shortcuts for Autotrading Tools in the Navigator WindoW u c cesesessessesssssesssseseessesereees 109 Section 6 Customizing the Appearance and Settings in MetaTrader esesssssssesessssescsesesesesse
2. Editing Drawings in the Chart 1 Right click in the chart window with your drawing objects and select Objects List In the Objects On window select the object you want and click Edit In the Common tab make sure the name is correct and enter a description if desired 2 5 4 Use the drop down menus to specify the colour of the drawing object and the line style 5 Click on the Parameters tab and make changes as necessary 6 If you want to specify a time frame click on the Visualization tab uncheck Show On All The Time frames and check the time frames you want When done click OK l 8 Select another object in the Objects On window to edit if desired 9 When done click Close If you don t want to configure all of the drawings at once you can also double click on a single drawing object in the chart window to select it Right click on it and select the Properties menu option This will open the edit window for the currently selected object Grouping Charts with Profiles MetaTrader allows you to open multiple charts and save them in a profile Many traders use this to compare their most commonly traded instruments You can use the Profiles menu option in the File menu to save multiple groups of charts j GFT MetaTrader 4 and MetaEditor User Manual Fa 2088454440 GFT MT4 Powered by BT Demo Account E File View Charts fo Ea New Chart P Open Offline Tools Window Help re Zi New Order
3. J Trade Account History News Alerts Mailbox Experts Journal You can create or modify the alert settings in the Alert Editor This is where you can set conditions and specify the sound to olay for your alert Alert Editor Action Symbol Condition Bid lt w Value 0 000 Source alert Timeout Maximum iterations 1000 Ww You can choose to be alerted when the instrument price is less than the bid price Bid gt greater than the bid price Bid lt less than the ask price Ask gt or greater than the ask price Ask lt You can also set the alert to occur at a certain time Time Action Symbol MetaTrader will play a sound file if the application is open when the alert goes off If you plan on closing the application you can use the Action drop down menu to select an alternate way to be notified select Mail to receive an email or File to receive a file If you choose Sound from the Action drop down menu you can select the sound file you want to play from a drop down menu If you have other sound files that you would like to use on your computer you can click mj This opens the Open window and you can navigate to the folder where your sound files are stored When you find one click on it and select Open To see what the alert would sound like you can click Test in the Alarm Editor window If the alert is designed to hit a price and the market bounces around that price your
4. EURAUD 1 42576 1 426 show All GBPCHF 1 55752 1 559 Symbols GBPJPY 128 959 129 0 Cats CHFJPY 92 776 82 99 Symbols Tick Chart New Order Hide Delete Hide All High Low Time Auto Arange Grid Popup Prices FIO You can monitor the real time bid and ask prices of the available instruments in the Market Watch window In addition to the Market Watch window you can also view the Popup Prices window Like the Market Watch window this displays a list of symbols and prices You can view this by right clicking in the Market Window and selecting Popup Prices Popup prices GEPS ElIRGEP EWRIISD LISOCHE LISDIP AUBWSH USDCAD ELFRLHF EURJPY EURCAD EUR AUC SBP CHF BP IP CHFIP If you right click on the Popup Prices window you can choose how you want the window to appear on screen Always on Top displays the Popup Prices window on top of other applications Full Screen expands the window so It fits your entire computer monitor When selected a checkmark appears next to the menu option in the drop down menu You can deactivate the option by unchecking the menu option GFT MetaTrader 4 and MetaEditor User Manual EURUSD contract specification Spread Digits Stops level Pendings are good till cancel Contract size 100000 Profit calculation mode Forex Margin calculation mode Forex Margin hedge 50000 Before you trade you may want to see the spread margin contract
5. GBPUSD 1 57 1 57 EURUSD 1 37 1 37 SP USDIPY 81 749 81 755 J Global Variables USDCAD 1 03 1 03 NZDUSD 0 74 0 74 Variable Time AUDUSD 0 96 0 96 423 variable 1 2010 10 27 14 15 37 USDZAR 7 05 7 07 E Variable 2 l 2010 10 27 14 15 49 USDSGD 1 30 1 30 USDTRY 1 44 1 44 amp EURTRY 1 9883 1 9909 z 3 amp ARK Symbols Tick Chart x Fal Bollinger Bands F Bulls Power F Commodity Channe F DeMarker F Envelopes F Force Index F Fractals F Gator Oscillator F Ichimoku Kinko Hyo GF MACD F Market Facilitation I F Momentum F Money Flow Index 36860 AF eae Oct 2010 10 Oct 21 00 12 Oct 04 00 13 Oct 12 00 14 Oct 20 00 18 Oct 00 00 19 Oct 08 00 20 Oct 16 00 22 Oct 00 00 25 Oct 04 00 26 Oct 12 00 37755 Close 1 Favorites EURUSD H4 USDCHF H4 GBPUSD H4 USDIPY H4 X Time From Headline Ea 2010 10 25 13 15 GFT MT4 Powered by BT Registration 2007 09 25 16 00 GFT MT4 Powered by BT What Is Automated Trading 2007 09 25 15 58 GFT MT4 Powered by BT Mobile Trading It s Easy 2007 09 25 15 56 GFT MT4 Powered by BT Welcome Trade Account History Alerts Mailbox Journal For Help press F1 Default Wy 5712 1 kb Click Add to add a variable Double click in each column to specify the variable name and its value To remove a variable select it and click Delete Using the Advanced Secur
6. 2004 Metaguotes Software Corp http www metaquotes net 2 2 include H indicators property copyright Copyright amp 2004 MetaQuotes Software Corp EL librari C0 libraries property link HEEP WUN metaguotes ner E a include lt stdlib mcqh gt u lags string line name rotating line String object namei rotating text p templates void initi 0 IMATRIXDoubleZera mq4 t a early Birds mig Print point Point bars Barsi E Easiest ever mgt 2 hardprofit mg4 a MACD Sample mg void deinitti OhjectDelete line name OhjectDeletelfobject namel Ohijectshedrayw int Start Files Dictionary Search a Back gt Forward lt gt Home St Previous C Sync E Next 2 MOL4 com MQL4 Reference Basics MetaQuotes Language 4 MQL4 is a new built in language for programming of trading strategies This Standard constants language allows to create your own Expert Advisors that make trading management automated and are Predefined variables perfectly suitable for implementing of one s own trade strategies Besides one can use MQL4 for creation of Program Run one s own Custom Indicators Scripts and Libraries You can start learning the language using Sergey Errors Find in Files Online Library Help For Help press lt Fi gt Ln 1 col 1 You can download existing autotrading tools using the Toolbox or create them using the Expert Advisors wizard See S
7. gt Message Alert bid lt 83 50000 Alert bid lt 83 50000 Expert MACD Sample EURUSD M1 removed 585 login 585 login 585 login Journal Alerts Mailbox Experts The Journal tab displays system messages about your account such as login times orders filled or edited and positions closed Not all tabs will appear when you first open the Terminal window For example the Experts tab does not appear when you first open MetaTrader This tab remains hidden until you receive input from MetaEditor an application installed with MetaTrader that enables traders to import create and modify expert advisors or another MQL4 program See Section 4 Opening MetatEditor for the First Time for more information GFT la MetaTrader 4 and MetaEditor User Manual The Data Window The Data Window displays price information for the instrument in the displayed chart You can view the open high low and close as well as the date time and volume When an indicator or a custom indicator has been attached to a chart you can view information about it in this window FA 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 DBR File View Insert Charts Tools Window Help o x alle Eh lele Sey ED wI Bs New Order B Expert Advisors cet Watch 2 x don at Ne Stil VOY ame EUIRUSDH4 1 38477 1 38596 1 38423 1 38580 1 41750 Symbol Bid Ask l FY EURUSD H4 amp USDCHF 0 98402 0 98419 Date 2010 10 11 1 41505 t GBPUS
8. A Connect connect way A Disconnect disconnech way A Email Notify email way A Timeout timeout waw A Ok ok way Ak Hews FES ay Expert Advisor expert wary A Expert Confirmation expertway To begin entering information click Enable You can double click in the Event column to turn on or off a sound AM means an alarm will Sound Se means the alarm was turned off In the Action column you can double click to display a drop down menu of possible sounds Simply click on the new wav file to select the sound If you have other sound files on your computer you can double click in the Action column and select Choose Other from the drop down menu This opens the Open window and you can navigate to the folder where your sound files are stored When you find one click on it and select Open If you want to use sounds you should choose a different sound file for each event You can view what each event does in the list below Connect signals that MetaTrader has successfully connected to the server Disconnect indicates that the connection to the server has been lost Email Notify signals that a new email has been received in the MetaTrader mailbox You can view it on the Mailbox tab of the Terminal window Timeout indicates that the time range for performing a specific trade operation has ended For instance you might hear this sound if you place an order in an extremely volatile market and your order was not placed OK sign
9. EURUSD H4 File View Insert Charts Tools Window Help Ede Fah le S G IE wL Ei New Order gt EB Expert Advisors Market Wat wae EUIRUSDH4 1 37781 1 37970 1 27582 1 37850 Symbol Bid ask A tear ia aes aay USDCHF 0 98 0 98 GBPUSD 1 57 1 57 i i 4 EURUSD 1 37 137 niia r i Navigator Hot Keys USDIPY 61568 61 594 _ USDCAD 1 03 1 03 A NZDOUSO 0 74 0 74 CF Bollinger Bands F Bulls Power 4 AUDUSO 0 96 0 96 l 1 EE F Commodity Channel Index ieai USDZAR 7 05 7 06 4 USDTRY 1 44 1 44 Envelopes 4 EURTRY 1 9909 1 9927 LF Force Index F Fractals k J i m Symbols Tick Chark a r F Gabor Oscillator yvigakor x F Ichimoku Kinko Hyo CF Bolinger Bands A ara LF MACD F Bulls Power DEEN F Market Facilitation Index GF Commodity Channe F Momentum Name Control A Envel Attach to a chart D Fl Mewes Flew Trade I F Force a Add to favorites F Fracta Set hotkey EF Gator osema a F Ichimoku kinko Hyo GF MACO F Market Faciitation pA a S S E F Momentum i i i i CF Money Flow Index SE E E A E Me E E EE E E E T E A E Rae Oct 2010 Oeck 2100 12 Ot 400 13 See 1200 i4 ee 2000 18 Oct OO 19 ch OBO 20 et 16 00 22 ct OO 25 Oct O40 26 et 12 00 Common Favorites EURUSD H4 USOCHF H4 GBPUSD H4 USDIPY H4 Time From Headline 2010 10 25 13 15 GFT MT4 Powered by BT Registration 7007 09 25 16
10. Hi 1 Hour H1 4 Hours H4 Daily D1 Wi Weekly p Monthly Hi No matter which method you use you can select one of the following time frames e Minute M1 e 5 Minutes M5 e 15 Minutes M15 e 430 Minutes M30 e Hour H1 e 4Hours H4 e Daily D1 e Weekly W1 e Monthly MN Switching Between Chart Time Frames and Instruments with Fast Navigation You can quickly switch between charts and time frames or scroll to a particular point in time on the chart using the Fast Navigation text box You can display this field by double clicking in the lower left corner of the chart DBPS H1 symbolperiod 18 Aug 100 19 Aug 2100 23 4ug 0700 24 4ug 15 00 25 4ug 23 00 27 Aug 07 00 30 Aug 1700 Once open you can enter a specific time date symbol or all of these and press Enter on your keyboard You can use the table below to see how to enter times and dates 34 Fae GFT il ee date example 2004 10 16 16 10 2004 16 10 04 time hours minutes example 08 30 8 30 date and time example 2004 10 16 8 50 16 10 2004 8 30 16 10 04 8 50 example GBPUSD EURUSD chart period example M1 M5 M15 M30 H1 H4 D1 W1 MN symbol chart period example GRBPUSD M30 EURUSD D1 Displaying Other Tools in the Chart Window After you specify a chart type and time frame you can set the chart window to display other tools to help you trade m AUDCAD H1 Trading Expert
11. Sygate Fan TT aOR Next Topic riahle is not on Errors Findin Files Online Library Help a P For Help press F1 The Help tab menu contains the menu options that are in the toolbar on the tab The Navigator Window ing with global variables MetaTrader 4 and MetaEditor User Manual hould not be mixed up with variables declared in the global scope of the erminal within 4 weeks since the last access then they will be deleted ef Paci 0 de AN0A AANE Ln 29 Col 75 You ll use the Navigator window to view code files You can use these to research how an autotrading tool works or to copy and paste existing code into a new autotrading tool The Navigator window organizes these over three tabs gt Metakditor rotate_text mq4 KA File Edit Wiew Tools Window Help G e A B a Uy E gt Compile E Terminal M rotate_text mq4 stdlib mq4 ff peene Ss oe Se SSS 0 os rotate text mq4 Copyright 2004 MetaQuotes Software Corp http www metaquotes net ff fa SSS SSS SSS SSS SS SSS SS ee Seem aes es property copyright Copyright 2004 MetaQuotes Software Corp property link http wuww metaquotes net include lt stdlib mqh gt string line _name rotating line string object_namel rotating text void initi Print point Point bars Bars void deinit ObjectDelete line name ObjectDelete object _namel ObjectsRedraw Script program start func
12. gt FB Exp Insert Open Deleted Close Ctrl F4 Save As Ctrl S Ea Save As Hent Chrl F5 Previous SHitt F5 Save As Picture Remove Detanlt British Pound Open an Account Login PP OE Euro Print Setup i Market Overview Print Preview Print Ctrl P E Swiss Frang E wit When you click the File menu and select Profiles you can e Display one of the existing profiles by selecting its name from the drop down menu that appears When selected a check appears beside it to show you that it is active e Return to the original profile by choosing Default e Move between profiles by clicking Next or Previous e Save several charts already displayed as a set by clicking Save As Once saved it appears in the Profiles drop down menu with a check beside it to show you that it Is active e Delete a profile by clicking Remove and selecting the profile you want from the drop down menu When you open a profile each chart window appears with its settings in the same location as it was when it saved Saving a Profile 1 Click the File menu and select Profiles 2 When the drop down menu appears select Save AS 5 Inthe Save Profile window you can type in a new name or select an existing name from the drop down menu to save over that profile 4 Click OK If you make a change to the chart windows in a profile you don t have to save it These are auto
13. s already attached to a chart you can right click in the chart select Expert Advisors and click Properties in the drop down menu This opens a window so you can specify settings for the expert advisor m EURUSD H1 Trading Expert Advisors Z Properties Objects List Periodicity Template Refresh Auto Arrange Grid Volumes Zoom In Zoom Out Print Preview Print ha Q Q i B E Properties Save s Picture Ctrl B Ctrl 4 Ctrl G Ctrl L Ctrl P Fe amp Remove gt Strategy Tester FE 11 Aug 2010 12 Aug 18 00 16 Aug 04 00 17 Aug 12 00 18 Aug 20 00 20 Aug 04 00 23 Aug 14 00 24 Aug 22 00 26 Aug 06 00 Modifying an Expert Advisor Attached to a Chart 1 In the chart right click and select Expert Advisors 2 From the drop down menu click Properties 5 Make your changes as desired 4 Click OK Removing an Expert Advisor from the Chart You can remove expert advisors from the chart using several methods An expert advisor stops working when you close the chart attached to it or close the MetaTrader application You can also right click in the chart and select Remove from the drop down menu 94 F T l MetaTrader 4 and MetaEditor User Manual FURUSD H1 Trading Expert Advisors T5 Properties Objects List ChB S Remove Periodicity Strategy Tester FE Template Refresh 1 28934 1 25675 Auto Arange Chrl 4 Grid Ctrl G 128410 Volume
14. DER ubia alr r B 4 1 1 41555 A a 1 41260 1b 1 40970 if 140675 i 1 40380 Chie a 1 40090 4 1 1 39795 1 34500 ib 1 39210 Ctrl A Chl G Chrl L 1 1 38035 SR Ctrl P Fo 4 trade m a ba 7 Oct 2010 Common Favorites 8 ick 12 00 11 Oct 16 00 13 Get 00 00 i4 Og 0800 15 Orct 16 00 18 Og 20 00 z0 Og Oe Z1 Oct 1200 22 Og z000 Z6 Og OOO 27 Ot DADO EURUSD H4 USOCHF H4 GBPUSD H4 USDIPY H4 Time ka 2010 10 25 13 15 2007 09 25 16 00 2007 09 25 15 58 2007 09 25 15 56 From GFT MT4 Powered by BT GFT MT4 Powered by BT GFT MT4 Powered by BT GFT MT4 Powered by BT Headline Registration What Is Automated Trading Mobile Trading It s Easy Welcome Trade Account History Alerts Mailbox Experts Journal Default 2010 10 14 16 00 1 40855 H 1 40909 L 1 40555 C 1 4055 Y 12900 Removes running script The script will be removed from the chart if you e Exit MetaTrader e Change the instrument or time frame e Click on a script in the Navigator window and drag it to the chart e Right click in the chart and select Remove Script Wi 9808 0 kb Modifying an Expert Advisor Custom Indicator or Script Once added to the Navigator window you can edit an expert advisor custom indicator or script before you add it to the chart if you know MQL 4 Right click on the autotrading tool in the Navigator window and select Modify from the drop down menu
15. H Settings Results Graph Report Journal Grid Cee Wala pene C1 Maf aa lb HES 1orn n Lh If you right click in the Report tab you can view a drop down menu with other menu options You can use Copy to copy the entire report You can also save the report as an htm file by clicking Save as Report and entering the name of the report You can also change the appearance of the table by right clicking in the Report tab and selecting Auto Arrange which resizes the columns automatically if the Strategy Tester window size changes or Grid which displays the lines between the rows and columns NX If you selected Open Prices Only from the Model Type drop down menu in the Settings tab the Modeling Quality field will display an n a and a red band Time Message A A 2010 09 03 09 55 32 2010 09 01 19 44 Tester take profit 22 at 0 90909 0 90910 0 90940 3 A 2010 09 03 09 55 32 2010 09 01 19 44 MACD Sample AUDUSD M1 modify 22 buy 0 10 AUDUSD at 0 90859 sl 0 90878 tp 0 90909 ok Ay 2010 09 03 09 55 32 2010 09 01 19 44 MACD Sample AUDUSD M1 modify 22 buy 0 10 AUDUSD at 0 90859 sl 0 90877 tp 0 90909 ok A 2010 09 03 09 55 32 2010 09 01 19 44 MACD Sample AUDUSD M1 modify 22 buy 0 10 AUDUSD at 0 90859 sl 0 90875 tp 0 90909 ok Ay 2010 09 03 09 55 32 2010 09 01 19 44 MACD Sample 4UDUSD M1 modify 22 buy 0 10 AUDUSD at 0 90859 sl 0 90874 tp 0 90909 ok Ay 2010 09 03 09 55 32 2010 09 01 19 44 MACD Sample 4UDUSD M1 mod
16. In MetaTrader 1 0 equals 100 000 units and 10 equals 10 000 units Placing Market Orders Manually from the Order Window When you first open the New Order window the Type menu is set to Market Execution so you can place market orders Symbol volume Stop Loss Comment Type Market Execution Ww Market Execution 0 39115 0 89105 0 89092 0 89128 0 29054 0 59075 0 89042 Notice Ot order by market execution the price will be quoted by dealer 0 89030 The Market Execution section displays the current price and options for placing your trade lf the market is particularly volatile it may take a few seconds for GFT to process your order MetaTrader displays a pending message a progress bar to show you how much further the trade has to process and a Cancel Order button if you no longer want to place the order Once the order is processed the Order Execution section appears in the Order window This displays a confirmation message informing you that your trade was successful From this message you can print out the order information by clicking Print or close the window by clicking OK Placing a Market Order 1 Double click an instrument in the Market Watch window Make sure the instrument you want Is selected Click the Symbol drop down menu to select an instrument if not Click Volume drop down menu to select the number of lots you want to trade Make sure Market Execution is selected in the Type drop
17. Opening MetaEditor for the First Time Before you use MetaTrader s automated trading tools you ll want to learn a bit about MetaEditor an application installed with MetaTrader that helps you develop autotrading tools With MetaEditor traders can import create and modify expert advisors custom indicators scripts and other MetaTrader autotrading tools Before you start downloading or coding autotrading files you ll want to open MetaEditor and become familiar with its workspace In this section you ll receive an overview of the tools and features you ll use to create MetaTrader autotrading tools Opening MetaEditor MetaEditor is automatically installed on your computer when you install MetaTrader You can open it while working in MetaTrader using one of the following methods FJ 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 SEE File View Insert Charts Window Help all x h Fahy lel e Ca ff Eh New Order F3 idvisors S History Center F2 Symbol Bid Ask USDCHE 0 99 0 99 amp Global Variables F3 GBPUSD 1 57 1 57 D MetaQuotes Language Editor F4 EURUSD karali Taa amp Options S USDIY 61 749 81755 JEE USDCAD 1 03 1 03 a 4 NZDUSD O74 D74 AUDUSD 600 96 0 96 USDZ4R 67 06 7 07 USD5GD Latsa ileal ete USDTRY LIRA Taia EURTRY 1 9885 1 9912 I 1 I I l I I l i LI i vw P LTS f i i i i 1 i i i i i i i 1 i i i i i i Symbols
18. P rotate_text mq4 stdlib mq4 A OE MOL4 Reference rotate text mq4 2 Basics Copyright 2004 MetaQuotes Software Corp a Standard constants http www metaquotes net H Predefined variables ae Program Run H property copyright Copyright 2004 MetaQuotes Software Corp i i f a Account information property link HEEP WUU metaguotes ner include lt stdlib mqh gt m Array Functions aS Checkup string line name rotating line a Client terminal String object namel rotating text ae Common Functions m Conversion Functions wold init ij i Print point Point bars Barsi Custom indicators a Date amp Time Functions H File Functions a Global variables 4G Math amp Trig g Object Functions void deinit String Functions i a Technical indicators Oh 4 ectDTelete l ine name F m Timeseries access OhjectDelete object namel H Trading functions Ohjectshedrawt i j a Window Functions lt gt Obsolete functions int Start r Dictionary Search a Back m Forward lt gt Home St Previous Gh Sync E Next 2 MOL4 com MQL4 Reference Basics MetaQuotes Lanquage 4 MQL4 is a new built in lanquage for programming of trading strategies This Standard constants language allows to create your own Expert Advisors that make trading management automated and are Predefined variables perfectly suitable for implementing of one s own trade strategies Besides
19. Registration What Is Automated Trading Mobile Trading It s Easy Welcome Wii 403 0 kb This window is where you can specify what appears in the selected toolbar The Available section shows any menu options that are currently not in the toolbar and can be added The Selected section displays all of the options that are currently displayed in the toolbar The tools that appear in the Available and Selected section depend on which toolbar you right clicked on To place a tool on the toolbar you can select it in the Available section and click Insert Conversely you can remove a tool from the toolbar by clicking it in the Selected section and then selecting Remove You can also reposition the order of the tools in the menu bar by selecting a tool and clicking Up or Down If you need to return to your original settings click Reset When you are done reordering the toolbars click Close Customizing the Appearance of t You can change the setup of the chart window by right menu This opens the Chart Properties window he Chart Window clicking in the chart and selecting Properties from the drop down 112 Properties of EURUSD H4 gt EEE Colors Common C Offline chart Chart on foreground Chart shift Chart autoscroll C Scale fiz One to One Scale fix 1 47800 Fired masimum 1 36850 Fixed minimum MetaTrader 4 and MetaEditor User Manual O Bar chart O Candlesticks Line chart Sho
20. you can select Default and use the drop down menu beside it to set the lot size The Deviation by Default section specifies the number of pips that the price can change when you place an order If markets are fast moving or become extremely volatile such as during a news announcement the price of the market that you re trying to trade may suddenly jump or drop in a moment If this should occur MetaTrader 4 fills your order but at the nearest market price this may be a multiple pips away from the original price This is called slippage In this section you can click Default and specify that MetaTrader fill your order as long as the price is within the number of pips above or below the price at which you placed the order If you select Last Used MetaTrader uses the number of pips at which the last order was placed if there is slippage Customizing Autotrading Settings The Expert Advisors tab in the Options window displays settings that specify how MetaTrader uses expert advisors custom indicators scripts or libraries Server Charts Objects Trade Expert Advisors Email Publisher Events Enable Expert Advisors except for Custom Indicators and Scripts Disable experts when the account has been changed Disable experts when the profile has been changed Allow live trading Allow DLL imports C Confirm DLL function calls Allow external experts imports Enable Expert Advisors activates or deactivates all expert advisor
21. 00 GFT MT4 Powered by BT What Is Automated Trading 2007 09 25 15 53 GFT MT4 Powered by BT Mobile Trading It s Easy E Ea 2007 09 25 15 56 GFT MT4 Powered by BT Welcome Trade Account History Alerts Mailbox Journal Set hotkey to selected itemt Default HE 2904 0 kb When you right click on one of these items in the Navigator window you can select Set Hotkey This opens the Navigator Hot Key window where you can select an item from the list and set a keystroke combination If you make a mistake you can click Reset to remove the hot key from the selected indicator expert advisor custom indicator or script To remove all of the hot keys from these items click Reset All 109 GFT Setting Keyboard Shortcuts in the Navigator Window MetaTrader 4 and MetaEditor User Manual 1 In the Navigator window right click on a specific indicator expert advisor custom indicator or script and select Set Hotkey In the Navigator Hot Key window make sure the item you want is selected If not scroll to it Click Set 2 5 4 Use the drop down menu in the Control column to select either ALT or CTRL 5 Enter the keyboard button in the Key column 6 Click Close hS MetaTrader already has a number of commands set as hot keys For a full list see Appendix A MetaTrader Hot Keys f you accidentally set an indicator expert advisor custom indicator or script to a hot key that s already used by the system click Reset and
22. 1 56 _ A PaE EURUSD 1 38 1 uae F USDCAD MACD Sample r 1 40675 W2DUSD AUDUS 4 USDZAR TE To Common Safety USDSGD SEM se positions C Allow DLL imports of USDTIRY 1 43 1 43 Laapas EURTRY 1 9880 1 9893 Enable alerts z eS Po i Allow import of external experts Symbols Tick Chart Navigator Live Trading GFT MT4 Powered by BT Ee B Accounts F Indicators Expert Advisors MACD Sample amp Moving Average P Custom Indicators I Scripts Common Inputs 1 40280 1 40090 Allow live trading FOctz0i0 Oct 08 00 1i Og 12100 12 Oct 200 14 Get 0400 15 Get i200 18 Set 1600 30 Sct OOOO 21 Get 0800 22 Set 16 00 25 Sct 2000 27 Cet 400 common Favorites EURUSD H4 USDCHF H4 GBPUSD H4 USDIPY H4 Time From Headline Ea 2010 10 25 13 15 GFT MT4 Powered by BT Registration 2007 09 25 16 00 GFT MT4 Powered by BT What Is Automated Trading 2007 09 25 15 58 GFT MT4 Powered by BT Mobile Trading It s Easy Ea 2007 09 25 15 56 GFT MT4 Powered by BT Welcome Trade Account History Alerts Mailbox Experts Journal For Help press F1 Default HHT 113 0 kb On the Common tab you can specify how you want the expert advisor to perform The Positions drop down menu allows you to select if the expert advisor opens both long buy and short sell positions or only long or short positions You can click the Enable Alerts checkbox so that MetaTrader sends you a message w
23. 4 yi z a F i Ay ai al ih T ae ee cor sadis afe Sed See S mie znad F 1 39840 USDTRY 1 44 1 44 3 Y EURTRY 1 9919 1 9932 aj ALIPAIT Symbols Tick Chart 1 40425 iL 1 39540 GFT MT4 Powered by BT B Accounts F Indicators eisi papi Advisors 1 1 39350 i ae i Attach to a chart i Moving Average E 24 e os pieces Ar a aaa r tela aieirdoteal beanii 1 4H l h 1 38055 a A Custom Indicators 8 Modify Cite e o 627227 E Scripts Delete Delete carne i r eta Ge aa goa z para pe a ee T a E hoss ve Add to favorites Set hotkey 1 37160 Online library ict 0400 i3 mh 1200 14 Oet FOO iF rh OOOO 19 Oet 0800 20 Oek 1600 22 Ok OOO 25 et OF 26 ct 1200 Common Favorites 4 GBPUSD H4 USDIPY H4 Time From Headline 2010 10 25 13 15 GFT MT4 Powered by BT Registration Ea 2007 09 25 16 00 GFT MT4 Powered by BT What Is Automated Trading 2007 09 25 15 56 GFT MT4 Powered by BT Mobile Trading It s Easy E 2007 09 25 15 56 GFT MT4 Powered by BT Welcome Trade Account History Alerts Mailbox Journal Delete selected expert Default H 7110 kb Deleting an Expert Advisor from the Navigator 1 Right click on the expert advisor custom indicator or script you want in the Navigator window and select Delete 2 Click Yes to confirm If an expert advisor custom indicator or script is attached to a chart deleting it from the Navigator windo
24. Advisors Periodicity Template Z Refresh Auto Arrange Ctrl H Grid Ctr G Volumes Ctrl L Jun Q Zoom In Q Zoom Out ig Save As Picture Print Preview e Print Ga Properties Displaying a Grid When you first open MetaTrader the chart displays vertical and horizontal grid lines You can right click in the chart window and select Grid from the drop down menu to activate or deactivate it 35 MetaTrader 4 and MetaEditor User Manual Trading Expert Advisors Periodicity Template Refresh Auto Arrange Ctrl 4 Grid Ctrl G Volumes Ctrl L Zoom In Zoom Out Save As Picture Print Preview Print Ctrl P Properties F3 11 Aug 2010 12 Aug 20 00 16 Aug 06 00 17 Aug 14 00 18 Aug 22 00 20 Aug 06 00 23 Aug 16 00 25 Aug 00 00 26 Aug 08 00 27 Aug 16 00 31 Aug 02 00 1 Sep 10 00 Displaying Trading Volume You can display the current trading volume for the selected instrument by right clicking in the chart window and selecting Volumes from the drop down menu E Trading Expert Advisors Periodicity Template Refresh Auto Arrange Ctrl A Grid Ctrl G Volumes Ctrl L Zoom In Zoom Out Save As Picture Print Preview Print Ctrl P Properties F8 11 Aug 2010 12 Aug 20 00 16 Aug 06 00 17 Aug 14 00 18 Aug 22 00 20 Aug 06 00 23 Aug 16 00 25 Aug 00 00 26 Aug 08 00 27 Aug 16 00 31 Aug 02 00 1 Sep 10 00 Refreshing the Chart During volatility you may need to update
25. F Indicators H Expert Advisors P Custom Indicators E Scripts 121 415 12 Jun 2007 14 Jun 04 00 15 Jun 12 00 18 Jun 20 00 20 Jun 04 00 21 Jun 12 00 22 Jun 20 00 26 Jun 04 00 27 Jun 12 00 28 Jun 20 00 Common Favorites EURUSD H4 USDCHF H4 GBPUSD H4 USDJPY H4 Time From Headline 2007 09 25 16 00 GFT MT4 Powered by BT What Is Automated Trading 2007 09 25 15 58 GFT MT4 Powered by BT Mobile Trading It s Easy 2007 09 25 15 56 GFT MT4 Powered by BT Welcome Mailbox Journal For Help press F1 Default Wii No connection While you can view the instrument symbol and the prices in the Symbols tab you can also view more information by right clicking in the window you can show the time that the bid and ask prices were recorded by selecting Time and the daily highs and lows by selecting High Low You can rearrange the instruments as desired by clicking on the symbol you want and dragging it to a new location You can also change the appearance of the table by selecting Auto Arrange which resizes the columns automatically if the Market Watch window size changes or Grid which displays lines between the rows and columns GFT MetaTrader 4 and MetaEditor User Manual Market Watch 14 37 25 1 01556 1 01550 Symbols Tick Chart You can click on the Tick Chart tab to display a chart of the selected instrument with its price movements measured by the tick The Tick Chart captures the buy prices with a buy line wh
26. GBPUSD H4 1 62049 1 62454 1 61920 1 62298 12 Jan 2011 16Jan 21 00 19Jan 12 00 24Jan 00 00 26 Jan 16 00 31Jan0400 2Feb20 00 7 FebO8 00 10Feb 00 00 14Feb 12 00 17 Feb 04 00 OFT MetaTrader 4 and MetaEditor User Manual Prices appear on the right side of the chart and the time and date appear along the bottom There are several ways to open the chart window One of the most common is to right click on an instrument in the Market Watch window and select Chart Window 31 4ug 2010 Sil Aug F 0F 31 4ug 07 39 31 Aug 08 11 31 4ug 084s 31A EURUSD M30 GBPUSD M15 USDIPY M1 USOCHF Hi You can open more than one chart at a time up to 99 can be displayed When the Charts Bar is active you can switch between them by clicking the instrument tab at the bottom of the window You can customize the chart window using the tools in the Chart toolbar See Displaying the Chart Toolbar in Section 3 Using the Chart Tools for more information on the chart window If you do not see the tabs on the bottom of your chart click the View menu and make sure Charts Bar is check marked The Terminal Window You can monitor your trading activity manage your expert advisors and perform other trading tasks in the Terminal window This usually appears at the bottom of the MetaTrader workspace These features are arranged in the window on several tabs If the Terminal window is not displayed you can view it by clicking the View menu and selecting the Ter
27. Kate Account 2256652 a kpriorearfttorex com Date Feb 28 2011 9 11 49 PM G F T Period Feb 25 2011 3 00 00 PM Detail Transaction Report Feb 28 2011 8 00 00 PM MTD Settled PL 1 062 93 CR YTD Settled PL 1 062 93 CR MTD fee 0 00 CR YTD fee 0 00 CR Alltimes are in GMT Account Value and Margin Summary Account Balance Margin Requirement Open PIL Account Balance UnRealized P L USD 0 00 CR USD 0 00 CR USD 70 663 81 CR 0 00 CR Net USD 70 663 61 CR 0 00 CR Margin Excess UnRealized P L USD 70 663 81 CR USD 0 00 CR Equity USD 70 663 51 CR Currency Conversion Rates Period totals Rate USD UAE Dirham SED 0 2723 Total Deposits 0 00 CR Australian Dollar AUD 1 0168 Total Withdrawals 0 00 CR Bulgarian Ley BGN 0 9835 PAL 0 00 CR Brazilian Real BRL 0 272 Misc Fees 0 00 CR lt While you won t be able to place trades from this version of DealBook it will show you the most accurate transaction and order history on your MetaTrader 4 account Generating reports in DealBook WEB 1 Open DealBook WEB This link is sent to you when you open an account 2 Enter your username and password Click gt gt to login 5 Select the report you want from the Type of Report drop down menu 4 Enter the dates you want in the From and To dates Depending on the report you may also be able to choose other options 5 Click Show Report to generate the report With live accounts GFT recommends having both MetaTrader 4 and DealBo
28. MetaTrader ALT Backspace CTRL Z Undeletes the last deleted drawing or analytical object CTRL A Resizes the height of all indicator windows in a chart so that they re the same size Opens the Objects List window You need to have at least one object drawn in a specific CTRL B chart window CTRL C CTRL Insert Copies the select drawing or analytical object to the chart a eee 128 GFT l MetaTrader 4 and MetaEditor User Manual Keystroke Shows or hides the open close high or low prices in the upper right corner of the chart CTRL H window Opens the Indicators List window You need to have at least one indicator open in a CTRL I specific chart window Opens or closes the Navigator window CTRL W CTRL F4 Closes the currently displayed chart window CTRL Y Displays or hides the period separators in the chart window CTRL F5 Switches to the next chart profile CTRL F6 Moves to the next chart window when more than one chart is open CTRL F9 Opens the Terminal window 129 GFT MetaTrader 4 and MetaEditor User Manual Finding Further Information We encourage you to learn more about how GFT can help you maximize your trading potential Visit www gftuk com or call 0800 358 0864 or 44 0 20 7170 0770 to speak with a GFT specialist You can also access Live Chat on our website to text chat with us as well gftuk com 0800 358 0864 44 0 2071700770 LIVE CHAT 24 7 TOLL FREE INTERNATIONAL GFT IMPORTANT
29. Multi TF Indicator amp Expert advisor 3 earlyTopProrate This EA is based on daily highs and lows and the relationship to each other Double Zero EA Double zero cross level is the signal to open position andfor close Settings For H4 TF a Robot ADX 2MA4 Robot _ADX 2MA Take profit Eur Usd Ea optimised on H4 based on low trailing stop For Help press lt F1 gt e Menu bar e Toolbar e Navigator window e Toolbox e File window e Status bar The Menu Bar Date T Author 4 2010 06 28 mt coder 2010 08 25 eagleye 2010 08 23 hansH 2010 08 20 mich949 2010 08 17 satop 2010 08 16 chris10 w Errors Findin Files Online Library Help Ln 1 Col 1 At the top of the workspace you ll see the MetaEditor menu bar You can use the five menus that appear here to access that MetaEditor options that you ll use to create and edit autotrading tools File Edt View Tools Help 66 GFT MetaTrader 4 and MetaEditor User Manual File Displays menu options for creating and opening autotrading tool files You can also access recently opened files Edit Contains the menu option for finding and replacing a text string in an autotrading tool file View Displays menu options for displaying MetaEditor windows and toolbars You can also manage your language preferences from this menu Tools Contains tools for accessing MetaTrader and arranging the windows in the MetaEditor work
30. Once placed you can click and drag the channel along the price moves and the channel distance will adjust based on those prices When Standard Deviation is selected click where you want the channel to begin and drag your cursor to place it You can change the deviation in Standard Deviation lines by double clicking on the line and then right clicking to select StdDev Properties On the Parameters tab you can enter a new value in the Deviations text box Drawing with the Gann Tools on the Chart W D Gann considered a 45 degree line to be significant when analysing market moves Under certain market conditions traders could draw a 45 degree line on a chart and forecast that moves above the line were bullish while those below that line were bearish If price movements crossed the line it indicated that the trend was changing When you click on the Insert menu and select Gann you can select from one of three different types of Gann tools to add to the chart 46 MetaTrader 4 and MetaEditor User Manual A Gann line is a trendline drawn at an angle of 45 degrees When Gann Line is selected click where you want the line to begin A Gann fan displays a set of trendlines drawn from one point at different angles When Gann Fan is selected click where you want to place the fan A Gann grid displays a series of intersecting 45 degree l I De ee EE
31. Online Gad G E SS For Help press lt Fl gt Ln 29 Col 75 Go to Line This appears in the Errors tab and the Find in Files tab Go to Line opens the corresponding file with the cursor on the found text and a green arrow in the margin field of the line Copy This appears in the Errors tab It adds the selected error to the clipboard Clear This appears in the Errors tab and the Find in Files tab Clear removes all of the displayed items from the tab Open This appears in the Online Library tab It displays the selected item in the application Download This appears in the Online Library tab Download opens the source code file in the workspace Refresh This appears in the Online Library tab It updates the list to see if any new files have been added Auto Arrange This appears in the Errors tab the Find in Files tab and the Online Library tab When checked Auto Arrange resizes the columns automatically if the tab window size changes Grid This appears in the Errors tab the Find in Files tab and the Online Library tab When checked Grid displays lines between the rows and columns 7 gor Back g Forward G Home oat Previous Sync Sk Mext MQL4 com MQOL4 Reference Global variables Select All Cri GlobalVariableCheck A gro GlobalVariableDel GlobalVariableGet Globa GlobalVariableName MOLA a GlobalVariableSet GlobalVariableSetOnCondition Globa amp Sync Contents Back Backspace Previous Topic
32. Orders oo eesessesessssssesesesesesseseseseseessseseetseereeeeeseesteeeeaneesen 24 MOdifYINg PENCING OLCer K 25 PST Pendino ONS cae saic cca acess aoc caren cnc us dee atest save ee each al te een tee ae ee vance 26 Vew Ree ae Res yee 0 0 A 2 9 kc aE nee eee 27 Sections Using the Chart OS sssaaa anaa Eia Ni AAEE AEA ES EAEE 29 a I CIA EA E AA ANE ENEE ETAETA EENE E EE EAA 29 OE REE D E A EE E E A EAEE E A AE E E A T EE 30 EE EN d O N ea a a ae eae eee eee ree ae 30 Displaying the Chart Toolbar seeessessessseessnesresrenrrssrensrennresnensrennrnnresreesnennrennnesnennenntennennennennkennennnnnnennnennannnnneannennnn nnen 5 Selecting a Chart Type and Time Frame u seeesesesecsssssssesesesscscsesesesscscsesesseesecavsceesessvavsvensesavavavaveeeesteavaeetsteteraeeeseeeen 32 Switching Between Chart Time Frames and Instruments with Fast Navigation ceeeesessscsssssssseseseseseseseseeeeees 34 Displaying Other To0ls Inthe Chart WV NOY swrissieissieinssanniniisiniiis ninenin aiakiiek ana 35 Displaying the Line Studies Toolbar essere saecurcacvane cece nscaussr esses cence secasuamanenamas geese acueancnenicndneatonaaan 38 Drawno inthe Chart sessonasneasinisiiiianihenia iii a aaa ESR ASEE EE aaO ANARA AEON 43 Drawing Channels on the Chart asaini aiiai aiia aaa a aii 44 Drawing with the Gann Tools onthe Chart sorisicurisieiiniiniiinnninaa aiaiai N 46 Drawing with the Fibonacci Tools on the Chart eesessssesssssesesesssssseseseseesssesesesesees
33. Oscillator F Ichimoku Kinko Hyo G MacD F Market Facilitation I F Momentum Favorites 10 10 25 13 15 07 09 25 16 00 07 09 25 15 58 07 09 25 15 56 F Money Flow Index Le From GFT MT4 Pe GFT MT4 Pe Vietnamese Turkish Spanish Slovak Serbian Russian Portuguese Brazil Polish Lithuanian Latvian Korean Japanese Italian Indonesian Hungarian Hebrew Greek German French Farsi Estonian Dutch Czech Croatian Chinese Traditional Chinese Simplified Bulgarian Arabic GFT MT4 Powered by BT GFT MT4 Powered by BT CE 20 E Trade Account History Alerts Mailbox Journal Default windows in the language you specified Customizing the Toolbars You can modify the options that appear in the four toolbars in MetaTrader by right clicking on the toolbar and selecting Customize from the drop down menu This displays the Customizing Toolbar window for that specific toolbar English xpert Advisors J 13 Oct 12 00 14 Oct 20 00 18 Oct 00 00 19 Oct 08 00 20 Oct 16 00 BPUSD H4 USDIPY H4 Headline Registration What Is Automated Trading Mobile Trading It s Easy Welcome mM 22 Oct 00 00 25 Oct 04 00 26 Oct 12 00 353 0 kb MetaTrader 4 and MetaEditor User Manual Fa 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 File View Insert Charts Tools Window Help Ee Fahy gt See E tae New Symbol USDCHF gt GBPUSD
34. Registration What Is Automated Trading Mobile Trading It s Easy Welcome Switch to online library Default 5 20 Ot 16 00 dd i DER a faji ct DODD 25 Oct O00 26 ect 12 00 HHH 11770 kb You can either download dll files from the MetaEditor Online Library or create one using the tools in MetaEditor To access MetaEditor from MetaTrader click the MetaEditor button in the Standard toolbar 107 ze GFT MetaTrader 4 and MetaEditor User Manual File Edit View Tools Window Help l p BQ al Ly B mo iy Compile Terminal M r 5 CENT a x O stdlib mq4 Sel ann gt Metakditor stdlib mq4 Sel Files E 4 O files i g nep stal 3 mq4 E B include f Copyright software Corp 7 H indicators f f S A E Pi a libraries property copyright Copyright 2004 MetaQuotes Software Corp stdlib mq4 property link http www metaquotes net O logs property library o presets is H samples H scripts H templates S MACD Sample mq4 B Moving 4verage mgt int initi Print i Init function defined as feature sample int deinit i Print Deinit function defined as feature sample too f f return error description ff pe a a ee re ne ss ee se ena se rae asses ees string ErrorDescription int error code i string error_string switch error code f ii Files Dictionary Search amp Refr
35. The corresponding file is displayed with the cursor on the found text and the line is marked with a green arrow in the margin field File Lin Text Searching For OrderTlose Fa CiProgram Files Interbank FX Trader tyexperts 29 result OrderClose Order Ticket OrderLots price 3 CLR_ NONE ra C Program Files Interbank FX Trader tyexperts g6 OrderClosetOrder Ticket OrderLots Bid 3 violeti ff close position T C Program Files Interbank FX Trader 4 experts 116 OrderClose OrderTicket OrderLots 4sk 3 violeby ff close position Ea C Program Files Interbank FX Trader tyexperts 103 F Open 1 gt ma amp 8 Close 1 lt ma OrderClose OrderTicket OrderLots Bid 3 White ce C Program Files Interbank FX Trader tyexperts 108 iOpen i sma Be Cosell gt ma OrderClose OrderTicket OrderLots Ask 3 White 5 occurrences have been Found Errors Findin Files Online Library Help If you search for a line of code and then click the Find in Files menu option to start a new search MetaEditor clears the Find in Files tab x 3 E Refresh Experts F Indicators scripts E3 Libraries hy Articles am Download MOL4 corm al Name Description Date Author 4 Price Distribution Numeric representation of how many times each price occurred during 4 given period Use ona 1 2010 09 01 kurkafund Stop Hunter This EA is based on the strategy Stop Hunting with the Big Players 2010 08 28 mk co
36. This opens MetaEditor and displays the source code of the file Modifying an Expert Advisor Custom Indicator or Script 1 Right click on the autotrading tool you want in the Navigator window and select Modify 2 InMetaEditor make the changes you want to the code file as desired 5 Click Save 4 Click 7 comeile 105 MetaTrader 4 and MetaEditor User Manual MetaEditor is an application installed with MetaTrader that enables traders to import create and modify expert advisors custom indicators scripts and other autotrading tools See Section 4 Opening MetaEditor for the First Time for more information Deleting an Expert Advisor Custom Indicator or Script from the Navigator If you make a mistake or change your mind after you add an expert advisor custom indicator or script to the Navigator window you can permanently remove it from MetaTrader Fa 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 BAA w File View Insert Charts Toole Window Help x EA SE Cty E w 1 i Mew Order amp D Expert Advisors pat te EURUSD H4 13 rri 113 rI 7013 37582 137927 i i i 3 _ GEPUSD 1 57 1 57 SE ee ee ee ee ee eer ee S a S S oo TEE USOCAD 1 03 1 03 er ie Coa a ho aa NZDUSD O74 O74 F 4UDUSD O97 O97 I I I I 1 L I 1 i L i i i i I i i l i i US05o0 Ee testis i 1 1 i 1 1 1 i 1 i 1 i 1 Prana a i al 1 a ae ee a oe aces s me ee F ria anana
37. Tick Chart wd LA a tt teeta eA A ett O I I I Navigator Ctrl 0 GFT MT4 Powered by BT A Accounts H Indicators E T Expert Advisors 2 ten Moving Attach to a chart GH fd Custom Ind Modify Enter i i i i 1 i i l i 38350 8055 Add to favorites L200 WO O40 On 100 lOa2000 IOs onO0 1900800 20O l0 Oa 0NO 2OnoK00 26 Od 1200 common Favor USDCHF H4 GBPUSD H4 USDIFY H4 Time From Headline Ea 2010 10 25 13 15 GFT MT4 Powered by BT Registration 7007 09 25 16 00 GFT MT4 Powered by BT What Is Automated Trading 2007 09 25 15 56 GFT MT4 Powered by BT Mobile Trading It s Easy E Ea 2007 09 25 15 56 GFT MT4 Powered by BT Welcome Trade Account History Alerts Mailbox Journal MetaQuotes Language Editor Default HT 5818 1 kb e Click the MetaEditor button in the toolbar e Right click on an indicator expert advisor custom indicator or script and select Create Modify or Online Library e Click Tools and select MetaQuotes Language Editor from the drop down menu 65 por MetaTrader 4 and MetaEditor User Manual If you do not have MetaTrader open you can open MetaEditor by clicking the Start menu on your computer clicking the MetaTrader folder and clicking MetaEditor MetaEditor uses the same login as MetaTrader Viewing the MetaEditor Workspace The MetaEditor workspace contains all the features you need to create MetaTrader autotrading tools such as expert advisors cu
38. and switch between them by clicking on the instrument chart tab at the bottom of the chart window When you open a chart MetaTrader displays the available price history for that chart The amount of time shown depends on the time frame you selected and the settings in the Charts tab See Soecifying Chart and History Data Properties in Section 6 Customizing the Appearance and Settings in MetaTrader for more information 29 GFT la MetaTrader 4 and MetaEditor User Manual Opening Charts Offline Some traders prefer to open offline charts These show you the available price history but do not update to show the real time prices of the instrument 4 Aug 2 2010 5 Aug 2 3 00 3 Aug 09 00 10 Aug 17 00 12 Aug 01 00 13 Aug 09 00 16 Aug 19 00 18 Aug 03 00 19 Aug 11 00 20 Aug 19 00 24 Aug 05 00 25 Aug 13 00 You can open an offline chart by clicking the File menu and selecting Open Offline This opens the Open Offline Chart window where you can view the available instruments and time frames as well as how many bars candles or line ticks are available in the chart To open one select the chart you want and click Open When the chart opens you ll see Offline appear in the chart header Viewing the Chart Window Once the chart window is open you ll notice a few features e 0 94700 0 94520 0 94345 0 94170 EEEE 0 93820 uae 093641 0 93465 i 0 93290 0 93115 0 92940 0 92760 0 92585 0 92
39. balance with a blue line and the number of lots with a green line You can view this information in a legend that appears in the upper left corner The Report tab displays statistics about how the test was performed The Optimization Results tab displays a table that contains information about all of the trades that were executed during the optimization The Optimization Graph tab displays a graph which maps your profitable trades in a green line and your unprofitable trades in a red line Not all tabs will appear when you first open the Strategy Tester window For example the Results tab Graph tab and Report tab appear only after the expert advisor has been tested The Optimization Results and Optimization Graph appear only when an expert advisor has been optimized See Testing an Expert Advisor in Section 5 Using MetaTrader s Autotrading Tools Generating MetaTrader 4 Reports in DealBook WEB When you sign up for a GFT live account with MetaTrader 4 you will also receive access to a special version of DealBook WEB which you ll use to generate your reports and statements You ll use your MetaTrader 4 login to access this If you have a practice account you will not receive DealBook WEB access GFT MetaTrader 4 and MetaEditor User Manual STATEMENTS Type of report Detail Transaction report From 2011 72 28 E To 2011 72 28 User account 2256652 USD v amp B A Prior
40. based on the strategy Stop Hunting with the Big Players 2010 08 28 mt coder FX Multimeter IY demo All in one trading tool Multi TF Indicator amp Expert advisor 2010 08 25 eagleye777 earlyTopProrate This E is based on daily highs and lows and the relationship to each other 2010 08 23 hansH e Double Zero EA Double zero cross level is the signal to open position and or close Settings For H4 TF 2010 08 20 mich99 Robot_4DX 2M4 Robot_ADX 2M4 2010 08 17 satop Take profit Eur Usd Ea optimised on H4 based on low trailing stop 2010 08 16 chris10 S Errors Find in Files Online Library For Help press lt F1 gt Ln 1 Col 1 You can access the Online Library by right clicking on the Expert Advisor Custom Indicator or Script menu in the Navigator window and select Online Library This opens MetaEditor For an overview of this application see Section 4 Opening MetaEattor for the First Time The Online Library opens in the Toolbox window of Meta Editor You can use the toolbar along the top of this window to switch your search between expert advisors custom indicators scripts and libraries When you re searching for expert advisors make sure Experts is selected E Refresh S Experts Indicators gt scripts E3 Libraries SS Articles fe Download Ga MOL4 com Po FA k E Refresh You can use the scroll bar to move through the list You can also clic been added to see if any new expert advisors have When y
41. change the hot key to another combination 10 Section 6 Customizing the Appearance and Settings in MetaTrader As you become more familiar with MetaTrader you may want to change some of the settings to make the platform fit your MetaTrader 4 and MetaEditor User Manual trading style In this section we ll look at ways to customize windows and other tools in MetaTrader Changing the Language in MetaTrader You can select the language you want the functionality of MetaTrader to appear in by clicking the View menu and selecting Languages You can then select the language you want from the drop down menu Fa 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 File Symbol usDcl gt GBPLIS EURU Market Watch gt USDIF Data Window USDC View Insert Charts Tools Window Help Languages Toolbars v Status Bar Charts Bar e a NZDU Navigator AUDU USDzZs USDS USDT EURTRY M Inr Symbols Terminal RA le Full Screen ici Tick Chart Common x gt Time b3 20 Ea 20 3 20 You will need to restart MetaTrader for the language change to take effect When you re login MetaTrader will display its F Bollinger Bands E Bulls Power Strategy Tester Ctrl R Ctrl M Ctrl D Ctrl N Ctrl T F11 1 9901 1 9919 v x A F Commodity Channe F DeMarker F Envelopes F Force Index CF Fractals F Gator
42. desired Click OK to close the window Deleting Pending Orders If market conditions change and you don t want your pending orders to become positions you can manually delete your order by clicking Modify or Delete Orders Order 93310715 sell limit 4 00 EURJPY at 106 800 sl 0 000 tp 0 000 Symbol Volume Stop Loss 0 Take Profit I Pe Comment f Type Eitlgmeltt b Modify Order 106 455 106 445 Price 106 800 a v Stop Loss 0 000 106 435 Expiry o 106 425 106 422 106 415 Open price you set must differ From market price by at least 30 pips 106 405 106 395 Deleting Pending Orders I Right click in a position row and select Modify or Delete Orders to open the Order window 2 Click Delete 5 Click Print to print the order information if desired 4 Click OK to close the window 26 por MetaTrader 4 and MetaEditor User Manua Viewing and Setting Alerts As you trade you can set alerts to notify you when an instrument has reached a specific price on the Alerts tab in the Terminal window x Symbal Condition Counter Limit Timeout Event B EURUSD Bids 1 27500 of 1o00 10sec alert Create Insert A GBPUSD Bid gt 1 55930 0 1000 10sec alert Modify Enter amp GBPUSD Bid lt 83 50000 zZ 1000 10sec alert Delete Delete A GBPUSD 4sk gt 1 60000 Oo 1000 10sec alert Enable On Off Space Auto Arrange A Grid G
43. file name you want If you want your changes to overwrite an existing template click that template file 4 When done click Save Ea ia You can also use these commands by clicking in the Charts toolbar This displays the same drop down menu that you see when you right click in the chart window The templates in the drop down menu or the Templates folder on your computer may vary from the graphic that you see here Closing Charts and Recovering Them As you trade you may find it necessary to close chart windows If you need to look at a chart that was closed you can reopen them using the Open Deleted menu option in the File menu Fa 2088454440 GFT MT4 Powered by BT Demo Account EUR File view Em New Chart P Open Offline Charts Insert Tools Window Help es GEPUSD H4 USDCHF H4 USDJFY H4 Remove F BY 1 38423 1 38549 Profiles Chrl F 4 ChrleS Clase Ctrl F Exit se ee 17407014 1 Anes 7 You can reopen closed chart windows as long as the settings in the Charts tab in the Options window are set to do so See Specifying Chart and History Data Properties in Section 6 Customizing the Appearance and Settings in MetaTrader for more information To reopen a closed chart click the File menu and select Open Deleted In the drop down menu that appears select the instrument and time frame that you want 64 MetaTrader 4 and MetaEditor User Manual Section 4
44. for specifying how to handle dynamic link library dll files When checked the Allow DLL Imports checkbox allows a script to automatically access dll files associated with them When this is checked you can also choose to select the Confirm DLL Function Calls checkbox below it If your script is about to access a set of dll files and this checkbox is selected a notification appears asking you to confirm the request The Allow Import of External Experts checkbox enables your script to automatically import functions from other MQL4 files This is a security option that protects you when you are working with a script from an unknown source 103 GFT MetaTrader 4 and MetaEditor User Manual On the Inputs tab you can view the variables used to calculate the script The variables are specific to the script you selected You can change the variable values by double clicking in the Value column of the variable row i EJ 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 Se ley Fhe lt gt Sey EE E Ga New Order S Expert Advisors L Bink QQiib I B Be Market Watch 16 2 aii EURUSD H4 1 37781 1 37857 1 37582 1 37790 Symbol Bid Ask USDCHF 0 98 0 98 GBPUSD 1 57 1 57 WP EURUSD LI Liars USDIPY 81 581 61 585 USDCAD 1 03 1 03 NZDUSD 0 74 0 74 AUDUSD 0 96 0 96 USDZAR 7 06 7 06 EER USDSGD 1 30 1 30 Common Inputs USDTRY 1 44 1 44 Var
45. here to manage windows and other tools while you trade File View Insert Charts Tools Window Help File Displays menu options for opening and printing charts managing chart profiles and displaying account information View Contains menu options for displaying MetaTrader windows and toolbars You can also manage your language oreferences and access the Strategy Tester from this window Insert Displays menu options for displaying indicators drawing and analytic objects and text in the chart window Charts Contains menu options for managing the appearance of the chart window You can change the time frame and chart type as well as display grid features Tools Contains tools for placing orders displaying the History Center accessing MetaEditor and customizing the interface Window Displays menu options for arranging the windows in the MetaTrader workspace Help Contains menu options for displaying MetaTrader online help accessing the MQL 4 the MetaTrader programming language community and viewing version information MetaEditor is an application installed with MetaTrader that enables traders to import create and modify expert advisors custom indicators scripts and other autotrading tools See Section 4 Opening MetaEaltor for the First Time for more information MetaTrader Toolbars MetaTrader groups its most commonly used tools on four toolbars You can access these by clicking the View menu selecting Toolbars and t
46. instrument symbols in the window Show All displays the list of all available instruments a ForexRegula Show E AUDCAD Australian Dollar vs Canadian Dollar AUCCHF f4ustralian Dollar vs Swiss Franc AUDCZE 4ustralian Dollar vs Czech Koruna El AUDDEK C4ustralian Dollar vs Danish Krone E AUDHED Australian Dollar vs Hong Kong Dollar AUDIPY Australian Dollar ws Japanise Yen SUDNOK Australian Dollar vs Norwegian krone 4AUDWZO Australan Dollar vs Mew Zealand Dollar E AUDPLN C4ustralian Dollar vs Polish Zloty AUDSEK 4ustralian Dollar vs Swedish Krona AUDSGD Australan Dollar vs Singapore Dollar AUDTHE 4ustralian Dollar vs Thai Baht 1l If you accidentally remove an instrument from the Symbols tab you ll need to right click in the window and select Symbols This displays the Symbols window where you can select the instrument you want to appear in the Market Watch window by clicking Show or Hide Hidden instruments will have a gray symbol next to their name i GFT la MetaTrader 4 and MetaEditor User Manual You can view information such as pricing and size for each instrument by clicking Properties See Viewing Pricing and Contract Information in Section 2 Opening and Managing Your Trades tor more information When you hide an instrument in the Market Watch window that instrument will also be hidden in other tools as well For example if you want to open a chart of the AUD CAD but the curren
47. label should appear on all chart time frames on the Visualization tab Sei MetaTrader 4 and MetaEditor User Manual IDE Governor commented on the state of the economy you can click in the chart window where the comment text should be This opens the Label window with the Common tab displayed Here you can enter a name for the comment add the text you want and change the colour size or font You can also specify the time and the angle of the comment on the Parameters tab or select if the text label should appear on all chart time frames on the Visualization tab Ho Thumbs Up Thumbs Down Arrow Up gt Arrow own Stop Sign Check Sign Lett Price Label Right Price Label fa Delete All Arrows e displays a drop down menu so you can select from eight different types of icons to add to the chart window If you add too many of these icons to the window you select the Delete All Arrows menu option to remove all icons from the window MetaTrader draws all trend lines on the charts as rays lines which start at one point and continue in one direction toward infinity You can change this using the Objects List See Configuring Drawings in the Chart in this section for more information 42 GFT MetaTrader 4 and MetaEditor User Manual Drawing in the Chart As you trade you ll want to examine the chart looking for possible patterns and trends in the price movements MetaTrader offers a number of drawin
48. line and click Delete Custom Indicator Heiken Ashi E EEEL gt Common Inputs Colors Visualization All timeframes M30 C Daily H1 Weekly H4 Monthly Show in the Data Window On the Visualization tab you can select in which time frames the custom indicator can be used When you first open MetaTrader the All Time frames checkbox is selected When you uncheck it you can select one or more time frames If you need to return to the original settings click Reset Adding a Custom Indicator to a Chart 1 Right click on the custom indicator you want in the Navigator window and select Attach to a Chart 2 Select the options you want on the Common tab 5 If desired click on the Inputs tab Click Load Navigate to the external set you want and click Open 4 Adjust the settings as desired in the other tabs 5 When done click OK You can duplicate custom indicators and use the settings on the Visualization tab to specify different time frames for each one You can then place these in the same chart and compare how the indicator for the instrument would behave over multiple time frames Modifying a Custom Indicator Attached to a Chart Once a custom indicator is attached to a chart you can modify it using the Indicators List This displays a list of all indicators in the chart window 99 FA 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 BAR Ete E le gt Sy E Gh New Order T Exp
49. new one from the drop down menu that appears The Levels tab is where you can add level lines to the indicator You can create a new level by clicking Add You can then select the line and use the drop down menus to change the colour thickness and style of the level line To remove lines select the line and click Delete On the Visualization tab you can select in which time frames the indicator can be used When you first open MetaTrader the All Time Frames checkbox is selected When you uncheck it you can select one or more time frames If you need to return to the original settings click Reset 60 j GFT a MetaTrader 4 and MetaEditor User Manual Indicators will appear either in the chart or in an indicator window below the chart The name of the indicator in the separate indicator window appears in the upper left corner of that window i a EURUSD H1 I MACD 12 26 9 0 001895 0 001509 uy pow an eee ae 18 Aug 2010 19 Aug 1400 23 Sug O00 24 Aug O80 25 Aug 16 00 27 Aug 0000 30 Aug 10 00 31 Aug 18 00 2 Sep 02 00 1 You can add as many indicators to the charts as you would like but GFT advises traders to use no more than five at a time Attaching an Indicator to the Chart Window 1 Right click on the indicator you want in the Navigator window and select Attach to a Chart 2 Select the options you want on the tabs that appear 5 When done click OK N Indicators should not be confused with custom indica
50. on the trend lines to adjust the expansion 48 A Fibonacci time zone consists of a series of vertical lines placed at Fibonacci intervals from each other You can use Fibonacci Time Zones to forecast possible times when the market may experience a significant orice change When Time Zones Is selected you can create this drawing object by clicking and dragging A Fibonacci fan displays a Set of trendlines drawn from one point at different angles You can use this to forecast support levels for a possible ascending or descending trend When Fan is selected click and drag to create a line between the high and the low MetaTrader 4 and MetaEditor User Manual J GFT a MetaTrader 4 and MetaEditor User Manual You can use Fibonacci arcs to forecast support and resistance levels When Arcs is selected click where you want the centre of your arc to be and drag to size the arc Adding Shapes to the Charts When you click on the Insert menu and select Shapes you can select from one of three different shapes to add to the chart Rectangle draws a rectangle of any size on the chart When this is selected click where you want one of the corners of the rectangle to start and drag to size i NK hi a M if i 50 MetaTrader 4 and MetaEditor User Manual Triangle draws a rectangle of any size on the chart When this is selected click where you want the three corners to be Once you place the th
51. one can use MQL4 for creation of Program Run one s own Custom Indicators Scripts and Libraries You can start learning the language using Sergey Errors Findin Files Online Library Help For Help press lt F1 gt Ln 1 col 1 The Dictionary tab shows code examples of the MQL4 language organized in books and files You can open these files by clicking the to expand the book and then clicking on the file you want the topic you want opens in the Help tab of the Toolbox window 13 is GFT MetaTrader 4 and MetaEditor User Manual Y MetaEditor rotate_text mq4 ki File Edit View Tools Window Help e A Bg q ly B a ee Ear Compile GA Terminal P rotate _text mg4 stdib mgt rotate text mq4 Copyright 2004 Metaguotes Software Corp http www metaquotes net A ArrayCopyRates f property copyright Copyright amp 2004 MetaQuotes Software Corp Eek ArrayCopySeriest property link Fhetp www metaquotes ner FEA close inc lude lt stdlib mah gt F Comment string line name rotating line Cee Conversion Functions string object namel rotating text cee Data types Eee Date amp Time functions woid initij Eee Defining extern variables Print p oint Pointe bars Bars Cee Error codes Eee Execution errors Ee External Functions definition Ces FileFlush void deinit i Fes FileOpent i Eee FileOpenHistory OhjectDelete line name Eee FileReadarray Ohject
52. opens MetaEditor an application installed with MetaTrader that helps you create expert advisors and displays the Expert Advisor wizard Y MetaEditor File Edit Wiew Tools Help e A al d fy B aa a Eg Compile Terminal KP Mavigator Files config files J E include i O indicators 3 9 libraries Expert Advisor Wizard e stdlib mad logs Welcome to Exper Advisor Wizard presets L samples Please select what you would like to create E scripts H E templates earlyBird3 mg4 Easiest ever mgt Custom Indicator i hardprofit mg4 Script e MACD Sample mq4 Library l Make Some Money mgg i Moving Average mgt Include MOH O Generate from template To continue click Next Dictionary Search Bask E Refresh Experts G I Description Author This EA is based on the strategy Stop Hunting with the Big Players 2010 08 28 mt coder Fs Multimeter IY demo All in one trading tool Multi TF Indicator amp Expert advisor eagleye y i earlyTopProrate This EA is based on daily highs and lows and the relationship to each other 2010 08 23 hansH Double Zero EA Double zero cross level is the signal to open position and or close Settings For H TF 2010 08 20 mich99 Robot _ADK 2M A Robot _ADs 2MA 2010 08 17 satop Take profit Eur Usd Ea optimised on H4 based on low trailing stop 2010 08 16 chris10 w Errors Findin Files Online Library Help For Help press lt Fl gt Th
53. size changes or Grid which displays the lines between the rows and columns With live accounts GFT recommends viewing your account history in both MetaTrader 4 and DealBook WEB The transactions and values you see in DealBook WEB are the most accurate and legally binding You should rely on these values when you are trading If you have questions about the difference between the two olatforms contact GFT Placing a Trailing Stop on an Order On the Trade tab of the Terminal window you can modify or close your pending orders by right clicking on an order row and selecting the menu option you want One way to modify your order or position is to add a trailing stop 21 GFT MetaTrader 4 and MetaEditor User Manual N In MetaTrader 4 trailing stops will only run when you are logged into the platform For more information on how trailing stops work see Trading with the Order Types in MetaTrader Terminal EJ Order Time Type Size Sy Price SiL TIF Price Com Taxes Swap Profit Comment pastas Hew Order 2010 07 29 16 48 buy 2 00 gbpusd 1 53401 0 00000 o 00000 1 55844 0 00 Close Order 2010 07 29 16 49 buy 2 00 eurgbp 0 827669 0 00000 o o0000 0 83903 0 00 2010 08 26 16 00 buy 400 eurusd 1 26835 0 00000 0 00000 1 27205 0 00 Modify or Delete Order 2010 08 27 18 08 buy 4 00 eurusd 1 26835 0 00000 0 00000 1 27322 0 00 Delete Al None Commissions 30 points Trade Account History News Alerts Mailbox Experts
54. the chart window You can do so by right clicking in the chart window and selecting Refresh 36 MetaTrader 4 and MetaEditor User Manual Expert Advisors Periodicity Template Auto Arrange Grid H i La Volumes pri pai A d ob vdi S S wi a 3 5 L vA t C Q D O D p ae A daf rs 6 mo ft om O D oO zai fS Us pY D p oS 5c D 4 E 2m D o gt ae ow ae pe En av a 3S fu 0 gt w oO 26 amp z a Select the image you would like to save Zoom Out _ Active workspace Active chart as is Save As Picture Eh Print Preview h Print Active chart BS Propert i 11 Aug 2010 Saving as a Picture You can save the active chart window or workspace as a gif or omp file by right clicking in the chart window and selecting Save As Picture You can also choose the size the active chart to a specific pixel size 4 0 95955 l I I I I L I I I I I r I I I I I I I I L i I I i I r I I I I e I I I I L I I I I I r I I i I e I I I I L I I I I I r I I I I F I I I I L I I I I I r I I I I e 1 I I I L I I I i I r I I I I e I I I I L I I I I I r I I I I 5 I I I I I 0 95710 EERTE ee EEEE se Se ee ee EE SLI 4 0 95465 0 95220 Dee ee genepe p pgp gpg 4 uff 2 4 0
55. time When a chart already has an attached script a confirmation window appears verifying that the new script will be added and the old one removed from the chart Removing a Script Attached to a Chart Unlike expert advisors which continually work and execute orders based on market moves a script only performs a function once Normally a script shuts down by itself but there are several ways that you can remove it 104 Fa 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 File Charts ameero 8 View Insert Tools Window Help watch a EUIRLISD H4 1 37781 1 37857 ey Bid USDCHF 0 99 0 99 GBPUSD Larak leit Y EURUSD 1 37 sory o1ss orse 4 USDCAD Y NZDUSD F AUDUSD 4 USDZAR Y USD56D USDTRY EURTRY 1 9905 1 9916 Ww e Far E TA Indicators E Expert Advisors 4 Custom Indicators H Scripts 4 close 4 delete _pending modify modify pending OrderSend period converter rotabe_bext H send_pending 1 3 75 oF 12 3776 3 Ask A ieee eae a e ee A T E ete RE E a enw E cna ote cht ISA EPE SAA P E A AP E ENS ET Symbols Tick Chart x New Order D B Expert Advisors Trading Expert Advisors Remove Script Objects List Periodicity Template 3 Refresh Auto Arange Grid Volumes Zoom In Zoom Out Print Preview Print Properties i tE se rE Save As Picture MetaTrader 4 and MetaEditor User Manual
56. you first installed MetaEditor you can click Reset All 76 por Options Color Courner New MS Mincho Consolas Courier Courier New Finedsys Lucida Console Lucida Sane Typewriter MS Mincho OCR 4 Std Orator Std Terminal Size Script HMetaQVuotes MetaTrader 4 and MetaEditor User Manual On the Font tab you can specify font type size and script settings for the text that appears in the code of the autotrading tool file You can view how the text will look in the Text Preview box Options Colors Metwork T Ti On the Network tab you can view proxy server settings if they are entered 71 MetaTrader 4 and MetaEditor User Manual Section 5 Using MetaTrader s Autotrading Tools Most trading advisors recommend that traders follow a set trading strategy and stick to it MetaTrader offers a variety of automated trading tools that may help you do just that e Expert Advisors These automated trading strategies perform real time technical analysis of price data and manage trading activities based on current market conditions e Custom Indicators These modified technical indicators analyse the price moves of an instrument e Scripts These perform an automated analytic or trading function on request Unlike expert advisors which continually work and execute orders based on market moves a script only performs a function once In this section we ll d
57. 0 nzdusd 0 70631 0 00000 0 00000 2010 07 29 18 55 0 72535 139 47 3 8086 00 F 92354344 2010 07 29 16 49 buy 2 00 usdcad 1 03815 0 00000 0 00000 2010 08 27 19 54 1 05205 168 60 2 642 46 F 92354383 2010 07 29 16 59 buy 2 00 eurusd 1 30812 1 30885 0 00000 2010 07 29 19 40 1 30885 0 00 146 00 92354397 OF buy limit 2 j 33 0 000 0 000 2010 07 29 19 32 83 485 Trade Account History News Alerts Mailbox Experts Journal The Account History tab compiles a list of all executed trades You can also view your profit and loss credits deposits and withdrawal information gor x Time E 2010 08 31 03 13 00 PM E 2010 08 31 03 12 00 PM E 2010 08 31 03 11 00 PM E 2010 08 31 03 01 00 PM E 2010 08 31 03 01 00 PM E 2010 08 31 03 00 00 PM Trade Account History MetaTrader 4 and MetaEditor User Manual Headline DJ MARKET TALK USD CAD Hits 8 Week High Recedes Slightly DJ MARKET TALK Canada Back In Expansionary Territory DJ MARKET TALK Polish Bonds Weaker Ahead Of Primary Tender DJ Sterling Index At 1500 GMT DJ Sterling Index t 1500 GMT DJ Late Spot Sterling Rates In London IG Time Low Journal The News tab displays all the latest streaming financial news x J Trade Account History News Symbol Condition Counter Limit Timeout Event A EURUSD Bid gt 1 27500 0 1000 10sec alert A GBPUSD Bid gt 1 55930 0 1000 10 sec alert A GBPUSD Bid lt 83 50000 1 1000 10 sec alert Alerts Ma
58. 00 00 18 Oct 04 00 19 Oct 12 00 20 Oct 20 00 22 Oct 04 00 Headline Registration What Is Automated Trading Mobile Trading It s Easy Welcome 80 25 Oct 08 00 26 Oct 16 00 238 0 kb GFT MetaTrader 4 and MetaEditor User Manual MetaEditor Nik_PSAR_2B mq4 File Edit View Tools Window Help E e AlB 0 d Ly fy a Ey Compile G Terminal 7 Nik_PSAR_2B mq4 Seles on T O config Nik PSAR 2B mq4 mq4 m files 2 2 include hasisforexWqmail com o 7 H indicators property copyright Copyright 2010 basisforex gmail com H libraries property link hasisforex gmail com O logs f O presets property indicator chart window aH samples property indicator buffers 6 E fam scripts property indicator_colori White 5 B templates property indicator_color2 Yellow f 3 earlyBird3 mq4 property indicator color3 Blue i j property indicator color4 Black 9 Easiest ever mq4 property indicator colors Green hardprofit mg4 property indicator _color6 Red G MACD Sample maqt fo Make Some Money mq4 extern bool AlertsEnabled extern bool TF4 extern bool TF3 extern bool TF2 Copyright 2010 G Moving Average mgt extern double Step extern double Max irum double s1 double s2 l Dictionary Search amp Refresh S Experts E Indicators ad Scripts Libraries N Articles d l MOL4 com v ira Name Description Date T Author Stop Hunter This E is
59. 1 06512 GBPCH EURCHF 1 29260 1 29292 GBPIP EURJPY 107 389 107 425 CHFIP EURCAD 1 35490 1 35536 Lsymbals High Low EURAUD 1 42925 1 42976 Time GBPCHF 1 56429 1 56489 Auto Arrange GBPIPY 129 969 130 028 v Grid lt gt CHFIPY 83 065 83 105 BS Symbols Tick Chart BE Popup Prices Symbols Sets The Symbols tab displays a list of instruments to trade and their prices The arrow beside the instrument symbol shows if the price is rising or falling The Bid and Ask prices will appear in a different colour If the price is lower than the last reported one the numbers appear in red If the price is higher than the last reported one the numbers appear in blue You can double click on an instrument to view the Order window and place an order to trade See Placing Market Orders Manually from the Order Window in Section 2 Opening and Managing Your Trades for more information If you right click on an instrument when the Symbols tab is selected you can access a drop down menu with several options New Order displays the Order window Chart Window opens a new chart window Tick Chart changes the Symbols tab to the Tick Chart tab We ll discuss each of these windows in upcoming sections of this guide You can customize the Market Watch window so that it hides instruments as long as there are no open positions or pending orders attached to it Hide removes a single instrument symbol from the window Hide All temporarily removes all
60. 1 31 1 31 Symbols Tick Chart j GFT MT4 Powered by BT B Accounts F Indicators H Expert Advisors a LE Custom Indicators Scripts Ey close 4 delete pending modify modify pending 4 OrderSend Eh period converter Common Favorites 6 Sct 2010 F Gck 2000 1i ek OO 12 ek OS 13 Oct 1600 15 et 0000 1B et 0k00 19 Oct 1200 20 et 20 00 22 Oct 0k00 25 Oct OF 26 et 16 00 Time From Headline 2010 10 25 13 15 GFT MT4 Powered by BT Registration Ea 2007 09 25 16 00 GFT MT4 Powered by BT What Is Automated Trading Ea 2007 09 25 15 55 GFT MT4 Powered by BT Mobile Trading It s Easy Ea 7007 09 25 15 56 GFT MT4 Powered by BT Welcome Trade Account History Alerts Mailbox Journal Options Default MHT 92 0 kb 79 Enabling Expert Advisors Custom Indicators Scripts or Libraries in MetaTrader 1 You cannot use expert advisors custom indicators scripts and related files on practice accounts 2 5 4 D 6 Click the Tools menu and select Options MetaTrader 4 and MetaEditor User Manual In the Options window click on the Expert Advisors tab Make sure Enable Expert Advisors is selected If you are using expert advisors or scripts check Allow Live Trading If you are using custom indicators or scripts check Allow DLL Imports and Allow External Experts Imports Change the rest of the options to suit your trading style When done click OK Finding Autotrading Tools in the Online Li
61. 10 09 01 00 39 sell 1 0 10 0 89155 0 89105 copi coals 2 0 10 0 89963 0 90013 Copy All Alt A 2 0 10 0 89924 0 90013 3 90 9915 40 20 Save as Report 3 0 10 0 89920 0 89870 20 pus 3 0 10 0 89945 0 89870 2 50 9912 90 4 0 10 0 89950 0 90000 20 seer ve 4 0 10 0 89853 0 90000 9 70 9903 20 DR Auto Anange A 5 0 10 0 89893 0 89943 3 Grid Results If you right click in the Results tab you can view a drop down menu with other menu options You can use Copy to copy select lines in the table You can also click Copy All to select the entire table You can also save the table as an htm file by clicking Save as Report and entering the name of the report 88 GFT MetaTrader 4 and MetaEditor User Manual You can use Set Date From and Set Date To fields to change the timeframe x Balance f Equity Every tick the most precise method based on all available least timeframes to generate each tick 7 25 00 The Graph tab displays a graph which maps your balance with a blue line and the number of lots with a green line You can view this information in a legend that appears in the upper left corner You can double click anywhere in the Graph tab to return to the Results tab If you right click in the Graph tab you can view a drop down menu with other menu options You can use Copy to copy the entire graph so you can paste it in another file You can also save the graph as a gif file by clicking Save as Picture and enteri
62. 1600 15 Oct 0000 18 ck Od 19 Ot 1200 20 Og 2000 z2 Od 0400 25 Oet 000 26 Oct 16 00 x Time E 2010 10 25 13 15 E 2007 09 25 16 00 _ Ba 2007 09 25 15 58 CEA 2007 09 25 15 56 Trade Account History Alerts For Help press F1 From GFT MT4 Powered by BT GFT MT4 Powered by BT GFT MT4 Powered by BT GFT MT4 Powered by BT Mailbox Default Headline Registration What Is Automated Trading Mobile Trading It s Easy Welcome Journal ailll 60 0 kb You can open the Options window by clicking on the Tools menu in the MetaTrader tool bar and selecting Options 78 i i T MetaTrader 4 and MetaEditor User Manual The Enable Expert Advisors checkbox activates all expert advisors in MetaTrader When the checkbox is not checked the expert advisors will not analyse chart price movements The Disable checkboxes beneath it allow MetaTrader to automatically deactivate all of your expert advisors if you change your account or your profile The Allow Live Trading checkbox enables you to place orders when an expert advisor or script is active When this is checked you can also choose to select the Ask Manual Confirmation checkbox below it If your expert advisor or script is about to perform a trade and this checkbox is selected a notification appears asking you to confirm the trade The Allow DLL Imports checkbox allows your expert advisors custom indicators or scripts to automatically access the dynamic link library
63. 2007 09 25 15 58 GFT MT4 Powered by BT Mobile Trading It s Easy z 2007 09 25 15 56 GFT MT4 Powered by BT Welcome Allow live trading Trade Account History Alerts Mailbox Experts Journal For Help press F1 Default HHT 943710 kb If your script is designed to execute a command based on certain conditions you will see a confirmation window After you click Yes you may see the settings window depending on the type of script If the settings window appears you can specify how you want the script to perform on the Common tab While you may have already specified how MetaTrader handles permissions for all expert advisors custom indicators and scripts you can specify individual settings for the script here The Positions drop down menu allows you to select if the script opens both long buy and short sell positions or only long or short positions You can click the Enable Alerts checkbox so that MetaTrader sends you a message when the script has placed a trade You can also click Disable Alerts Once Hit so MetaTrader only sends a notification once In the Live Trading section you can click Allow Live Trading to enable or disable the script in live trading When this is checked you can also choose to select the Ask Manual Confirmation checkbox below it If your script is about to perform a trade and this checkbox is selected a notification appears asking you to confirm the trade The Safety section contains options
64. 410 0 92060 4 Aug 2 2010 5 Aug 2 3 00 9 Aug 09 00 10 Aug 17 00 12 Aug 01 00 13 Aug 09 00 16 Aug 19 00 18 Aug 03 00 13 Ay 11 00 20 Aug 19 00 34 Aug 05 00 25 Aug 13 00 30 OFT MetaTrader 4 and MetaEditor User Manual The Price section displays the current market prices of the instrument The legend shows the instrument symbol and current price information The Time Frame Interval section displays times and or dates based on the selected time frame The Ask Line shows the current ask price When you open a chart window for the first time in MetaTrader the chart displays the price movements of the selected instrument as a continuous line measuring intervals by the minute The amount of time shown in the chart depends on the time frame you selected For example if you selected the five minute time frame on a line chart you can view the closing price of an instrument for the five minute period You can scroll back and forth in the chart history by clicking in the chart window and dragging your cursor to the left or right You can also change the scale of the price moves in the chart by clicking the Price section and dragging up and down or clicking the Time Frame Interval section and dragging left or right You can change colours fonts and other settings in the chart For more information see Customizing the Appearance of the Chart Window in Section 6 Customizing the Appearance and Settings in MetaTrader Displaying the Chart
65. 54360 1 54195 1 54025 1 53860 1 53690 1 53150 24 4ug 2010 25 Aug 0100 25 Aug 100 26 Aug 0900 27 Aug O10 27 Aug 17 00 30 Aug 11 00 31 Aug 03 00 31 Aug 19 00 1 Sep 11 00 When Trendlines by Angle is selected click where you want your line to begin and drag your cursor to place the line on a specific degree Remember you can change MetaTrader settings so all your trendlines have a beginning and end point using the Objects List See Configuring Drawings in the Chart in this section for more information Drawing Channels on the Chart When you click on the Insert menu and select Channels you can select from one of four different types of channels to draw 44 MetaTrader 4 and MetaEditor User Manual Fibon naccl i Chan ie dra raws a pec cata ese el 2 618 rents When it is selected click where you wan ithe ce o e and drag you rtop cinean ah a statistical Ga s to em sed for o casting futu meen sofan i rumen oe lon it is i cted Tie e you wan te _ nel to begin and drag you oie place it Sei MetaTrader 4 and MetaEditor User Manual Equidistant draws two parallel lines that remain equidistant no matter where you place them When it is selected click where you want the channel to begin and drag your cursor to place it You can then click on the secondary line and drag it in the chart j i Mo ny Standard Deviation draws three parallel lines that are separated by a set deviation
66. 82 USDTRY 1 52148 1 52245 EURTRY 2 0116 2 0150 AUDNZD La L AUDCAD 0 96956 0 99000 w 54 Symbols J Tick Chart P Deren 25 Now 2010 30 Now 00 00 2 Dec 16 00 7 Dec04 00 9Dec20 00 14 Dec 08 00 x Be a MTA Foner by BT USDCHF H4 0 96155 0 96806 0 95998 0 96795 USDIPY H4 84 000 84 291 83 880 84 282 3 2088451658 GFT Demo 1 Fal Indicators Expert Advisors FA Custom Indicators Hg Scripts eel Ee ji iiini ii i il i M eee CCI 14 185 9946 ma M il 25 Now 2010 29 Now 16 00 2 Dec 08 00 6Dec20 00 9 Dec 12 00 i4 Dec 00 00 6 Dec 2010 3 Dec 00 00 9 Dec 08 00 10 Dec 16 00 13 Dec 20 00 15 Dec 04 00 0 00705 Common Favorites EURUSD H4 USDCHF H4 GBPUSD H4 USDIPY H4 Time 2010 10 25 13 15 Ea 2007 09 25 16 00 2007 09 25 15 58 From GFT MT4 Powered by BT GFT MT4 Powered by BT GFT MT4 Powered by BT GFT MT4 Powered by BT Headline Registration What Is Automated Trading Mobile Trading It s Easy Welcome E 2007 09 25 15 56 Mailbox Trade Account History Alerts Jama e Menu Bar e Toolbar e Market Watch e Navigator e Terminal e Status Bar e Chart window MetaTrader has a customizable interface You can open move arrange resize and close windows as you see fit GFT MetaTrader 4 and MetaEditor User Manual The Menu Bar At the top of the workspace you ll see the MetaTrader menu bar You can use options in the seven menus that appear
67. 94570 lonn doe Lnn leen dee Lnen lone meden Lenne losen dee es Sen em Espert Advisors p 09425 Penodicity z O 94480 Heoat He r a ee ee a ee a ee eM ee a ee A ee Ea eg Pee ee ea ae Sk WM eae ee eT we re eee om ae foe Ore ee eal Template a JHF ee eee 40 9435 b m l m m m m a o m m a a a a u a d a a a a m a ee eee 0 93 350 Auto Arrange 40 a7 z 40937 Se ee D T ial lal E 93495 d b 21 b UY La Volumes 0 93250 hy 4 Zoom Out 33005 E IR E SS aegis Wl fo E ee Cae ek 4 r 7 AtHF r 4 a r 4HH Save As Picture Eh Print Preview FEO acc fs 4d b 2 Ue HHH ee ee ee J ee ee ee es eee ee ee 0 92510 265 a v PU r Properties ue ec ee ee ee eM ee eg eee ee he ey ee ee SS SS Se ee ne Se ee eS eS ee a ee a Printing the Chart You can print the active chart To preview It before you print right click in the chart window and select Print Preview When you click in the chart window and select Print right J re ready to print J 3 MetaTrader 4 and MetaEditor User Manual You can also access the tools listed here from the Charts or File menu in the menu bar Displaying the Line Studies Toolbar If you are planning on drawing
68. Advisor MACD Sample vi Expert properties Symbol AUDUSD Australian Dollar vs US Dollar Period M1 v Symbol properties Model Every tick the most precise method based on all available least timeframes to generate each tick v Optimization Open chart Use date Modify expert Visual mode Start H settinas Gouna SO lt S 72S SS lt i i lt C The Settings tab is where you specify which expert advisor the testing period modelling and other information The Journal tab displays a list of system messages about the expert advisor s test such as orders filled and positions closed GFT MetaTrader 4 and MetaEditor User Manual Time Type Order Size Price Syl TIP Profit Balance 2010 08 18 02 22 sell 1 0 10 0 90364 0 90314 B 2010 08 18 02 34 modify 1 0 10 0 90364 0 90363 0 90314 2010 08 18 02 34 modify 1 0 10 0 90364 0 90362 0 90314 2010 08 18 02 34 modify 1 0 10 0 90364 0 90360 0 90314 2010 08 18 02 34 modify 1 0 10 0 90364 0 90359 0 90314 2010 08 18 02 34 modify 1 0 10 0 90364 0 90358 0 90314 2010 08 18 02 34 modify 1 0 10 0 90364 0 90356 0 90314 2010 08 18 02 35 modify 1 0 10 0 90364 0 90354 0 90314 2010 08 18 02 35 modify 1 0 10 0 90364 0 90352 0 90314 z Results Graph Report Journal The Results tab displays a table that contains information about all of the trades that were executed during the test The Graph tab shows the test results After a test you can view a graph which maps your
69. B tev omn P3 Open Ctrl O Print Setup 1 stdlib mg4 Exit To create a new library from scratch click New in the File menu This opens the Expert Advisor window Make sure Library is selected Once you click Next the wizard opens the General Properties window When you click Finish the wizard closes and opens a text file with the code for the parameters in it You can edit the code manually or add additional components from the tools in the Navigator window You can also open other source code files and copy and paste sections of code into the downloaded file 108 j GFT a MetaTrader 4 and MetaEditor User Manual A star appears in the header of the library source code file after you ve edited it You can click Save to save your changes and continue working Once your edits are made click by Compile This verifies if the code works as programmed The Errors tab opens automatically in the Toolbox window to show you if there are any errors or warnings When the compilation is successful MetaEditor saves the file See Section 4 Opening MetaEditor for the First Time for more information on MetaEditor Setting Keyboard Shortcuts for Autotrading Tools in the Navigator Window If you think you will use an expert advisor custom indicator or script frequently you can set a keyboard shortcut or hot key to open the autotrading tool automatically in the chart Fa 2088454440 GFT M74 Powered by BT Demo Account
70. D 1 58432 1 56441 Time 12 00 1 41260 EURUSD 1 38580 1 38587 Open 1 39295 amp USDIPY 81 449 81 460 High 1 39476 1 41015 USDCAD 1 02417 1 02444 Low 1 38894 NZDUSD 0 74834 0 74578 Close 1 38939 AUDUSD 0 98504 0 98519 volume 10327 USDZAR 6 94860 6 96120 F MAl4 1 39334 USDSGD 1 29644 1 29756 USDTRY 1 42524 1 42771 F EURTRY 1 9757 1 9787 AUDNZD 1 31538 1 31619 AUDCAD 1 00888 1 00934 amp ALINCHE Symbols Tick Chart EA GFT MT4 Powered by BT B Accounts E F Indicators amp Expert Advisors P Custom Indicators g Scripts 1 40770 You can right click in the Data Window to view the following menu options Copy allows you to copy information from the Data Window When checked Last Data displays a column in the Data Window which contains the latest open high low and close When checked Auto Arrange automatically resizes the columns in the Data Window if the window size changes When checked Grid displays a border around the rows and columns in the Data Window You can choose which information appears in the Data Window by selecting Show and then checking or unchecking the options in the drop down menu The Strategy Tester With MetaTrader you can create expert advisors to help you analyse markets and make trades The Strategy Tester window allows you to test expert advisor strategies against already saved market history data and modify expert advisors as needed x Expert
71. Delete fobject namel Fes FileReadDouble OhjectsRedrawt ce FileReadIntegert Eee Fileseek Ces FileTell Fes Filewritet int Start Files Dictionary Search 4a Back Forward lt 4 Home St Previous C Sync E Next 2 MOL4 com MQL4 Reference Basics MetaQuotes Language 4 MQL4 is a new built in language for programming of trading strategies This a Standard constants language allows to create your own Expert Advisors that make trading management automated and are Predefined variables perfectly suitable for implementing of one s own trade strategies Besides one can use MQL4 for creation of s Program Run one s own Custom Indicators Scripts and Libraries You can start learning the language using Sergey Errors Find in Files Online Library _Help For Help press lt F1 gt Ln 1 Col 1 click MetaEditor lists the search results in the tab To view a result double click on the search result you want Like the Dictionary tab the topic you want opens in the Help tab of the Toolbox window The Code Window The Code window is where you can view the text file that contains the source code of your expert advisor custom indicator script or other MetaTrader autotrading tools 74 is GFT MetaTrader 4 and MetaEditor User Manual gt MetaEditor rotate_text mq4 ki File Edit View Tools Window Help GEAN Ba a Geom Brenna rokate_text mq4 stdlib mng4 rotate text mq4 Copyright
72. E ETEEN EEEE EN lines When Gann Grid Is l l i selected click where you i want the grid to begin and M A A en drag your cursor to size the grid EELA A rear en et Mgt EA l a ara M ty iL TT 47 a g MetaTrader 4 and MetaEditor User Manual Drawing with the Fibonacci Tools on the Chart Leonardo Fibonacci discovered a number sequence where each successive number represents a sum of two preceding ones 1 1 2 3 5 8 13 21 34 55 89 144 etc Many traders use these values to forecast points of support or resistance When you click on the Insert menu and select Fibonacci you can select from one of five different types of Fibonacci tools to add to the chart When a severe drop or rise 100 0 occurs you Can use a Fibonacci retracement to forecast where stops or losses may be placed When Retracement is selected click and drag a line between the highest and the lowest price points on the chart You can add a Fibonacci expansion to forecast where the third wave will end When Expansion is FE Gi selected click and drag to a highest and the lowest 0 0 7 price points on the chart just as you did for the retracement When done a second trend line will appear You can double click
73. Editor User Manual Options Server Charts Objects Trade Expert Advisors Email Publisher Events E Enable SMTP server smtp ghtserver xe nee SMTP login traderaigftforex com SMTP pazzword From tradernagtthoresx com To jtrader tgftfores core Test To begin entering information click Enable The SMTP Server text box is where you will enter the address of your SMTP server and the port number The SMTP Login text box and SMTP Password text box are where you enter the login and password for the trader server The From text box is where you enter your name and the email address on the SMTP this is the address from which the message will be sent The To text box is where you enter the name and email address that you want to send the message to The Test button sends a message using the settings specified If the test is successful click OK If not check the settings and test again 121 GFT MetaTrader 4 and MetaEditor User Manual Entering Reporting Settings The Publisher tab is where you can publish reports about your account status to the internet automatically Options Server Charts Objects Trade Expert Advisors Email Publisher Events Enable Account HH Refresh ever minutes FTP server fip gftserver 4x uun FTF path inetpub ss FTF login ait FTF password Passive mode Test To begin entering information click Enable The Account t
74. F wL HL New Order a T Expert Advisors aa EWIRLISOH4 1 38233 1 28305 1 3 37890 1 38206 1 4 1 41555 USDCHF 0 98 0 96 GBPUSD 1 58 1 58 _ halebi 4 EURUSD 1 38 1 nak USDCAD MACD Sample 1 40675 NZDUSD EA nputs 1 40380 I AUDUSD oF 0 97 Common P USDZAR naea gi Ei Variable USDSGD 1 30 1 30 i TakeProfit 4 USDTRY 43 43 i ica Lot l i 1 39795 EURTRY 1 9880 1 9893 V TrailingStop z i de AL ITF T Symbols Tick chart ve MACD OpenLevel wa MACDCloseLevel Navigator ve Ve MAT rendPeriod GFT MT4 Powered by BT 2 MATrendPerio iE Accounts bead tee El Expert Advisors MACD Sample Moving average l 4 Custom Indicators Scripts 1 40090 7 Og 2010 8 et 08 00 11 crt 12 00 12 Oct 200 i4 Set Os 15 Oct 12 00 18 Oct 16 00 2 Og OOO 21 Og O80 Fe Og 16 00 25 Og POO 27 Og O40 Common Favorites EURUSD H4 USDCHF H4 GBPUSD H4 USDIPY H4 Time From Headline Ea 2010 10 25 13 15 GFT MT4 Powered by BT Registration 2007 09 25 16 00 GFT MT4 Powered by BT What Is Automated Trading 2007 09 25 15 58 GFT MT4 Powered by BT Mobile Trading It s Easy S Ea 2007 09 25 15 56 GFT MT4 Powered by BT Welcome Trade Account History Alerts Mailbox Experts Journal For Help press F1 Default HHT 113 0 kb On the Inputs tab you can view the variables used to calculate the expert advisor The variables are specific to the expert advisor yo
75. GFT MetaTrader 4 and MetaEditor User Manual Version 1 1 gftuk com 0800 358 0864 44 0 207170 0770 LIVE CHAT 24 7 TOLL FREE INTERNATIONAL GFT l MetaTrader 4 and MetaEditor User Manual Table of Contents Welcome to the MetaTrader and MetaEditor User Manual 0 0 c cesesesessssssssesecscessesesesescseeesesesscaveesesesesvavecsesteevarseeesnaees 4 Section 1 Opening MetaTrader for the First TUM ics occu sises ccsn cose ovcevvuseivacasetesrsaiesusicnsativetatvencies deen setaidinh dnt udvesdeeetoiedseateds 5 Viewing the Metalrader Work DACE tee ceccareces hen sseranes crn ener eaieanienanancnventee anita vii a E antec 5 TUE CMG A ceca cc ars csc cea et ees E E A A A E E N 6 MetaTrader Toolbars cress eteoveeceesenececste ct ehetce esc zone sepespvandch i aaoastexetienaes vest sauteeteantaehastadactasestupaeds ivcsenes Becks soiharceeesectns 6 The Market Watch WINdOW aiian a a a a ctu Eai a a E a i 7 TENOGO W IOO N an a re eee 9 The Chart VU WN LO anuiniaioneaieosirsaa aeiaaeeao Eda AES AEE aa aa Eaa a E a RE a 10 The Terminal WiNndoW sesicisecxisczesesavtsncentseatutasendsesateedteceisubevanchweveassnossvinchauoenedelantstudivecituciusctesdtecntdugurinchstewsvonestecweneew cabins 11 TAEDA VV INGO Wve E EEE A A E E E hn adam nian E A E AN E A E E E 13 E TE T eaa E E EEEE aise 13 Generating MetaTrader 4 Reports in DealBook WEB ooo eeesessssesssesesessesesesesecsesesesesecerscavseeesesevavseeesesevavseeestsenenenaees 14 Section 2 Ope
76. Journal Tares 130 points Comments 230 points Auto Arrange 330 points Grid 430 points 530 points 630 points T30 points Custom To place a trailing stop quickly right click in a position row and select Trailing Stop This displays a drop down menu where you can select the number of pips you want 10 points one pip Once active the trailing stop appears in the S L column of the Trade tab The Trailing Stop drop down menu also contains the Custom menu option When you select this you can enter a specific number of points in the Custom window Trailing stop Trailing Stop is a method to move Stop Loss level automatically Minimal Trailing Stop level is 15 points Traling Stop level points If you place a trailing stop and eventually want to remove it you can right click on your order or position select Trailing Stop and click None You can also remove all trailing stops from your open positions by selecting Delete All in the Trailing Stop drop down menu Placing a Custom Trailing Stop 1 Right click in a position row in the Trade tab of the Terminal window and select Trailing Stop 2 Inthe drop down menu that appears select Custom 5 Enter number of points you want 4 Click OK When you set a trailing stop your stop needs to be more than 15 points away from the current price 22 Ror MetaTrader 4 and MetaEditor User Manual Closing a Position at the Current Market Price When you need t
77. NOTE When trading binaries it is possible to lose more than your initial deposit GFT Global Markets UK Ltd is authorised and regulated by the Financial Services Authority CDO4UK 101 050611 130
78. Parameters You can also change the appearance of the journal table by right clicking in the Optimization Results tab and selecting Auto Arrange which resizes the columns automatically if the Strategy Tester window size changes or Grid which displays the lines between the rows and columns x The Optimization Graph tab displays a graph which maps your profitable trades in a green line and your unprofitable trades in a red line You can double click anywhere in the Optimization Graph tab to return to the Optimization Results tab If you right click in the Optimization Graph tab you can view a drop down menu with other menu options You can use Copy to copy the entire graph You can also save the graph as a gif file by clicking Save as Picture and entering the name of the file Attaching an Expert Advisor to a Chart Once you have the expert advisor as you want you display it in the chart window by clicking and dragging it from the Navigator window This opens a window so you can specify settings for the expert advisor If you are using an EA and do not have a Virtual Private Server subscription your EAs will stop running when you log out of MetaTrader 91 MetaTrader 4 and MetaEditor User Manual 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 am er ie rap p Cy E wL SL New Order a T Expert Advisors mae EUIRUSDH4 1 38233 1 38305 137890 1 38206 bd 44555 USOCHF 0 98 0 96 4 GEPUSD 1 56
79. Properties button This displays a window with information about the expert advisor on three tabs MACD Sample Testing Inputs Optimization Initial deposit TIM J Positions Long amp Short H Optimization Genetic algorithm On the Testing tab you can test how the expert advisor would work with your initial deposit and in the base currency you want The Positions drop down menu allows you to select if the expert advisor opens both long buy and short sell positions or only long or short positions You can run an expert advisor through multiple tests that mimic different market conditions This is called optimization On the Testing tab you can choose one of five models for optimization using the Optimized Parameter drop down menu e Balance reports the smallest balance value in the deposit currency e Profit Factor determines the gross profit and gross loss of one trade e Expected Payoff looks at the average profit loss factor of one trade You can use this to determine whether the trade was profitable or unprofitable e Maximal Drawdown calculates the largest loss of one trade e Drawdown Percent determines the maximal drawdown of your initial deposit MetaTrader will run the expert advisor through every possible combination of the parameter If you want MetaTrader to test the expert advisor using random selective combinations you can check the Genetic Algorithm checkbox 85 rs GET MetaTrader 4 and Met
80. S CN eR PS ees Sie ar ERS ON ee PA oe ON ee ie Re AEEA EEE EE EEEE ot Se ioe Se Me ihe Aca Sp i 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 17 Aug 2010 18 Aug 2000 20 Aug 0400 23 Aug 1400 24 Aug 22 00 The EUR USD chart window with the expert advisor MACD Sample attached To show you that it s attached the name appears in the upper right corner of the chart window NX If you are using an EA and do not have a Virtual Private Server subscription your EAs will stop running when you log out of MetaTrader You can verify if the expert advisor is active or not by looking for one of three types of icons in the upper right corner of the chart A means that the expert advisor was attached and is actively trading A shows that the expert advisor was attached but that live trading is disabled for it A means that all expert advisors have been disabled For more information on expert advisors see Section 5 Using MetaTrader s Autotrading Tools 62 Managing Templates in the Chart Window With a chart template you can save the chart type time frame indicators expert advisors and other settings and apply it to any chart MetaTrader 4 and MetaEditor User Manual ga EURUSD H1 Trading l Expert Advisors E Ro Refresh Load Template Remove Template Auto Arrange Ctrl Grid Chie ADX La Volumes Ctrl L BollingerB ands Dy li i oom In ae L E Zoom Out 2a Momentum Popular Stuff ie Save As Picture Eh Prin
81. Toolbar When you first open MetaTrader you ll notice the Chart toolbar appears at the top of the window You can use these tools to change and manage the way the chart displays pricing information If you don t see the Chart toolbar you can display it by selecting View clicking Toolbars and selecting Charts minia alri g 5 MetaTrader groups the tools on the toolbar by type The first three buttons on the toolbar specify the chart type If you click one it remains active until you click another chart type button H Bar Chart displays the price moves of the selected instrument as a sequence of bars Each bar displays the high low open and close of the instrument and represents the trading activity for the time frame selected in the chart 19 Candlestick Chart tracks the price moves of the selected instrument as a sequence of blocks or candles Each candle displays the high low open and close of the instrument and represents the trading activity for the chart time frame With candlesticks you can analyse the market spot trends and forecast their direction B Line Chart displays the price moves of the selected instrument as a continuous line The line connects the close prices for the time frame selected in the chart e R Zoom In magnifies the most recent price moves and displays them on the chart a Zoom Out decreases the magnification of the chart D AutoScroll updates the chart so that it always scrolls to the ri
82. Weigel oa leer Aare S EURUSD ee aes USDIY 81 582 81 588 USDCAD 1 030 1 03 NZDUSD O74 0 74 8 AUDUSD 0 97 0 97 USDZ4R 7 06 7 06 Amati USDSGD 1 30 1 30 F USDTRY 1 44 1 44 EURTRY 1 9905 1 9923 z Standard fame EURUSD H4 1 3778 Ask A Charts 0 98 Bid 0 98 Line Studies Periodicity Customize Customizing toolbar Eb Print Preview E Print t Selected lt gt Data Window Gg Navigator amp AIPA Symbols Tick Chart E Terminal Full Screen amp Options D Help Navigator _ F Bollinger Bands F Bulls Power F Commodity Channe F DeMarker F Envelopes x A W Strategy Tester z New Order MetaEditor a Expert Advisors F Force Index GF Fractals F Gator Oscillator F Ichimoku Kinko Hyo GF MACD GF Market Facilitation I F Momentum GF Money Flow Index F 7 Oct 2010 10 Oct 21 00 12 Oct 04 00 EURUSD H4 13 Oct 12 Common Favorites USDCHF H4 GBPUSD H4 x Time From 2010 10 25 13 15 2007 09 25 16 00 ba 2007 09 25 15 58 GFT MT4 Powered by BT GFT MT4 Powered by BT GFT MT4 Powered by BT GFT MT4 Powered by BT 5 2007 09 25 15 56 Trade Account History Alerts Mailbox Journal Customize toolbars Default 00 14 Oct 20 00 18 Oct 00 00 19 Oct 08 00 20 Oct 16 00 USDJPY H4 22 Oct 00 00 25 Oct 04 00 26 Oct 12 00 Headline
83. X Trader 4 experts 29 N C Program Files Interbank FX Trader 4 experts 96 N C Program Files Interbank FX Trader 4 experts N C Program Files Interbank FX Trader 4 experts ee C Program Files Interbank FX Trader 4 experts 5 occurrence s have been Found result OrderClose OrderTicket OrderLots price 3 CLR_NONE OrderClose OrderTicket OrderLots Bid 3 violet close position OrderClose OrderTicket OrderLots Ask 3 Violet ff clase position if Open 1 gt ma amp amp Close 1 lt ma OrderClose OrderTicket OrderLots Bid 3 White if Open 1 lt ma amp amp Close 1 gt ma OrderClosefOrderTicket OrderLots Ask 3 White Errors Findin Files Online Library Help Ln 82 Col 49 For Help press lt F1 gt 69 J T MetaTrader 4 and MetaEditor User Manual Click the Find in Files menu option in the Edit menu to open the search window Type the word you want and use the drop down menu to select the location you want When done click Find Find In Files Find what OrderCloze In files file types In folder C Frogram Files Interbank Fs Trad se ls Cancel Match whole word only Match case Look in subfolders You can view the list of files and the line in the Find in Files tab To go to the line you can right click in the Find in Files tab and select Go To Line from the drop down menu that appears You can also double click one of the results
84. a tool on Microsoft Windows operating systems that allows your computer to exchange information with other applications Options Server Charts Objects Trade Expert Advisors Email Publisher Events Enable Expert Advisors except for Custom Indicators and Scripts Disable experts when the account has been changed Disable experts when the profile has been changed Allow lve trading Allow OLL imports Confirm DLL function calls Allow external experts imports You ll need to make sure that Enable DDE Server is checked on the Server tab in the Options window See Customizing Autotrading Settings in this section for more information History Data cannot be exported through the DDE Only current quotes can be exported Managing Global Variables As you trade you may have more than one expert advisor making and placing trades at one time In order for these to work at times the expert advisors need to exchange information through global variables You can add and manage 126 GFT global variables by clicking Tools in the menu bar and selecting Global Variables in the drop down menu This opens the Global Variables window FJ 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 lax Gp Eh e lt gt Sey E A GNeworder G E xpert Advisors 7559 atch 13 eae EURUSD H4 1 37781 1 37987 1 37337 1 375 Symbol Bid Ask USDCHF 0 99 0 99
85. aEditor User Manual MACD Sample Testing Inputs Optimization Varable TakeProfit T Lots T TrailingStop T MACDOpenLevel MACDCloseLevel MAT rendPeriod On the Inputs tab you can select variables that affect how the expert advisor works The inputs that you see in this tab depend on the expert advisor you selected you can use the checkboxes to select the lot size trailing stop levels or other information and double click in the Value Start Step or Stop column to change the values You can also click Load to add inputs to the expert advisor or Save to save the variables as a Set MACD Sample Testing Inputs Optimization Limitation Balance minimum Profit masimum T Minimal margin level D Masimal drawdown T Consecutive loss T Consecutive loss trades T Consecutive win T Consecutive win trades On the Optimization tab you can select limiting parameters for optimization As MetaTrader runs the expert advisor through subsequent tests it stops the test when one of the parameters is met The parameters that you see in this tab depend on the expert advisor you selected you can use the checkboxes to select parameters and double click in the Value column to change its value You need to check the Optimization checkbox on the Settings tab of the Strategy Tester for these settings to apply to the optimization AUDUSD contract specification Spread Digits Stops level Pendings are good till
86. alert may go off more than once You can use the Timeout drop down menu to set a period of time between when the alert goes off and when it can go again You can use the Maximum Iterations drop down menu to choose to have the alert sound between one and 1000 times MetaTrader will send an alert to your email when your address is setup in the Email tab of the Options window See Entering Email and Server Settings in Section 6 Customizing the Appearance and Settings in MetaTraderfor more information 21 j OFT MetaTrader 4 and MetaEditor User Manual Creating an Alarm 1 Right click on the Alerts tab in the Terminal window and select Create To begin entering information in the Alert Editor click Enable On Off Click the Action drop down menu and select Sound File or Mail Make sure the instrument you want is selected Click the Symbol drop down menu to select an instrument if not Click the Condition drop down menu and select Bid gt Bid lt Ask gt Ask lt or Time and enter a value 6 Click the Source drop down menu and select an alert If you selected Sound you can also click E select the file you want and click Open if desired 7 If desired click the Timeout drop down menu and select a time 8 If desired click the Maximum Iteration and select a number 9 Click OK a Symbol Condition Counter Limit Timeout Event B EURUSD Bid gt 1 27500 a 0 A Create neat A GEPUISD Bid 1 55930 1000 10 sec alert By Mod
87. als that the trade operation you just executed was successfully performed News indicates that MetaTrader has received a new news story You can view it in the News tab of the Terminal window Expert Advisor signals that an expert advisor has performed a trade operation Expert Confirmation indicates that a manual confirmation is open and needs your confirmation When the Ask Manual Confirmation is selected in the Expert Advisors tab MetaTrader displays a notification asking you to confirm the trade when your expert advisor or script is about to perform a trade Alert signals that market conditions have hit the alert you specified with your expert advisor Requote indicates that the price of the instrument you placed the order for changed in the middle of the trade operation Trailing Stop signals that one of your trailing stop orders has been triggered 123 gor Accessing the History Center MetaTrader stores historical data for all symbols and time frames in its server If you need to research the price moves of an instrument over time or want to test how an expert advisor strategy would perform on a particular event you can MetaTrader 4 and MetaEditor User Manual access this historical data by clicking the Tools menu in the menu bar and selecting History Center History Center AUDCAD M30 Symbols Database 1169 records E E ForexRegula g AUDCAD 1 Minute M1 5 Minutes M5 15 Minutes M15 1 Hour H1 4 Ho
88. ate To continue click Mest The wizard helps you specify which type of scriot you want and name the file 101 GFT MetaTrader 4 and MetaEditor User Manual Expert Advisor Wizard General properties of the Script program Please specify general properties of the Script program Author Link http ww joetrader cor Parameters Initial value When you click Finish the wizard closes and opens a text file so you can view and edit the code You can continue to add code for the script You can view the file in the Scripts menu of the Navigator window in MetaTrader Creating a Script 1 In MetaTrader right click on the Scripts menu in the Navigator window and select Create 2 When the Expert Advisor Wizard opens in MetaEditor make sure Script is selected and click Next 5 Enter the script name the developer s name and the developer s website 4 Click Finish 5 Make the changes you want to the code file as desired 6 Click i Compile hS Once compiled you can view the script in the Scripts list in the Navigator window of MetaTrader You can switch back to MetaTrader by clicking Teminal in the MetaEditor toolbar Executing a Script on the Chart Once you ve imported created or modified the script as you want you can display it in the chart window by clicking and dragging it from the Navigator window Depending on what the script does MetaTrader will either see a confirmation or view a setting
89. brary When you first open MetaTrader you can access a few expert advisors custom indicators and other autotrading tools from the Navigator window You can also download additional autotrading tools using the Online Library in MetaEditor this is a MetaTrader developer application that helps you import create and modify expert advisors EJ 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 A Fie View Insert Charts Tools window Help el lt gt Gey iE wI Gh New Order gt Expert Advisors ame EUIRUSD H4 1 38233 1 38305 1 37890 1 38136 ask 0 98 Symbol Bid USDCHF 0 98 GBPUSD Lonci LSe SP EURUSD 1 1 30 deaths USDIY 81 617 81 623 USDCAD 1 03 1 03 VY NZDUSD 0 74 O74 AUDUSD 0 97 0 97 USDZ4R 7 02 7 02 USDSGD 1 30 1 30 USDTRY Lam Din EURTRY 1 9876 1 9889 A dl INN Symbols a tor se it i a T EA GFT MT4 Powered by BT amp Accounts F Indicators eag Expert Advisors fg Custom Indicator H Scripts da Create Set hotkey Online library Insert Common 5 Oct 2010 6Oct1200 7 Oct2000 110c0000 12 From GFT MT4 Powered by BT GFT MT4 Powered by BT GFT MT4 Powered by BT GFT MT4 Powered by BT Time 2010 10 25 13 15 E 2007 09 25 16 00 E3 2007 09 25 15 58 C E 2007 09 25 15 56 Trade Account History Alerts Mailbox Journal Switch to online library Default Oct 08 00 13 Oct 16 00 15 Oct
90. cancel Contract size 100000 Profit calculation mode Forex Swap type AUD Swap long 7 9 Swap short 13 Margin calculation mode Forex Margin initial 100000 00 Margin maintenance 100000 00 k 86 j GFT la MetaTrader 4 and MetaEditor User Manual You can determine how well an expert advisor would do with a particular instrument by selecting it from the Symbol drop down menu You can view information about the spread contract size and other details about the selected instrument by clicking Symbol Properties You can also select a time frame from one minute M1 to one hour H1 to Daily using the Period drop down menu If you want to view this instrument with this time frame on the chart click Open Chart MetaTrader stores historical data for all symbols and time frames so you can research the price moves of an instrument over time or test how an expert advisor strategy would perform during a particular market event With historical data you can use the Model drop down menu to select three modelling types for testing e Every Tick tests a strategy based on the smallest available timeframe e Control Points uses the last 12 bars of the current timeframe and then calculates the next possible price moves using fractal interpolation e Open Prices Only looks at the current open high low and close of data on the chart This is the fastest method to analyse price moves on the chart When you want the expert advisor to go through op
91. cators to forecast where the market may be going You can right click on the indicator you want and click Attach to Chart from the drop down menu to display it in a chart window Expert Advisors contains a list of all available expert advisor strategies these are programs that automatically analyse market conditions and place trades based on criteria you set Custom Indicators displays a list of trader modified technical indicators Scripts contains a list of available scripts these are programs that perform a single trading action once You can download expert advisors custom indicators scripts and libraries from other sources or create them in MetaEditor an application installed with MetaTrader that develops autotrading tools See Section 4 Opening MetaEditor for the First Time to learn more about MetaEditor and Section 5 Using MetaTrader s Autotrading Tools for more information on these tools Navigator d delete pending UE Heiken Asi p Bands AutoMagiTal Moving average F Parabolic SAR F Volumes Common Favorites If you right click on a specific indicator expert advisor script or custom indicator you can select Add to Favorites from the drop down menu You can then view these on the Favorites tab on the Navigator window The Chart Window The chart window plots the real time prices of an instrument on a graph and provides a snapshot of market movements over a particular period of time ma GBPUSD H4
92. ccount History Alerts Mailbox Experts Journal For Help press F1 Default 2010 10 13 20 00 O 1 39617 H 1 39665 L 1 39533 C 1 39659 V 6232 HTI 97210 kb Modifying a Custom Indicator Attached to a Chart 1 In the chart right click and select Indicators List 2 5 4 D 6 Make sure the custom indicator you want is selected and click Edit Make your changes as desired Click OK If you need to edit another custom indicator select it click Edit and repeat the steps above When done click Close You can also remove custom indicators from the chart using the Indicators List In the Indicators window select the indicator you want to remove and click Delete Creating a Script You can create a new script by right clicking on the Scripts menu in the Navigator window and selecting Create 100 GET MetaTrader 4 and MetaEditor User Manual iia igator GFT MT4 Powered by BT ry Aa Accounts E F Indicators Expert Advisors rs A Custom Indicators a gi Set hotkey Online library 7 act 2010 Common Favorites EURUSD F This opens MetaEditor an application installed with MetaTrader that develops autotrading tools and displays the Expert Advisor wizard Expert Advisor Wizard Welcome to Expert Advisor Wizard MG 4 Please select what you would like to create O Expert Advisor O Custom Indicator Library O Include MGH O Generate from templ
93. chart you can change its appearance and properties as well as add a label to it by right clicking in the chart window and selecting Objects List This displays the Objects On window Object Name Description Show l Trendline July 2nd 15th EUR USD ascending trendline T Arrow Up Arrow 1 I Trendline July 21st 4ug 2nd EUR USD ascending trendline Delete T Arrow Up Arrow 2 T Rectangle July 12th 15th Market confusion I Arrow Arrow 45255 r I Arrow Arrow 45271 T Arrow Arrow 45278 Edit 29 Jun 2010 30 Jun 11 00 1Jul19 00 5Jul05S 00 6Jul13 00 Ful 21 00 9 Jul 05 00 12 Jul 15 00 13 Jul23 00 15 Jul 07 00 16 Jul 15 00 9 20 Jul01 00 21 Jul09 00 22 Jul 17 00 26 Jul 03 00 27 Jul 11 00 28 Jul 19 00 30 Jul 03 00 2 Aug 13 00 The Objects On window shows a list of all objects that are currently displayed in the chart window It also contains four command buttons 54 OFT MetaTrader 4 and MetaEditor User Manual Objects that are checked are currently selected and can be edited Show changes the view of the chart window so the currently selected object is prominently displayed Delete removes the object from the Objects On window and the chart window Close closes the Objects On window Edit opens an edit window for the currently selected object This window contains three tabs Trendline Common Parameters Visualization Description EUR USD ascending trendline Draw object as background The Common tab
94. cle Lines Bill williams Moving Average A Text An Custom j Parabolic 54A iT Text Label ary ars Standard Deviation L53793 129 700 23 240 FE O 15i 129 756 63 200 0 95751 e Click ah in the Charts toolbar This displays a drop down menu with a list of the most recently used indicators and then the indicator folders You can select the indicator you want or click on the folder and select the indicator When you add an indicator to the chart a settings window for that indicator appears You can specify settings for the indicator over several tabs The ones that you see depend on the indicator you selected PK Average Directional Movement Index EA Parameters Colors Levels Visualization Fixed minimum _ m Fised maximum The Parameters tab is where you can enter specific data on how the indicator appears in the chart The selections available here depend on what the indicator is On the Colors tab you can modify the line colours of the indicator by double clicking on the colour and selecting a new one from the drop down menu Like the Parameters tab the selections that you see depend on what the indicator is You can also specify line width on a scale of one to five by double clicking on the Width row and selecting a new one from the drop down menu that appears If you select a line width of one you can also specify whether the line appears as solid or dotted by double clicking on the Style row and selecting a
95. contains settings for entering the name for the object adding a description and changing the colour line style or other appearance settings of the selected object Drawing objects like Rectangle and Ellipse appear filled If you want to see just the outline of the shape uncheck Draw Object as Background Trendline Common Parameters yisualization Value 1 37981 Time 2010 07 21 07 00 Value 1 291149 Ray The Parameters tab is where you can enter specific data on where the object appears in the chart The selections available here depend on what the selected object is The Time and Value fields enable you to specify where an object is placed on the chart You can use the Angle in Degrees field to set the angle of the text or the drawing object The Arrow Code field adds an object code when you add an arrow Icon to the chart window When selected the Ray checkbox draws all lines on the charts as lines that start at one point and continue in one direction toward infinity This is selected when you first open MetaTrader 55 GFT MetaTrader 4 and MetaEditor User Manual Trendline aaa Common Parameters Visualization Show on all the timeframes M M30 M5 H1 C weekly M15 Monthly Cancel The Visualization tab contains settings so you can specify in which time frames the object will appear on the chart When you first draw the object Show on All Time frames is automatically selected
96. count History tab of the Terminal window Here you can also view your orofit and loss credits deposits and withdrawal information x Order Time Type Size Symbol Price SOL TIP Time Price Swap Profit A r 91131203 2010 07 13 12 37 balance Deposit 50 000 00 F 91768415 2010 07 15 15 42 buy 2 00 usdchf 1 04105 1 03999 O LOHI 2010 07 29 18 34 1 04111 31 92 bees j F 92191210 2010 07 19 14 09 sell 2 00 nzdusd 0 70616 0 00000 0 00000 2010 07 29 18 50 0 72565 139 47 3 898 00 F 92191216 2010 07 19 14 09 sell 2 00 nzdusd 0 70631 0 00000 0 00000 2010 07 29 18 55 0 72535 139 47 3 808 00 F 92354344 2010 07 29 16 49 buy 2 00 usdcad 1 03815 0 00000 0 00000 2010 08 27 19 54 1 05205 168 60 2 642 46 F 92354383 2010 07 29 16 59 buy 2 00 eurusd 1 30812 1 30885 0 00000 2010 07 29 19 40 1 30885 0 00 146 00 92354397 OF buy limit 2 00 j 53 0 000 0 000 2010 07 29 19 32 63 485 Trade Account History News Alerts Mailbox Experts Journal When you right click in a position row you can select menu options to filter and sort the orders that appear in the tab by the last three months last month or a custom period If you sort the orders you can also click All History to view all orders again When you select Custom Period you can use the From and To drop down menus to select specific dates On both tabs you can also change the appearance of the table by selecting Auto Arrange which resizes the columns automatically if the Terminal window
97. cy pair is hidden it will not appear in the drop down menu when you click the File menu and select New Chart Once you set up the Symbols tab so that it s only showing the instruments that you want you can save the group of instruments as a set by right clicking in the Market Watch window selecting Sets and clicking Save As If you change which instruments are displayed you can always return to that set of instruments by right clicking in the Market Watch window selecting Sets and clicking on the name of the set EA GFT MT4 Powered by BT USDJPY H4 File View Insert Charts Tools Window Help T a ekennA B Eraso u nla ale tlg O B k g A W r E M1 MS MiS M30 Hi H4 Di Wi MN arket Watch 09 48 46 Bai USDIPY H4 123 390 123 490 123 250 123 330 Symbol Bid Ask High Low Time gt USDCHF 1 00118 1 00137 1 00321 0 99974 09 48 EURUSD 1 30549 1 30563 1 30684 1 29756 09 48 USDPY 85 565 85 581 85733 85 218 09 48 USDCAD 1 02562 1 02606 1 02840 1 02420 09 48 123 650 NZDUSD 0 72559 0 72591 0 72853 0 72283 09 46 AUDUSD 0 93695 0 95716 0 93921 0 93302 09 48 USDZ4R 7 08572 7 08888 7 11692 7 07400 09 46 123 330 USDSGD 1 33658 1 33699 1 33869 1 33601 09 48 USDTRY 1 49014 1 49097 1 49369 1 48289 09 48 F EURTRY 1 9464 1 9476 1 9480 1 9329 09 48 AUDNZD 1 29129 1 29148 1 29376 1 28795 09 46 z 123 810 123 490 123 170 123 010 Symbols Tick Chart EA GFT MT4 Powered by BT amp Accounts
98. der Doji Hunter This indicator is a spin off of the Goji Reader 2 Found in the code base I have made several chan 2010 08 28 HML Family Get the High Median and Low values of each timeframe use them all or one at atime pick a speci 2010 08 27 LEHayes 3 FX Multimeter IY idemo All in one trading tool Multi TF Indicator amp Expert advisor 2010 08 25 eagleye 77 AutoFib Tradezones Auto updating Fib retracer showing zones For range trading breakouts 2010 08 25 eagleye 77 z Errors Find in Files Online Library Help The Online Library tab displays a list of trader created autotrading files You can use the toolbar along the top of this window to switch your search between expert advisors custom indicators scripts and other files You can use the scroll k E Refresh bar to move through the list You can also clic to see if any new files have been added When you find the item you want select it and click Download You can also right click in the item row and select Download from the drop down menu This opens the source code file in the workspace a Back amp Home Sit Previous E Sync Cl Next 3 MOL4 com M L4 Reference Basics MetaQuotes Language 4 MQL4 is a new built in language for programming of trading strategies This s Standard constants language allows to create your own Expert Advisors that make trading management automated and are s Predefined variables perfectly suitable for implementing o
99. derfor more information If you are scrolling through the chart and analysing chart history make sure that AutoScroll and Chart Shift are deactivated Selecting a Chart Type and Time Frame When you open the chart for the first time in MetaTrader Bar Chart is selected in the Chart toolbar and One Hour H1 selected in the Period u drop down menu You can change both of these at any time f AUDCAD H1 offline 32 GFT a MetaTrader 4 and MetaEditor User Manual You can change the chart type by e Clicking one of the buttons in the Chart toolbar to switch between bar candlestick or line chart e Clicking Charts in the menu bar and selecting the Bar Chart Candlesticks or Line Chart menu options When you first open MetaTrader the chart types would look like this Bar Candlestick Line There are several ways to change the time frame in the chart e Click Period and select a time frame menu option from the drop down menu e Display the Periodicity menu bar by clicking View selecting Toolbars and clicking Periodicity You can then click the time frame icons Mmi ME Mis M230 Hl H4 Di wi MN e Click Charts in the menu bar and select Periodicity You can then select the time frame you want e Right click in the chart window select Periodicity and then select the time frame i GFT a MetaTrader 4 and MetaEditor User Manual io 1 Minute M1 MS 5 Minutes M5 Mis 15 Minutes M15 30 Minutes M30
100. dll files associated with them When this is checked you can also choose to select the Confirm DLL Function Calls checkbox below it If your expert advisor custom indicator or script is about to access a set of dll files and this checkbox is selected a notification appears asking you to confirm the request The Allow External Experts Imports checkbox enables your expert advisors custom indicators or scripts to automatically import functions from other MQL4 files This is a security option that protects you when you are working with expert advisors custom indicators or scripts from an unknown source RO Expert Advisors i the standard toolbar to activate TA Expert Advisors them When active the button changes to look like this D custom indicators or scripts If you are only using expert advisors you can click This button does not activate FJ 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 BAA File View Insert Charts Window Help o x G Eh Goie j El New Order F3 dvisors q History Center Symbol Bid Ask USOCHF 0 98 0 98 d Global Variables amp GPPUSD 1 58 1 58 cb MetaQuotes Language Editar F4 USDIPY 51 408 61 426 l NZDUSD 0 74 0 74 i i i i i i i i i i i i i i i i i i i Y AUDUSO 0 98 0 98 4 USDZ4R 6 93 6 96 USDSGD 1 29 1 29 USDTRY 1 42 1 42 i r d EURTRY 1 9783 1 98509 MES AUDNZD
101. down menu If desired enter text in the Comment text box Click either the Sell by Market or Buy by Market button Click Print to print the order information if desired O ND MM RF WN Click OK to close the window While you can open the Order window a number of different ways our examples access the Order window by double clicking in the Market Watch window GFT MetaTrader 4 and MetaEditor User Manual Placing Pending Orders Manually from the Order Window You can also place pending orders these enter your order when the market reaches a specific price Symbol AUDUSO Australian Dollar vs US Dollar w 0 89146 Stop Loss 0 00000 Take Profit 0 00000 Comment 0 89137 Type Pending Order Pending Order 0 99119 SEM Guy Limit v AUIDUSD 4 00 Expiry alsifzo1io1i4 09 w 0 89092 Open price you set must differ From market price by at least 30 pips 0 49053 0 29074 The Order window displays some of the same fields as it does when you enter a market order When you select Pending Order from the Type menu a new section Pending Order appears You can select what kind of pending order you want the price and the expiration date of the trade If you are using a pending order to enter the market you can enter a specific price in the At Price text box You can specify how long you want your pending order to be available by using the Expiry checkbox After you click the checkbox you can select a specific expira
102. e Expert Advisor wizard helps you specify which type of expert advisor you want and name the file 83 OFT MetaTrader 4 and MetaEditor User Manual Expert Advisor Wizard General properties of the Expert Advisor Please specify general properties of the Expert Advisor Name Author Copyright 2010 MetaQuotes Software Corp Link http www metaquotes net Parameters Name Type Initial value P5 ExtParam int Once you click Next the wizard opens the General Properties window Here you can add parameters to the file in the wizard by clicking Add Once added you can change what kind of parameter the expert advisor uses by right clicking on it and selecting Change Type This displays a drop down menu of several strings You can also change the initial value for the parameter by right clicking on it and selecting Edit Value If you want to change the name of the parameter right click on it and select Rename You can also remove a parameter by selecting it and clicking Delete When you click Finish the wizard closes and opens a text file with the code for the parameters in it You can continue to add code for the expert advisor The source file MQ4 is saved in the Experts folder The expert advisor appears as a selection in the Navigator window of MetaEditor under the Templates folder on your computer Creating an Expert Advisor 1 In MetaTrader right click on the Expert Advisors menu in th
103. e Magnet Sensitivity drop down menu automatically places objects that you ve drawn a certain number of pixels from an open close high or low price point on the chart For example if you select 10 the object on the chart will automatically be anchored within 10 pixels of the nearest open close high or low price point on the chart You can disable this option by selecting zero from the drop down menu Specifying Order Settings The Trade tab in the Options window displays the settings for opening orders in MetaTrader Server Charts Objects Trade Expert Advisors Email Publisher Events Symbol by default C Automatic O Last used obez Size by default Last used Dean w g Deviation by default gt Last used The Symbol by Default section specifies which instrument to use when you open the New Order window to place a market order When Automatic is selected the first instrument in the instrument list is selected in the Symbol drop down menu of the New Order window When Last Used is selected the last instrument you traded is selected When Default is selected you can use the drop down menu beside it to select a specific instrument 119 GFT MetaTrader 4 and MetaEditor User Manual The Size by Default section sets the lot size of the trade you want to fill The number of lots you entered in your last trade is used indefinitely when Last Used is selected If you want to trade using a constant number of lots
104. e Navigator window and select Create 2 When the Expert Advisor Wizard opens in MetaEditor make sure Expert Advisor is selected and click Next 5 Enter the expert advisor name the developer s name and the developer s website 4 If desired click Add to add a parameter to the expert advisor If you need to customize it right click on the parameter and select Change Type Edit Value or Rename as desired 5 Click Finish 6 Make the changes you want to the code file as desired 7 Click 7 comeile You can switch back to MetaTrader without closing MetaEditor by clicking Teal in the toolbar Testing an Expert Advisor Once you create an expert advisor you can test your own expert advisors before you attach them to a chart You can also specify settings so MetaTrader can automatically optimize the expert advisor The Strategy Tester shows you how an expert advisor would work on a particular instrument under one or more market conditions You can access the Strategy Tester by clicking View and selecting Strategy Tester 84 j GFT MetaTrader 4 and MetaEditor User Manual Uze date iron w samm w Modify expert Visual mode amooo w Star Settings Journal You can select the expert advisor you want to test using the Expert Advisor drop down menu which contains a list of all available expert advisors If you want to see or modify the settings of the expert advisor before you run it you can click the Expert
105. e heterotic Cotbed haia hited edd a a a a Mate tbat lees Mee tories pallette edad tebe ental betee baie a dealt a aa aAa aa eaa Ca mee mM a e M M te Ht eh te te ee te eH e ne tn te a en tt ea te ee ee tee en te ee e ne ee eee ee ab SUS ee ee oe I ee ee Se eee Seer oe CETE aO ae ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee H HH ee ee ee eee HH oe Ce ee a eee eee a eee ee eee eee eee aa l l ale oa dak eee eee eee ee ee ees ee se ada a ee am eT aA Ti Std a a ol ede ik k n ke E P EA S ee A E T S e eet T A T ETT TT Sie TTT eee S See eee ES Lunu Yo MERTEN A A a a a a a a a A a aa a aaa a a aa a a ieee a Wied or al ooh ii ae eae aA TETIT ee ee ee ee ee ee eee ee ee eee ee ee eee eee eee ee ee ee eee eee eee eee eee eee oe 64ug 2010 94ug 15 00 10 Aug 23 00 12 Aug 07 00 13 Aug 15 00 17 Aug 01 00 18 Aug 09 00 19 Aug 17 00 23 Aug 03 00 244ug 11 00 25 Aug 19 00 27 Aug 03 00 30 Aug 13 00 There are several ways to open the chart window e Right click an instrument in the Market Watch window and select Chart Window e Click an instrument in the Market Watch window and drag it into the MetaTrader main window area e Click New Chart in the File menu and select the instrument you want e Click New Window in the Window menu and select the instrument you want e Click the Chart Window button in certain windows e Click 7 in the Chart toolbar You can open up to 99 charts at one time
106. eaks or troughs beside it to compose the prongs 52 Cycle Lines are a row of vertical lines placed at equal intervals Usually one interval corresponds with one cycle When Cycle Lines is selected click a point in the chart window and drag to adjust the interval You can add a label to a particular part of the chart by clicking Text Label As you scroll the comment remains displayed over the chart When selected you can click in the chart window where the label should be The Label window appears with the Common tab displayed Here you can enter a name for the label add the text you want and change the colour size or font You can also specify where the label should anchor on the Parameters tab or select if the text label should appear on all chart time frames on the Visualization tab 55 MetaTrader 4 and MetaEditor User Manual i GFT MetaTrader 4 and MetaEditor User Manual You can add a comment to the chart by clicking Text When selected you can click in the chart window where the comment text should be The Text window appears with the Common tab displayed Here you can enter a name for the comment add the text you want and change the colour size or font You can also specify the time and the angle of the comment on the Parameters tab or select if the text label should appear on all chart time frames on the Visualization tab Configuring Drawings in the Chart After you add a drawing to the
107. ection 5 Using MetaTrader s Autotrading Toolsfor more information The source code is displayed in a basic text file Once opened you can copy and paste lines of code into the file or enter the code manually if you are familiar with MQL4 You can open more than one autotrading tool file at a time and switch between them by clicking the instrument tab at the top of the window The Options Window You can use the Options window to specify font and style settings in the source code of the autotrading tool The Options window organizes these over four tabs 15 GET MetaTrader 4 and MetaEditor User Manual Options General Tab size chars Inert spaces Auto indent Auto parameter into Auto list names List names after characters ox Ca Heb On the General tab you can specify how text is formatted in the tab when more than one autotrading tool file appears in the Code window Options Foreground _ White Test Selection Selection Margin Keywords Comments m 49 106 197 Numbers Operators Strings Macros Functions Indicators Pre detined Yarables Background Metanuotes On the Colors tab you can enter settings to specify text and highlight colour in the autotrading tool file In the Elements section select the code element you want and use the Foreground and Background drop down menus to select colours from a chart If you want to change the colours back to the way they were when
108. ecution the price will be quoted by dealer 1 Right click in a position row in the Trade tab of the Terminal window and select Close Order to open the Order window 2 When the Order window appears click Close by Market 5 Click Print to print the order information if desired 4 Click OK to close the window You can also double click on the position row you want to open the Order window You can also reverse your position by clicking the Sell by Market or Buy by Market buttons 23 GFT MetaTrader 4 and MetaEditor User Manual Closing Offsetting Positions If you have two offset positions in the same currency pair in the same size you can use the Multiple Close By menu option to close out opposing positions for the currency pair selected For example let s say you have two long EUR USD positions and one short EUR USD position in MetaTrader 4 a Order Time Type ral Symbol Price SiL TIF Price Commission Swap Profit 2011 03 02 21 50 bury Pn 0 0000 30663 0 00 0 00 TC 4539737 2011 03 0221 51 buy 1 00 eurusdgft 1 38699 0 00000 000000 1 39663 000 000 11 54 a 4509739 2011 03 02 21 51 sell 1 00 euinscdgtt 1 36675 0 00000 0 00000 1 338700 0 00 0 00 18 02 fa Balance 499 917 74 Equity 499 876 64 Margin 1 000 00 Free margin 498 876 64 Margin level 49987 66 41 10 You can use Multiple Close By to close the offset positions Order 4389736 buy 1 00 EURUSDeit at 1 38699 si 0 00000 tp 0 00000 Symbo
109. ert Advisors MetaTrader 4 and MetaEditor User Manual z id fem EURUSD H4 1 38233 1 38305 1 37890 1 38160 Symbol Bid Ask USDCHF 0 98 0 98 GBPUSD Wha Gres fea best a Ere EURUSD 1 38 1 38 USDIPY NZDUSD 0 74 0 74 i 8 AUDUSD 0 97 0 97 USDZAR 7 03 7 03 USDSGD 1 30 1 30 Main chart TA USDIRY 1 43 1 43 F Bolinger Bands a EURTRY 1 9880 1 9892 P Indicator window 1 aE v F Standard Deviation Symbols Tick Chart Indicator window 2 F DeMarker GF Accelerator Oscillati F Accumulation Distrit F Alligator F Average Directional F Average True Rang StdDeyi2610 00 F Awesome Oscillator F Bears Power F Bollinger Bands F Bulls Power DeM 14 0 1234 F Taos Tocs a a a oc a a a a Ce a a a 0 7 F DeMarker F Fe teo O lalallala lily ella in a oleate a a a a a a a a a a a a a a a a a ts 0 3 F Force Index GF Fractals Bae Oct 2010 Oct OS 00 11 Oct 12 00 12 Oct 20 00 14 Oct 04 00 15 Oct 12 00 18 Oct 16 00 20 Oct 00 00 21 Oct 08 00 22 Oct 16 00 Common Favorites EURUSD H4 USDCHF H4 GBPUSD H4 USDIPY H4 25 Oct 20 00 27 Oct 04 00 x Time From Headline amp 4 2010 10 25 13 15 GFT MT4 Powered by BT Registration 2007 09 25 16 00 GFT MT4 Powered by BT What Is Automated Trading amp 4 2007 09 25 15 58 GFT MT4 Powered by BT Mobile Trading It s Easy T 2007 09 25 15 56 GFT MT4 Powered by BT Welcome Trade A
110. esh Experts E Indicators pia Scripts Libraries N Articles fe Download MQL4 com TA Name Description Date T Author Symbols mgh Retrieve a list of all Symbols Instruments known to the Server with MarketInfo output to a CS file 2010 09 14 sxTed TCP socket placed utility Functions From ryaz s server socket into socket mgh makes it really easy to use comes with simil 2010 07 05 Starry Send a notification to your ICQ MSN A In conjunction with Miranda IM you can use this library to control your Mirand IM client 2010 03 25 seizu ArrayVirtualOrders Library For virtual trading 2009 12 03 Amba Equity Recorder Record the performance of individual strategies real time in offline charts 2009 11 22 bit WinSock A WinSock library and a client server example 2009 10 28 ryaz g Errors Findin Files Online Library Help For Help press lt F1 gt Ln 1 Col 1 To download a library make sure the Online Library tab is open in the Toolbox window and that Libraries is selected Ai You can use the scroll bar to move through the list You can also click Peftesn added to see if any new library files have been When you find the library file you want select it and click S Download You can also right click in the library row and select Download from the drop down menu This opens the library source code file in the workspace gt MetaEditor Edit View Tools Help E
111. ext box is where you ll enter the account number that you want published The Refresh Every drop down menu allows you to specify how often MetaTrader sends a report to the server You can select time frames from five minutes to 1440 minutes The FTP Server text box is where you ll enter the FTP server address where the report will be sent The FTP Path text box is where you ll enter the name of the FTP server directory where the report will be placed You ll need to include the path including the root directory in this field The FTP Login text box and FTP Password text box are where you enter the login and password for the FTP server When Enable is selected the Passive Mode checkbox becomes active In active mode the server sets up a connection with MetaTrader to transfer data In passive mode MetaTrader establishes a connection with the server The Test button posts a report to the server using the settings specified If the test is successful click OK If not check the settings and test again MetaTrader will only publish reports for active accounts If the account number entered does not match with the one on file MetaTrader will not publish the report Customizing Sounds for MetaTrader The Events tab displays a list of MetaTrader actions that play a sound file when active 122 GFT MetaTrader 4 and MetaEditor User Manual Server Charts Objects Trade Expert Advisors Email Publisher Events Event Action
112. f one s own trade strategies Besides one can use MQL4 for creation of Program Run one s own Custom Indicators Scripts and Libraries You can start learning the language using Sergey s Account information Kovalyov s book named Fregramming in Algorithmic Language MOLI published and supported by MetaQuates a Array functions Software Corp You can download the Book in chm format at z hH r i E F Fe J Errors Find in Files Online Library 70 GFT The Help tab displays online help files for creating or editing the MetaTrader autotrading tools using the MetaQuotes Language 4 MQL4 You can use the toolbar along the top of this window to navigate through the files to find the code you want You can also use the Dictionary tab in the Navigator window to select specific topics to appear on the Help tab If you right click an item in any of these tabs you can view a drop down menu The options that appear in the menu depend on the tab you selected Some of the menu options that you may see are Description File Compiling MAC Sample mg MACL variable not defined Go Ta Line Enter CADocuments and SettingsikpriorMy Documents MACO Sample mg4 70 23 Copy Ctrl C 1 error s 0 warnings Clear Auto Arrange Grid Errors Findin Files Online Library Help For Help press lt Fl gt Ln 9 Col 1 File Line Text Searching For OrderClose C Program Files Intert Ka a a A erna
113. g notes to emphasize important information about MetaTrader Describes information on the action of a tool or feature in MetaTrader When you see this symbol it provides a larger context for information and procedures Provides hints tricks and shortcuts that may help you as you place and monitor trades in MetaTrader a Alerts you of critical information that you need to know when you perform a particular procedure MetaTrader 4 and MetaEditor User Manual Section 1 Opening MetaTrader for the First Time Before you start trading you ll want to launch the MetaTrader platform and become familiar with its workspace In this section you ll receive an overview of the tools and features that you ll use while trading in MetaTrader Viewing the MetaTrader Workspace The MetaTrader workspace contains all the features and charts you need to trade FJ GFT MT4 Powered by BT Demo Account USDJPY H4 SEF File View Insert Charts Tools Window Help Coy Fhe llel e rie E i Gh New Order S Expert Advisors Ir 1h KR A 9p Ik Uh A k I Y A MH r i mt ms mis M30 Hi H4 Di Wi MN a a EURUSD H4 Symbol Bid Ask 4 USDCHF 0 96795 0 96825 EURUSD H4 1 33274 1 33375 1 32236 1 32251 GBPUSD H4 1 56197 1 56221 1 55499 1 55534 GBPUSD 1 55534 1 55562 EURUSD 1 32251 Lagta USDJPY 84 282 84 303 USDCAD 1 00423 1 00447 NZDUSD 0 73864 0 73914 AUDUSD 0 98533 0 98559 USDZAR 6 863560 6 55551 USDSGD 1 31432 1 314
114. g tools so you can plot support and resistance levels identify simple and complex patterns and create other notations on the chart FJ 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 Seles File View Insert Charts Tools Window Help _ silx Li Eh TL New Order T e Expert Advisors EURUSD H4 1 384 Vertical Line Channels Horizontal Line Gann o Trendline Fibonacci An Trendline by Angle Shapes AOS i Cycle Lines A Text eae re 138563 1 38420 You can select over 30 different tools by clicking on the Insert menu in the menu bar and selecting the tool you want from the drop down menu or its related menu When you click Lines you can select from one of four different types of lines to draw on the chart Vertical Line places a vertical line in the chart window When selected click where you want your line to be to place it Horizontal Line places a horizontal line in the chart window When selected click where you want your line to be to place it Trendline allows you to draw a diagonal line through a series of high or low price points in the chart window When selected click where you want your line to begin and drag your cursor to place it You can learn more about these three types of lines in the Displaying the Line Studies Toolbar in this section of the guide 43 i GFT l MetaTrader 4 and MetaEditor User Manual w GBPUSD 1 1 56035 1 55870 1 55700 1 55030 1 54265 1 54595 1 54526 1
115. ght to show the latest price moves 3 Fae GFT eE O O O O OOOO Oi G Ie Chart Shift arranges the chart so the latest price moves appear at a certain point in the chart When active you can click the triangular marker at the top of the chart window and set it anywhere between the right side of the chart and the middle of the chart lee Indicators displays a drop down menu with indicators You can select between the most commonly used indicators or click the folder where the indicators are organized by type When you select one MetaTrader opens a window so you can specify settings for the indicator and then view it in or below the chart For more information on indicators see Managing Indicators in the Chart Window in this section Period displays the selected time frame for the chart You can also use this to change the time frame of the chart from one minute M1 to one hour H1 to daily e Templates displays a drop down menu for loading and saving a chart template With a chart template you can save the chart type time frame indicators expert advisors and other settings and apply it to any chart For more information on templates see Managing Templates in the Chart Window in this section You can set the chart to zoom in to a precise point by checking the Scale Fix option in the Charts Setup window See Customizing Viewing Settings on the Chart Window in Section 6 Customizing the Appearance and Settings in MetaTra
116. he Online Library 1 Right click on the Expert Advisor Custom Indicator or Script menu in the Navigator window and select Online Library 2 Inthe Online Library tab of the Toolbox make sure the type of autotrading tool you want is selected 5 Scroll through the list of available autotrading tools 4 When you find one select it and click Download 5 If desired make any changes to the code 6 Click 7 Compile Because EAs are created by separate and independent third parties GFT is not responsible for their completeness reliability or accuracy In other words you use them at your own risk If you have questions on how an EA works you will need to contact the EA provider But if you need help managing EAs in MetaTrader 4 contact GFT If you edited an expert advisor and if after you compiled it the icon is gray in the Navigator window there is an error and you cannot use the expert advisor You ll need to review and edit your code and then compile the code again Creating an Expert Advisor If you know MQL 4 the MetaTrader programming language you can create a new expert advisor by right clicking on the Expert Advisors menu in the Navigator window and selecting Create 82 gor Navigator GFT MT4 Powered by BT a Accounts H F Indicators H Expert Advisors a w Custom Indicators gP Create Insert E 4 Scripts Set hotkey Online library Common Favorites E Og 2010 6 Od i200 7 het This
117. he chart offline when checked the chart window stops receiving and drawing price data The Offline Chart checkbox will be checked if you click the File menu and select Open Offline The Chart on Foreground checkbox places the chart in the foreground When this is checked all drawing objects will look as if they are under the price chart The Chart on Foreground checkbox will be checked if you click the Charts menu and select Foreground Chart The Chart Shift checkbox arranges the chart so the latest price moves appear at a certain point in the chart When active you can click the marker at the top of the chart window and set it anywhere between the right side of the chart and the middle of the chart The Chart Shift checkbox will be checked if you click the Charts menu and select Chart Shift The AutoScroll checkbox updates the chart so that it always scrolls to the right to show the latest price moves The AutoScroll checkbox will be checked if you click the Charts menu and select AutoScroll The Scale Fix One to One checkbox sets the chart scale as one to one the size of one point of the vertical axis in pixels is equal to the distance between the bars axes in pixels When placing lines and other drawing objects or indicators on the chart many traders prefer to set Scale Fix One to One because it creates the most accurate objects or indicators Scale fix One to One 1 56970 Fixed maximum 1 52850 Fixed minimum The Scale Fix checkb
118. hen clicking on the menu option for the toolbar you want idh Eh iy Oey w Eih Mew Order cb CE Expert Advisors The Standard toolbar contains tools for displaying windows in the MetaTrader workspace The Charts toolbar displays tools for managing the appearance of the chart window Linnaa bile Ge A The Line Studies toolbar contains tools for displaying drawing and analytic objects and text in the chart window Mi MS Mis M30 H1 He4 Ci wi MNH The Periodicity toolbar displays tools for managing time frames of the chart window You can customize all of the toolbars so that they contain only the tools that you use For more information see Customizing the Toolbars in Section 6 Customizing the Appearance and Settings in MetaTrader GFT MetaTrader 4 and MetaEditor User Manual The Market Watch Window You can monitor the real time bid and ask prices of the available instruments in the Market Watch window These are displayed on two tabs Market Watch 14 36 25 EJ Symbol Bid Ask GBPUSD 1 53990 1 54028 EURGBP 0 82575 0 82602 S EURUSD 1 27191 1 27211 Market Watch 14 33 45 Symbol Bid Ask GBPUSD 1 53982 1 54018 EURGBP 0 82609 0 82638 EURUSD 1 27234 1 27253 USDIF Gah New Order F9 AUDUS Ea Chart Window USDC w Tick Chart Space EURCH USDCHF 1 01581 1 01613 EURJP Hide Delete USDIPY 84 397 84 425 FURCE Hide All AUDUSD 0 88992 0 89027 FURAL Show All USDCAD 1 06487
119. hen the expert advisor has placed a trade You can also click Disable Alerts Once Hit so MetaTrader only sends a notification once In the Live Trading section you can click Allow Live Trading to enable or disable the expert advisor in live trading You can also click Ask Manual Confirmation to have MetaTrader send you a notification when the expert advisor opens a position The Safety section contains options for specifying how to handle dynamic link library C dll files While you may have already specified how MetaTrader handles these for all expert advisors custom indicators and scripts in the Options window you can specify individual settings for the selected expert advisor here When checked the Allow DLL Imports checkbox allows your expert advisor to automatically access dynamic link library dll files associated with them When this is checked you can also choose to select the Confirm DLL Function Calls checkbox below it If your expert advisor is about to access a set of dll files and this checkbox is selected a notification appears asking you to confirm the request The Allow External Experts Imports checkbox enables your expert advisor to automatically import functions from other MQL4 files This is a security option that protects you when you are working with an expert advisor from an unknown Source 92 MetaTrader 4 and MetaEditor User Manual 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 am er 5 Cy
120. how you want the indicator to look in the chart by clicking Add in the Indexes section You can right click the Type field and select Change Type to specify if the indicator appears as a line section histogram or arrow You can also right click the Color field and select Change Color to specify what colour you want the indicator to be If you make a mistake you can also remove an index by selecting it and clicking Delete When you click Finish the wizard closes and opens a text file with the code for the parameters in it You can continue to add code for the custom indicator The source file MQ4 is saved in the Indicators folder in the Navigator window of Metakditor Creating a Custom Indicator 1 In MetaTrader right click on the Custom Indicators menu in the Navigator window and select Create 2 When the Expert Advisor Wizard opens in MetaEditor make sure Custom Indicator is selected and click Next 5 Enter the custom indicator name the developer s name and the developer s website 4 If desired click Add to add a parameter to the custom indicator If you need to customize it right click on the parameter and select Change Type Edit Value or Rename as desired Click Next On 6 If desired check Indicator in Separate Window Then check Minimum and Maximum and enter in a value 7 If desired click Add in the Indexes section Then right click the Type field and select Change Type to choose the type you want from a drop d
121. i ee Dh GEPUISD Bid lt 83 50000 2 1000 10 sec alert A delete we A GEPLISD Ask gt 1 60000 1000 10 sec alert h Enable On Olf Space Auto Arrange A Grid G Alerts E Trade Account History Mews Mailbox Experts Journal When an alert is set it appears in the Alerts tab You can see how many times the alert has sounded in the Counter column Once you ve created an alert you can right click in the chart window and access other menu options e Modify reopens the alert in Alert Editor so you can edit It e Delete immediately removes the alert from the chart and the Terminal tab e Enable On Off allows you to turn the alert on or off When enabled the alert will display this icon A in its row When disabled it will display this icon 2 28 i GFT la MetaTrader 4 and MetaEditor User Manual Section 3 Using the Chart Tools As you trade you ll discover that the chart window is essential for monitoring your trades performing technical analysis and running expert advisors custom indicators scripts and other autotrading files In this section you ll learn more about the chart window and the features you can use in it Opening Charts In Section 1 you learned that the chart window plots the real time prices of an instrument on a graph and provides a snapshot of market movements over a particular period of time Se et ea fee oe ono et er ee er err SS Gr ee ee a Ser Fa en ee Gaur rr ea aeia aa
122. iable Value EURTRY 1 9905 1 9918 fF ExtPeriodMultiplier 3 amp ALIN Symbols Tick Chart period converter F Indicators QB Expert Advisors BA Custom Indicators F seripts TS close R delete_pending TS modify TS OrderSend g period_converter g rotate_text H send_pending TS trade 7 Oct 2010 Sct 12 00 11 Oct 16 00 13 Sct 00100 14 Oct 08 00 15 Oct 16 00 18 Oct 20 00 20 Oct O4 00 21 Oct 12 00 22 Oct 20 00 26 Oct 00 00 27 Oct 08 00 Common Favorites EURUSD H4 USDCHF H4 GBPUSD H4 USDIPY H4 x Time From Headline Ea 2010 10 25 13 15 GFT MT4 Powered by BT Registration amp 4 2007 09 25 16 00 GFT MT4 Powered by BT What Is Automated Trading amp 4 2007 09 25 15 56 GFT MT4 Powered by BT Welcome Ea 2007 09 25 15 58 GFT MT4 Powered by BT Mobile Trading It s Easy Trade Account History Alerts Mailbox Experts Journal For Help press F1 Default Wii 9437 0 kb If you need to return to the original settings click Reset Executing a Script on the Chart 1 2 Right click on the script you want in the Navigator window and select Executing a Script on the Chart If the confirmation window appears click Yes to confirm the settings If the settings window appears select the options you want on the Common tab If desired click on the Inputs tab You can click Load to navigate to the external set you want and click Open Click OK Only one script can be attached to a chart at a
123. ich appears in red when you first open MetaTrader If you right click in the tab you can view the ask price movements by right clicking in the window and selecting Ask Line This appears on the chart as a blue line The Navigator Window As you trade you ll want to add indicators to chart windows as well as activate MetaTrader s autotrading tools such as expert advisors custom indicators and scripts The Navigator Window is where you can view all of the available tools Navigator GFT MT4 Powered by BT Fa Custom Indicators H z Scripts Eh close gH delete pending EL modify 4 modify pending OrderSend 4 period converter 4 rotate_text 4 send_pending E trade Common Favorites The Navigator window is divided into two tabs On the Common tab you can select menu options from a grouped list To display the available menu options click next to the group name To hide them click next to the group name Accounts displays the list of open accounts If you have more than one account you can use this menu to login to another account If you right click on an account you can access a drop down menu which includes options to login to an account delete an account or open a new practice account GFT la MetaTrader 4 and MetaEditor User Manual Indicators shows a list of up to 100 different technical indicators depending on your account type that you can add to the chart window Many traders use technical indi
124. ify 22 buy 0 10 AUDUSD at 0 90859 sl 0 90872 tp 0 90909 ok Ay 2010 09 03 09 55 32 2010 09 01 19 44 MACD Sample 4UDUSD M1 modify 22 buy 0 10 AUDUSD at 0 90859 sl 0 90871 tp 0 90909 ok z A 2010 09 03 09 55 32 2010 09 01 19 44 MACD Sample 4UDUSD M1 modify 22 buy 0 10 AUDUSD at 0 90859 sl 0 90870 tp 0 90909 ok v oY Settings Results Graph Report Journal The Journal tab displays a list of system messages about the expert advisor s test such as orders filled and positions closed Whenever you test an expert advisor MetaTrader saves the entries that appear on the Journal tab as a log file You can view this by right clicking in the Journal tab and selecting Open from the drop down menu You can also select Copy to copy all journal entries If you want to remove these entries you can select Clear All Journals You can also change the appearance of the journal table by right clicking in the Journal tab and selecting Auto Arrange This resizes the columns automatically if the Strategy Tester window size changes or Grid which displays the lines between the rows and columns x Pass Profit Total trades Profit Factor Expected Payoff Drawdown Drawdown Inputs Settings Optimization Results Optimization Graph Results Graph Report Journal If you clicked Optimization in the Settings tab two additional tabs appear in the Tester window the Optimization Results tab and the Optimization Graph tab The O
125. ilbox Experts Journal The Alerts tab shows a list of alerts You can also use this tab to set alarms to notify you when an instrument has either reached a specific price or crossed an indicator trend line See Viewing and Setting Alerts in Section 2 Opening and Managing Your Trades for more information Frau lor ba FLF IILS Pe ba DOU FL Pe E OA SF LEI M4 Fomei by EI LPT Pil Pororo ley BI GFT Ti Poanse ky BI GET HITA Powered by DI EAT wut Halar forts Howler Car a ET Ae T lat H Ais Trading LatTuull Liat by The Mailbox tab displays electronic messages sent to MetaTrader by GFT x 3 Time 2010 08 31 10 34 41 A 2010 08 31 10 34 41 Ay 2010 08 30 08 53 33 Ay 2010 08 30 08 53 33 J Trade Account History Message MACD Sample EURUSD M1 removed MACD Sample EURUSD M1 uninit reason 1 MACD Sample EURUSD M1 inputs TakeProfit 50 Lots 0 1 TrailingStop 30 M4CDOpenLevel 3 MACDCloseLevel 2 MATrendPeriod 26 MACD Sample EURUSD M1 loaded successfully Experts Journal News Alerts Mailbox The Experts tab shows information about the expert advisors that are active in your account You can also view positions Time 2010 08 31 11 17 17 2010 08 31 11 17 07 Ay 2010 08 31 10 34 41 2010 08 30 18 43 27 2010 08 30 18 26 04 2010 08 30 18 20 45 f_ 2010 08 30 18 13 27 ogi J Trade Account History News the expert advisor opened or closed
126. in the chart window you may want to display the Line Studies toolbar This contains a number of MetaTrader drawing tools k enables you to click on other drawing objects and drag them to new locations in the chart This is active when you first open the chart window A4 i022 0 34070 Sg 14 00 2010 05 13 hug O00 23 Gog 100 25 Aug 0000 26 Aug 0800 2 A turns your cursor into a cross when you move around the chart window When this is selected you can find out the distance between the points and the current price value by clicking on a point in the line and dragging to another point a a MetaTrader 4 and MetaEditor User Manual vertical Line 26598 0 94954 i adds a vertical line on the chart These can be used to mark the beginning of a trend or specify a time when you entered the market When this is selected click in the chart to place the line adds a horizontal line on the chart These can be used to plot a horizontal support or resistance level When this is selected click in the chart to place the line l la PRE TN LA o 0 61 8 A adds a label to a particular part of the chart When selected you can click in the chart window where the label should be This opens the Text window with the Common tab displayed Here you can enter a name for the label add the text you want and change the colour size or font You can also specify where the label should anchor on the Parameters tab or select if the text
127. ing the instrument and the timeframe you want from the list and clicking Download History Center AUDCAD M30 Symbols Database 1169 records Close EN ForexRegula a E AUDCAD 13 1 Minute M1 5 Minutes M5 15 Minutes Sales E aupusp E cappy E CHFIPY E EURAUD E EURCAD E EURCHF 2 cuiocro Time 2010 10 27 17 00 2010 10 27 16 30 2010 10 27 16 00 2010 10 27 15 30 Open 1 00086 1 00040 0 99958 1 00037 ibty 10 27 15 00 J 1 00005 High 1 00167 1 00149 1 00091 1 00113 2010 10 27 11 00 A 2010 10 27 10 30 A 2010 10 27 10 00 2010 10 27 09 30 0 2010 10 27 09 00 oi 1M OF NS oN 0 99958 1 00015 1 00075 0 99956 0 99849 nanenit 0 99981 1 00122 1 00167 1 00086 0 99966 ANANNIN Low 1 00040 1 00018 0 99876 0 99913 Volume Close 0 99866 0 99939 0 99982 0 99940 0 99777 n Ane 7d Close 1 00081 1 00086 1 00041 0 99958 7703 1 00034 0 99946 0 99956 1 00014 1 00074 0 99956 nm AMeAn volume 2598 3626 5595 5395 A If you need to add a time point you can click Add This opens the Bar window where you can enter the time and modify the open high low or close You can also modify a time point by selecting a time point and clicking Edit or remove a time point by selecting a time point and clicking Delete on GFT s trade server 124 v Close Data that a
128. ints in the Level text boxes Click the Copy As button above the Stop Loss or Take Profit text box If you want to add both a stop loss and take profit order to the position repeat steps 3 and 4 for the other order Click Modify Click Print to print the order information if desired O ND MM RF WN Click OK to close the window Modifying Pending Orders If you ve already placed a stop loss and take profit order or you have a pending order you can manually modify these by right clicking an order in the Trade tab of the Terminal window and selecting Modify or Delete Orders 25 gor MetaTrader 4 and MetaEditor User Manual Order 93310697 sell stop 4 00 EURJPY at 106 200 sl 0 000 tp 0 000 Symbol Yolume Stop Loss Take Profit Comment Type Modify Order Modify Order Price 106 200 Stop Loss 106 800 Take Profit 106 900 Expiry v Co Open price you set must differ from market price by at least 30 pips When you modify a pending order the Symbol Volume and other text boxes are greyed out You cannot edit these Modifying Pending Orders 1 2 5 4 D 6 Right click in a position row and select Modify or Delete Orders to open the Order window From the Type drop down menu select Modify Order Change the price in the Stop Loss or Take Profit textboxes if desired Click Modify Click Print to print the order information if
129. ird point the triangle appears on the screen Ellipse draws an ellipse of any size on the chart When this is selected click where you want the edge of the ellipse to be You can change the colour line style and other settings of the shapes you draw on the chart using the Objects List See Configuring Drawings in the Chart in this section for more information 5 GFT la MetaTrader 4 and MetaEditor User Manual When you click on the Insert menu and select Arrows you can add eight different types of icons to the chart Thumbs Up Thumbs Down EEA Up Arrow Down Arrow Ea Stop Sign Check Sign Left Right Price Label You can also place all of these icons using the drop down menu in the Line Studies menu bar This also contains an option for removing all icons from chart window See Displaying the Line Studies Toolbar in this section for more information Using the Advanced Drawing Tools in the Charts The Insert menu also includes four other menu options for adding technical analysis drawing or label objects to the chart Andrew s Pitchfork is a set of three trendlines used to identify lines of support or resistance If you suspect that a channel trend is forming around price movements in the chart you can use this drawing object to verify your assumptions When Andrew s Pitchfork is selected you can click on a high or a low to specify the middle of the pitchfork and then click two significant p
130. iscuss how to use each of these three automated trading tools Enabling Autotrading Tools Before you use an expert advisor custom indicator or script you need to enable them in MetaTrader You can do this on the Expert Advisors tab of the Options window Fi 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 E wL Eih New Order D B Expert Advisors ai EURUSD H4 1 38477 1 38625 1 38423 1 38579 Ask A MARS y P lt gt fe ch 22 Bid 0 98 1 41570 4 USDCHF GBPUSD 1 58 1 58 EURUSD 1 38 1 38 USDIY 61 391 81 406 USDCAD 1 02 1 02 NZDUSD 0 74 O74 AUDUSD 0 98 0 98 USDZAR fess 6 96 USDSGD 1 29 1 29 USDTRY 1 42 1 42 EURTRY 1 9730 1 9806 AUONZD 1 31 0 1 31 gy GFT MT4 Powered by BT B Accounts LF Indicators E Expert Advisors w FA Custom Indicators close delete_pending modify modify pending OrderSend 1 41280 1 40985 Options 1 406590 Server Charts Objects Trade Expert Advisors Email Publisher Events 1 40395 Enable Expert Advisors except for Custom Indicators and Scripts 1 40100 Disable experts when the account has been changed 1 39805 Disable experts when the profile hat been changed Allow live trading 33510 Allow DLL imports Allow extemal experts imports le s period converter Common Favorites 6 Og 2010 7 Og2000 11 Oct OOO 12 ck O80 13 Oct
131. ity System MetaTrader uses 128 bit key encryption when trading If you work with an organization that needs additional security MetaTrader also offers an Advanced Security mode that provides public and private keys If you are using the Advanced Security system but need to place a trade at another computer you will need to transfer the keys from your computer to the one you are trading on The key files are stored in the Config folder in the MetaTrader folder If the Advanced Security system key has been lost or damaged contact GFT Technical Support 127 GFT la MetaTrader 4 and MetaEditor User Manual Appendix A MetaTrader Hot Keys You can access tools and features in MetaTrader using the hot keys These allow you to use the keys on your computer keyboard to open or close tools and features without navigating through menus or clicking in the toolbar Keystroke Page Up Scrolls the chart to the left Scrolls the chart to the right Moves the chart to the oldest point in the chart history Opens or closes the Chart Properties window F Opens or closes the New Order window pa ndow ALT 2 Changes the chart type to candlesticks chart ALT 3 Changes the chart type to line chart ALT A Copies all test optimization results to the Clipboard Opens the Windows list If you have more than one chart window open you can switch to ALT W a particular chart by selecting the chart you want and clicking Activate ALT F4 Closes
132. k on When active the cursor appears with a question mark You can customize all of the toolbars so that they contain only the tools that you use by clicking View and selecting Customize This opens the Customizing Toolbar window 67 rs GET MetaTrader 4 and MetaEditor User Manual MetaEditor rotate_text mq4 KA File Edt View Toos Window Help re E f i E Oo Jae Ly B r se Ear Compile G Terminal G rotate text mq4 stdlib mg4 eee avigator E fo rotate text mq4 Pes Alert A Copyright 2004 Metaguotes Software Corp Eee ArrayCopyt http www metaquotes nec Fa ArraylopyRatest Ley ArrayCopySeries EA Close Available Selected E Commenti Btring 1 o 1s Paste ey Conversion Functions string of Cave All l E Data types E Print Preview GA Undo ce Date amp Time Functions woid ini Eh o Ea Defining extern variables Print e Redo 5 ra Error codes elete lt Remove 5 Ea Execution errors A Find a Compile ie External Functions definition A Find Next Es Terminal ER FileFlush a fy Find Previous Ei FileOpent He Eh Replace a Ki FileOpenHistory E Ea FileReaddrray Ea FileReadDoublet ra FileReadintegert ra Fileseekt Ces FileTell int starti Ki Filewwritet Customizing toolbar inc lude Ohjectskhedrawi F A Files Dictionary Search m i Back g Forward Home Ci
133. l EURUSDoft Euro vs US Dolar Yolume 1 00 Stop Loss a 4580736 Ca 4589737 La 4589739 Once this is executed there will be one remaining long position open 5 Order Time Type Size Symbol Price Sit TIP Prke Ceenmission Swap Proft F 4569737 2011 03 02 21 5 Biy 00 euruSoot 1 28699 0 0000 0 G0 1 67 0 00 p 00 18 75 Balance 499 917 71 Equity 499 098 96 Margin 1 000 00 Free margin 498 698 96 Margin level 49963 90 18 75 Closing Offsetting Positions 1 Right click in a position row in the Trade tab of the Terminal window and select Close Order to open the Order window 2 From the Order Type drop down menu select Close by Market 5 When the Order window appears click Multiple Close by 4 Click OK to close the window Protecting a Position with Stop Loss and Take Profit Orders Once your order becomes a position you can view It on the Trade tab in the Terminal window If you didn t specify a stop loss or take profit order when you first placed your order you can add those orders by right clicking in a position row and selecting Modify or Delete Order to open the Order window 24 GFT MetaTrader 4 and MetaEditor User Manual Order 93268626 buy 4 00 EURUSD at 1 27322 sl 0 00000 tp 0 00000 Symbol Volume Stop Loss Comment Type Modify Order Level 30 w points Level 30 Y points Stop Loss 0 00000 Take Profit 0 00000 Stop Loss or Take Profit
134. ll as your closed trades You can do so on two tabs in the Terminal window x Order Time Type Size Symbol Price smi T P Price Comm Taxes Swap Profit Comment F 92354 2010 07 29 16 44 buy 2 00 eurusd 1 27143 0 00000 0 00000 1 30727 0 00 0 00 101 02 7 168 00 F 92354 2010 07 29 16 48 buy 2 00 gbpusd 1 53700 0 00000 0 00000 1 55844 0 00 0 00 87 38 4288 00 3 92354 2010 07 29 16 49 buy 2 00 eurgbp 0 82701 0 00000 0 00000 0 83903 0 00 0 00 230 60 3695 14 3 TRER MO 2010 08 26 16 00 buy 400 eurusd 1 27143 0 00000 0 00000 1 27205 0 00 0 00 21 34 248 00 3 93266 2010 08 27 18 08 buy 4 00 eurusd 1 27143 0 00000 0 00000 1 27322 0 00 0 00 14 22 716 00 e Balance 44 614 53 Equity 28 044 83 Margin 9 263 46 Free margin 18 781 38 Margin level 302 75 16 569 14 Account History News Alerts Mailbox Experts Journal You can manage all of your open positions and pending orders in the Trade tab of the Terminal window You can also view your balance equity and margin data in this tab When you right click in a position row you can select menu options to open an order modify or delete an order or close an order You can also right click in the tab and select menu options to add the Commissions Taxes and Comments columns to the table You can also choose to display the value in the Profit column in points term currency or deposit currency Viewing Your Account History You can view all of your executed trades on the Ac
135. lose 2 0 10 0 89924 0 90013 3 90 9915 40 F 5 2010 09 01 03 50 sell 3 0 10 0 89920 0 89870 6 2010 09 01 04 04 close 3 0 10 0 89945 0 89870 2 50 9912 90 F By 2010 09 01 04 08 buy 4 0 10 0 89950 0 90000 gt 3 2010 09 01 05 17 close 4 0 10 0 89853 0 90000 9 70 9903 20 i F 9 2010 09 01 05 42 buy 5 0 10 0 89893 0 89943 z Results Graph Report Journal D Settings The Results tab displays a table that contains information about all of the trades that were executed during the test You can view information across several columns Type displays what kind of trade was placed a sell buy etc Order shows the ticket number of trade position or pending order Lots displays the number of lots that were traded Price shows the price at which the instrument was bought or sold S L displays the price at which the Stop Loss order was executed If this field is blank it means that no stop loss order was placed T P shows the price at which the Take Profit order was executed If this field is blank it means that no take profit order was placed Profit displays what your profit or loss was on the transaction This value only appears for closed positions Balance shows how the trades placed would affect your account balance The balance value is recorded only at closing of positions You can click in the column header to sort the entries in ascending or descending order Time Type Order Size Price Si TIP Profit Balance 20
136. matically saved in the current profile The profiles in the drop down menu or the Profiles folder on your computer may vary from the graphic that you see here You can also use these commands by clicking in the Standard toolbar This displays a drop down menu similar to the one that you see when you click the File menu and select Profiles l J GFT la MetaTrader 4 and MetaEditor User Manual Placing Trades from the Chart You can place trades from the chart by right clicking in the window selecting Trading and then clicking a menu option from the drop down menu that appears EURUSD H1 Buy Stop at 1 30952 Periodicity Sell Limit 1 30952 Expert Advisors Template 2 Refresh Auto Arange Chrl 4 Grid Chl G Volumes Chrl L Zoom Ir Zoom Out Save As Picture y Print Preview Print Ctrl F Properties F 3 Aug 2010 11 4ug 0700 12 Aug 15 00 16 Aug 01 00 17 Sug 09 00 18 Aug 17 00 20 Aug 01 00 23 Aug 11 00 24409 19 00 26 Aug 03 00 27 Aug 11 00 30 Aug 21 00 1 Sep 05 00 New Order Opens a position in the market at the current price The Order window opens with a Market Execution order type selected You can change the Type drop down menu and select Pending Order if you want to place a buy limit or a sell stop Buy Limit at Sell Stop at Places a buy limit or a sell stop at the listed price The Order window opens with the Pending Order type selected Placing a Market Order from the Char
137. minal menu option Order Time Type Size Sym Price SL TP Price Com Taxes Swap Profit Comment La 9331 2010 08 31 20 53 sell 4 00 euripy 107 832 0 000 0 000 106 800 0 00 0 00 205 11 4920 03 Balance 46 614 01 Equity 37 101 38 Margin 3 843 60 Free margin 33 257 78 Margin level 965 28 9 360 03 Trade Account History News Alerts Mailbox Journal The Trade tab displays your open positions and pending orders This is where you ll manage all of your trades fl While the Trade tab contains fields for balance equity and margin data you should not use these to moderate your account When you sign up for MetaTrader 4 you will also receive access to DealBook WEB which displays the most accurate trading activity on your account At GFT all transaction order history information that appears in DealBook WEB is considered the most accurate and legally binding Because of this we recommend that you have both MetaTrader 4 and DealBook WEB open when trading to compare equity values If you have questions about this contact GFT x Order Time Type Size Symbol Price sil T P Time Price Swap Profit a 91131203 2010 07 13 12 37 balance Deposit 50 000 00 F 91788415 2010 07 15 15 42 buy 2 00 usdchf 1 04105 1 03999 104111 2010 07 29 18 34 1 04111 31 92 11 53 F 92191210 2010 07 19 14 09 sell 2 00 nzdusd 0 70616 0 00000 0 00000 2010 07 29 18 50 0 72565 139 47 3 898 00 i F 92191216 2010 07 19 14 09 sell 2 0
138. nalcusneesian 120 Entering Email and Server Settings cccsesesssssssssesesesscsssesesescsssesesesscsceeeceesesecavaceesesavsvavenseseasevavaestsesavavaeeeseneatareees 120 el VU e1all ALS Meee 016 18 SeMS anaana oe ne ee ene eee ene ee ae 122 C stomizing sounds or Meta GON rages secs cesteercacucacsccuten ss caxevesa cineeocevteveansua Eai EROAA NAS 122 Accessia the HIStory Cente I erionit ogia E EE E locas ces ct cau cata EAEEREN 124 EE ON OS A A EE EEEE AEE P T E PE T ASE E E T EA 126 Managing Glopal Variables saiisine aaia aia a O eai iR 126 Using the Advanced Security SY SEC I iiunisieniiiseiciioani a alaa 127 Appendix A MetaTrader Hot KeyS ersessncctesn canteens crescents catcics cesta cadence tennant bovovert bnenasincatecacenssevbeta cauiceat ened nn nnn ennan ane 128 Finding Further Information ossssscevisesestensecxencseuevesceccaccesttesatsedsabdouseeeancieseyancbvnceannendivindhesesesenctescinedcasdneadeddasuuseanczencyuwcavoseed 150 GFT MetaTrader 4 and MetaEditor User Manual Welcome to the MetaTrader and MetaEditor User Manual In this user manual you ll find instructions on how to use the features and tools in MetaTrader If you re new to the program you can walk step by step through this manual to learn how to login and access specific MetaTrader features If you ve been using automated trading systems for a while we ve included a detailed table of contents so you can quickly reference how to use a specific section or to
139. nd drag the indicator to the chart window e Right click on the indicator you want in the Navigator window and select Attach to a Chart F Indicators e Accelerator Oscillato F aligatd i Attach to chat F Averad ve Add to favorites oL Averag Set hotkey F PAE Oleee F Bears Power F Bollinger Bands F Bulls Power F Commodity Channel DeMarker F Envelopes F Force Index F Fractals F Gator Oscillator Ichimoku Kinko Hyo MACD kz Common Favorites 22 Sep 2010 e Click the Insert menu and select Indicators This displays a drop down menu where the indicators are organized in folders by type Trend Volumes Oscillator etc You can select the folder and click on the indicator in it File GBPLUSD F EURUSD q EURGEP USDCHF 4 USDIPY 4UDUSD Y USDCAD EURCHF 4 EURIPY Y EURCAD Y EURAUD q GBPCHF GBPIPY CHFIPY a gt 4UDCAD Symbols Tick Chart View 095727 MetaTrader 4 and MetaEditor User Manual Charts window Tools Help Insert Accelerator Oscillator Accumulation Distibution Alligator Channels Average Directional Movement Index Gann Average True Range Fibonacci Awesome Oscillator Shapes Average Directional Movement Index Bollinger Bands Commodity Channel Index Arrows Oscillators ee Andrews Pitchfork Volumes Iil Cy
140. ne mode MetaTrader will discard older bars candles or line ticks as specified in the drop down menu The settings you specify here will be used whenever you open a new chart window If you change any settings on this tab it will not affect individual chart settings you may have already specified on the Common tab of the Chart Properties windows Customizing Object Properties on the Chart The Objects tab in the Options window displays the settings for objects such as line studies technical indicators and drawing items that appear in the chart window 118 GFT MetaTrader 4 and MetaEditor User Manual Server Charts Objects Trade Expert Advisors Email Publisher E vents Show properties after creation Select object after creation Select abject by single mouse click Magnet sensitivity pixels EEE TE The Show Properties After Creation checkbox displays the edit window immediately after you draw an object That way you can specify settings for the object When not checked MetaTrader configures your drawings with the current settings The Select Objects after Creation checkbox allows you to specify if you want the object you ve just drawn to appear in the chart window When not checked the last selected item remains active The Select Objects by a Single Mouse Click checkbox allows you to click once on an object to select it When not checked you need to double click on an object to select it Th
141. ng the MetaEditor Works 0 lt reisisid One en OT i 66 TEMENE A aE EE pc eae EAEE lec E A 66 The MetaEditor POON GM sssimireissionreiinaritiiiiinna aii aa R EAA EEE S E AAO AREA 67 TENE WOOO VG W oeiee EE A ET EOE E AEE 68 TENO ANT O aa a a a nee ete er rere ee 72 POS VV OY iste tater cece a a a han sheet a ace ent aces cdoraten tau Ata tachi cea AR 74 The Options WINGOW ese secsteiees revere toeetcsnstneatcuessnateactenennatie tease Rauenercrarcyie tees aeiaai a aa aaa a aaka ahaaa awian ai 75 Section 5 Using MetaTrader s Autotrading TOOMS ce esessssssssssesessssesesesessssesesesesccscseeesescacsvecsesavavaveesseesenavaveesesenaravees 78 EM AUO AUN TOO S aaa don act any easts cence awed ate vaneetecaien aan tdeattiant canes 78 Finding Autotrading Tools in the Online Library oo ee esesessssesesesessssesescsescseseeseeseseesrsceesesesvstetetseeeserstetetseneeanareesen 80 Creating an Expert AGV SOF ccccscsssccieinrcsecenctautencestsdeasadtueds icsiurdedvencsen ielat desvertrdseteusastudarathiciaviatuciusceasiotesdatunieivecaieoees 82 TO STING QUE CE VS Ol ate ensues cates sete ractceszeciacs A E E AA 84 VIEWING the Results OF the Expert Advisor TeSt eccctesssccstcsscecsetevevasedcxncstibianveucdvneeavativnsiviaanieaieluisiaseleeadelehianavaivns 88 Attaching an Expert Advisor to a Chatt sciiceacnsocsesnstevsvciedcarscautiistesautondecansdetsusiivinensbiuibnwbbadnensdtidadanldadavauitsetauldasutnelduee 91 Modifying an Expert Advisor Attached to a Chart
142. ng the name of the file x Bars in test 2433 Ticks modelled 65920 Modelling quality 25 00 Mismatched charts errors o BRR B Initial deposit 10000 00 Total net profit 120 00 Gross profit 32 50 Gross loss 152 50 Profit Factor 0 21 Expected payoff 5 45 Absolute drawdown 129 70 Maximal drawdown 129 70 1 30 Relative drawdown 1 30 129 70 Total trades 22 Short positions won 10 10 00 Long positions won 12 58 33 Profit trades of total 8 36 36 Loss trades of total 14 63 64 Largest profit trade 5 00 loss trade 80 70 Average profit trade 4 06 loss trade 10 89 Maximum consecutive wins profit in money 2 10 00 consecutive losses loss in money 7 28 50 Maximal consecutive profit fcount of wins 10 00 2 consecutive loss count of losses 96 80 4 Average consecutive wins 2 consecutive losses 3 Settings Results Graph Report Journal The Report tab displays statistics about how the test was performed Bars in Test displays the number of bars that appeared in the history data Ticks Modeled shows the number of ticks that were used in the test Modeling Quality displays the quality of ticks modelled during testing with a percentage and a colour band A gray band Shows if a date range was specified in the testing settings A red band shows that modelling was not performed ona portion of the time frame During that part of the test only data of the time frame selected in the testing settings we
143. ning and Managing Your Trades uu ssesessssescsesesesecesesescsececseseseseseravsceesesecavseeeseseaveeetstststeavaeeteeseeeaeeesen 16 Trading with the Order Types in M tal rales oc eesesssssssssesessssssesesesessesesesescsesavsesesesvavaceesesvavavetaeeesesvavavensentearareesen 16 Viewing Pricing and Contract Information sicicesc ta hcatescts isa diatudcuiscsandesciteesauseiuisiiasictvivtetad a vlcatin tabdeinisnduiobdatamstin 17 Viewing the Order VOW ex ett ocsnte cescarcosd nay eve cecactes sachet e tesnase neans been cud oasnsieieesatep acon cavisn niicaid bomoatoaeetuamocteaaas 18 Placing Market Orders Manually from the Order WiInGOW c eessssssssesesessesesesesesseseseseseseescseecsesecavavensesscavaeeessensensees 19 Placing Pending Orders Manually from the Order Window c eessssesssesesesscseseseseseseseseseeeserseetseseesreveesesteraeeteeeeeen 20 PAO HIG VOUS HOON S arrose sreesanescay A EEE E E 21 VIEWING Tour ACCOUN TANS capes cos secetccetnece cen ieaie NE AEE AEO A TATE ETAETA EN TAE TATO 21 Placing a Trailing Stop on an Orde oe eesesessesesesesecscsesesescscscsesesescscscscsesecacavscsesssssavavececsesavavececssavavevaveesesacaravecseseess 21 Closing a POSITION at the Current Market Price eeesssseseseeeesssesreesrssreesresrensrennresrensrenresnensnrsnnnnrennensnnnnrenniesrrnnresnranrrnns 23 IG SIM OMENI POSIONS aipnianihasiii a sh aun totcuceas ame arsenate etaadadeatea 24 Protecting a Position with Stop Loss and Take Profit
144. nues it after the selected date If you want to optimize an expert advisor you should select Control Points Once opened the Strategy Tester appears below the Terminal window You may need to adjust the size of the Strategy Tester window to see all of the windows you have open Testing or Optimizing an Expert Advisor 1 Click View and select Strategy Tester Select the expert advisor you want from the Expert Advisor drop down menu Click Expert Properties and specify the settings you want on the three tabs Click OK when done If desired click Modify Expert and modify the expert advisor Select an instrument from the Symbol drop down menu Ao RW YN Select the time frame you want from the Period drop down menu 87 GFT MetaTrader 4 and MetaEditor User Manual 7 Select Every Tick Control Point or Open Prices Only from the Model drop down menu 8 Ifyou are optimizing check Optimization 9 If desired check Visual Mode or check Use Date and select a date range 10 Click Start Viewing the Results of the Expert Advisor Test After the test has been completed you can see the results of the test in Results Graph Report and Journal tabs of the Strategy Tester window Time Type Order Size Price Src TIP Profit Balance L 1 2010 09 01 00 39 sell 1 0 10 0 89155 0 89105 2 2010 09 01 03 34 close 1 0 10 0 89962 0 89105 80 70 9919 30 F S 2010 09 01 03 34 buy 2 0 10 0 89963 0 90013 4 2010 09 01 03 50 c
145. o close a position at the current market price quickly you can right click in a position row and select Close Order to open the Order window and close your order Terminal Order Lj 9235 La 9235 LA za La 9326 l Balance 44 614 53 Equity 77 998 67 Margin 9 263 46 Free margin 13 735 22 Margin level 248 27 Time Type Size 5y Price 2010 07 29 16 44 buy 2 00 eurusd Sl T P 2010 07 29 16 48 buy 2 00 gbpusd 1 534235 0 00000 0 00000 2010 07 29 16 49 buy 2 00 eurgbp 0 62584 0 00000 0 00000 2010 06 26 16 00 buy 4 00 eurusd 1 26729 0 00000 0 00000 2010 08 27 16 08 buy 4 00 eurusd 1 26729 0 00000 0 00000 Trade Account History News Alerts Mailbox Experts Journal x Price Com Taxes Swap Profit Comment a Mew Order Fa 1 55844 0 00 3 Close Order 0 83903 0 00 1 27205 0 00 Modify or Delete Order 1 27322 0 00 Trailing Stop Profit Commissions T axes Comments Auto Arrange Grid The Open window appears with a Close button that displays the instrument volume and order number Order 92354314 buy 2 00 EURUSD at 1 30727 sl 0 00000 tp 0 00000 1 26721 1 26713 1 26697 1 26688 1 26680 1 26672 1 26664 1 26656 Closing a Position at the Current Market Price Symbol volume Stop Loss Comment Type Market Execution EURUSD Euro vs US Dollar Take Profit Market Execution v 1 26705 1 26727 Notice At order by market ex
146. ok WEB open when trading to compare equity values Please remember that the equity value in DealBook WEB is the most accurate and legally binding You should rely on this value when you are trading If you have questions about the difference between the two platforms contact GFT OFT MetaTrader 4 and MetaEditor User Manual Section 2 Opening and Managing Your Trades Now that you re familiar with some of the windows in MetaTrader we ll look at the tools you ll use to place and monitor your trades This section describes the various order types that are available in MetaTrader and the tools you can use to manually manage your orders in the market Trading with the Order Types in MetaTrader When you trade with MetaTrader there will be times when you need to manually place an order to open a position in the market MetaTrader allows you to do this using several types of trading orders Orders in MetaTrader will be filled at the nearest market price Sometimes this may be worse than the price you requested This is called slippage Slippage is possible on all orders Market Order Places a buy or sell order on an instrument at the current market price Pending Order Enters your order when the market reaches a specific price There is a difference between orders and positions All trades are placed as orders When the price of the order meets the market price it becomes an actively traded position You can modify and cancel order
147. ol in the MetaTrader platform What are MetaTrader and MetaEditor MetaTrader is an online trading system that allows you to place trades manage open positions and pending orders and conduct technical analysis You can also use MetaTrader with automatic trading and analysis tools Once these tools are active in the chart window MetaTrader automatically executes and manages orders based on market conditions and the Settings you specified This user manual provides a comprehensive look at all of the tools and features in MetaTrader This manual also provides an overview of MetaEditor an application installed with MetaTrader that develops autotrading tools With MetaEditor traders can import create and modify expert advisors custom indicators scripts and other MetaTrader autotrading tools Before You Use MetaTrader and MetaEditor You should have a basic understanding of the forex market If you are new to trading currency pairs GFT offers a variety of free resources to help you learn about the market and how you can reach your personal trading goals Visit GFT s website to find out more MetaEditor is a development tool If you plan on creating and editing autotrading files you should be familiar with the MQ4 programming language You can learn more about this at http www mql4 com Even if you aren t familiar with programming you can use the application to download autotrading files Tips for Using This Manual GFT uses the followin
148. option that protects you when you are working with a custom indicator from an unknown source Custom Indicator Heiken Ashi Common Inputs Colors Visualization Vanable color color colors color On the Inputs tab you can view the variables used to calculate the custom indicator The variables are specific to the custom indicator you selected You can change the variable values by double clicking in the variable row Custom Indicator Heiken Ashi Common Inputs Colors Visualization 98 GFT MetaTrader 4 and MetaEditor User Manual On the Colors tab you can modify the line colour of the custom indicator by double clicking on the colour and selecting a new one from the drop down menu You can also specify line width on a scale of one to five by double clicking on the Width row and selecting a new one from the drop down menu that appears If you select a line width of one you can also specify whether the line appears as solid or dotted by double clicking on the Style row and selecting a new one from the drop down menu that appears If your custom indicator appears outside of the chart you will see a Levels tab You can use this to add a horizontal line at a particular level in the indicator Click Add to add a horizontal line and use the Style drop down menus to specify a colour line style and line thickness You can add one or more lines to the indicator window To remove lines select a
149. ore autotrading files in a folder gt MetaEditor MACD Sample mq4 Sele KA File Edit View Tools Window Help 8 x ah ia D a Uy ao m iy Compile Terminal M ticket OrderSend Symbol OP_SELL Lots Bid 3 0 Bid TakeProfit Point 16384 J D Files O files include J indicators else Print Error opening SELL order GetLastError i libraries return 0 CQ logs O presets return 0O a samples H scripts f f it is important to enter the market correctly a templates but it is more important to exit it correctly 3 MACD Sample ma4 for ent O ent lt total cnt E Moving fverade met OrderSelect ent SELECT BY POS MODE TRADES if OrderType lt OP_SELL amp amp check for opened position OrderSymbol j Symbol ZZ check for symbol if OrderType OP_BUY long position is opened if ticket gt 0 if OrderSelect ticket SELECT BY TICKET MODE TRADES Print SELL order ope E should it be closed if MacdCurrent gt O0 amp MacdCurrent lt SignalCurrent amp MacdPrevious gt SignalPrevio MacdCurrent gt MacDCloseLevel Point j OrderC lose OrderTicket OrderLots Bid 3 Violet return O exit f check for trailing stop if TrailingStop gt 0 i v Files Dictionary Search close position x File Line Text Searching For OrderClose te C Program Files Interbank F
150. ou find the expert advisor custom indicator or script you want select it and click Download You can also right click in the expert advisor row and select Download from the drop down menu This opens the source code of the autotrading tool in the MetaEditor workspace If you know MQL 4 the MetaTrader programming language you can edit the code manually or add additional code components from the tools in the Navigator window You can also open other source code files and copy and paste sections of code into the downloaded file A star appears in the header of the source code file after you ve edited it You can click Save to save your changes and continue working 8l GFT MetaTrader 4 and MetaEditor User Manual O MetaEditor Nik_PSAR_ B mag4 File Edt View Tool Window Help eS Ellolal If you have no changes to the downloaded file click ly Compile This verifies if the code works as programmed The Errors tab opens automatically in the Toolbox window to show you if there are any errors or warnings When the compilation is successful MetaEditor saves the file a Description File Compiling Mik _PS4R_26 moq4 0 error s 0 warning s Errors Findin Files Online Library Help Error list panel Ln 16 Col 33 Once compiled you can view the expert advisor custom indicator or script you want in the Navigator window of MetaTrader To return to MetaTrader click Terminal Finding Autotrading Tools in t
151. own menu You can also right click the Color field and select Change Color to select a colour 8 Click Finish 9 Make the changes you want to the code file as desired 10 Click Compile Once compiled you can view the custom indicator in the Custom Indicators list in the Navigator window of MetaTrader You can switch back to MetaTrader by clicking Te inal in the MetaEditor toolbar 97 por Adding a Custom Indicator to the Chart Once you ve imported created or modified the custom indicator as you want you can display it in the chart window by clicking and dragging it from the Navigator window This opens a window so you can specify settings for the custom indicator MetaTrader 4 and MetaEditor User Manual Custom Indicator Heiken Ashi Common Inputs Colors Visualization Allow external experts imports On the Common tab you can specify how this custom indicator will handle dynamic link library dll files While you may have already specified how MetaTrader handles these for all expert advisors custom indicators and scripts you can specify individual settings for the selected custom indicator here When checked the Allow DLL Imports checkbox allows your custom indicator to automatically access dynamic link library dll files associated with them The Allow Import of External Experts checkbox enables your custom indicator to automatically import functions from other MQL4 files This is a security
152. ox sets the current chart scale to a value that you specify in the Fixed Maximum and Fixed Minimum text box When selected the Bar Chart radio button displays the price moves of the selected instrument as a sequence of bars When selected the Candlestick Chart radio button displays the price moves of the selected instrument as a sequence of blocks or candles Each candle displays the high low open and close of the instrument and represents the trading activity for the time frame selected in the chart When selected the Line Chart radio button displays the price moves of the selected instrument as a continuous line The line connects the close prices for the time frame selected in the chart The Show OHLC checkbox displays or hides price information that appears in the upper left corner of the chart window You can view the open high low and close of the latest bar candle or line on the screen 15 GFT MetaTrader 4 and MetaEditor User Manual The Show Ask Line checkbox displays or hides a horizontal line on the chart that tracks the ask price of the last quote In MetaTrader the price moves that you see on the chart track the bid prices of the selected instrument but when you open a long position or close a short position the ask price is always used This line shows traders what the ask price is The Show Period Separators checkbox displays or hides vertical lines in the chart to mark periods of time depending on the time frame Fo
153. pen positions In MetaTrader 4 trailing stops will run as long as you are logged into the platform If you set a trailing stop and then log out of MetaTrader before the market moves in your favour by the number of points that you entered then the trailing stop loss order will not be placed If you set a trailing stop and log out of MetaTrader af ferthe market moves in your favour triggering the trailing stop the stop loss order will not trail the market It will work as a hard stop at the last price that the Stop loss was at when you logged off When you log back into MetaTrader 4 if the stop loss hasn t been triggered it will resume trailing the current gor MetaTrader 4 and MetaEditor User Manua market price by the number of points that you specified between the stop and the current price Viewing Pricing and Contract Information Before you place an order you ll want to monitor the price and determine a good point to enter the market You ll also want to pick points for your take profit or stop loss orders You can monitor prices and view contract information in the Market Watch window Market Watch 16 27 20 X Symbol Bid Ask GBPUSD 1 53319 1 53352 EURGEP 0 82784 0 82810 EURUSD 1 26944 1 26965 USD HF 1 016 a USDIPY 84 108 84 17 4 aUDUSD 0 69008 0 590 Gab Chart Window USDCAC 1 06521 1 0655 lr Tick Chat Space EURCHF 1 28962 1 289 EURJPY 106 780 106 8 EURCAD 1 35226 1 352
154. ppears in the History Center is downloaded from MetaQuotes servers even though your account is available through GFT Data that appears in the History Center can vary from the historical information stored rs GET MetaTrader 4 and MetaEditor User Manual Because the chart history is stored on the server it may take MetaTrader a few moments to generate the historical data You can save data from the History Center as an external csv orn or htm file by clicking Export This opens the Save As window Here you can navigate to the folder you want select a file type add a file name and click Save History Center AUDCAD M30 Symbols Database 1173 records S E ForexRegula Import AUDCAD M30 Fie C Program FilesiInterbank Fe Trader 4 symbolsets Forexall set Separator Skip columns rows Shift s hours Use selected only Volume ori Mi anion in azine Awe 198175 1 1 1 d im 72TH If you already have historical chart data from another source you can click Import This displays the import window Here you can select a csv orn txt htm or hst file by clicking Browse and navigating to the file Once selected you can use e The Separator drop down menu to specify what kind of separator to use You can select either a comma semicolon space or tab e The Skip drop down menus to select how many columns or rows MetaTrader should use when importing e The Shift drop down menu if you need to shift data by seve
155. ptimization Results tab displays a table that contains information about all of the trades that were executed during the optimization Pass shows the pass number Profit displays the gross profit minus the gross loss 90 GFT MetaTrader 4 and MetaEditor User Manual Total Trades shows the total number of open positions Profit Factor displays the ratio between gross profit and gross loss in a percent If a one appears in this row it means that these values are equal Expected Payoff shows the average profit loss of one trade Drawdown displays the largest drawdown related to the initial deposit Drawdown shows the largest drawdown related to the initial deposit in a percentage Inputs displays the changeable values of inputs at each pass You can click in the column header to sort the entries in ascending or descending order If you right click in the Optimization Results tab you can view a drop down menu with other menu options You can use Copy to copy select lines in the table You can also click Copy All to select the entire table You can also save the table as an htm file by clicking Save as Report and entering the name of the report If you want to rerun the results of the test again click Set Input Parameters to return to the Settings tab If you only want to view the results of profitable passes you can check Skip Useless Results You can also display or hide the Inputs column by checking or unchecking Show Input
156. r example if the Periodicity drop down menu in the chart window is set between M1 and H1 MetaTrader will draw vertical lines to separate the days If Periodicity is set to H4 the period separators represent weeks for D1 the period separators depict months and for W1 and MNI they represent years The Show Grid checkbox displays or hides vertical and horizontal grid lines in the chart window The Show Grid checkbox will be checked if you click the Charts menu and select Grid The Show Volumes checkbox displays or hides the current trading volume for the selected instrument in the chart window The Show Volumes checkbox will be checked if you click the Charts menu and select Volumes The Show Object Descriptions checkbox displays or hides the description of objects in the chart window If this option is enabled and there are descriptions of objects imposed into the chart available they will be shown directly in the chart Specifying MetaTrader User Settings You can customize MetaTrader features and tools using the Options window You can open this by clicking on the Tools menu and selecting Options SEE Charts Objects Trade Expert Advisors Email Publisher Events Server Example Server wv Data Center auto configuration Enable proxy server Keep personal settings and data at startup C Enable ODE server Enable news The Options window organizes the various settings for MetaTrader on several tabs In this topic
157. ral hours in time e The Selected Only checkbox to import only data that is selected in the history You can select data by clicking and pressing CTRL or SHIFT e The Volumes checkbox to enable or disable MetaTrader s ability to import volume When importing a file the historical data should be written as follows another separator can be used instead of a space e YYYY MM DD HH MMOHLCV e YYYY MM DD HH MMOHLCV e YYYY MM DD HH MMOHLCV e DD MM YYYY HH MMOHLCV e DD MM YYYY HH MMOHLCV e DD MM YYYY HH MMOHLCV 125 gor MetaTrader 4 and MetaEditor User Manual hst files should also include both the following header struct HistoryHeader int version char copyrighted char symbol 12 int period E int digits time_t timesign time t last sync Zi int unused 13 database version copyright info symbol name symbol timeframe the amount of digits after decimal point in the symbol timesign of the database creation the last synchronization time to be used in future And the following bars array with single byte justification pragma pack push L standard representation of the quote in the database struct RateInfo time_t double double double double double by pragma pack pop Exporting Quotes ctm open low high close vol current time in seconds You can export current quotes to other programs using the Dynamic Data Exchange DDE
158. ral properties of the Custom indicator program Name Cl Example Author Link http iwi joetrader com Parameters Name Type Initial value Ba EstFaram datetime 2010 09 03 16 32 Cra e Once you click Next the wizard opens the General Properties window Here you can add parameters to the file in the wizard by clicking Add Once added you can change what kind of parameter the custom indicator uses by right clicking on it and selecting Change Type This displays a drop down menu of several strings You can also change the initial value for the parameter by right clicking on it and selecting Edit Value If you want to change the name of the parameter right click on it and select Rename You can also remove a parameter by selecting it and clicking Delete 96 GFT MetaTrader 4 and MetaEditor User Manual Expert Advisor Wizard Drawing properties of the Custom indicator program Please specify drawing properties of the Custom indicator program Indicator in separate window Indexes Symbol When you click Next again you can view the Drawing Properties window Here you can use the wizard to specify where the custom indicator appears Your custom indicator will automatically appear in the chart unless you check Indicator in Separate Window which displays the custom indicator in a window below the chart You can then specify the range it will have by checking Minimum and Maximum and entering in a value You can specify
159. re used A green band shows that modelling was performed The shade of green becomes brighter as the modelling quality gets higher Initial Deposit shows the amount of your initial deposit Total Net Profit displays the result of all trades In this row you can also view the Gross Profit or the sum of all profitable trades and the Gross Loss or the sum of all unprofitable trades Profit Factor displays a comparison of the gross profit and the gross loss Expected Payoff looks at the average profit loss factor of one trade You can use this to determine whether the trade was orofitable or unprofitable Maximal Drawdown calculates the largest loss of one trade Absolute Drawdown shows the largest loss is below initial deposit value The Total Trades section of the report breaks down the number of trades long or short positions and what were your largest consecutive profits and losses 89 GFT MetaTrader 4 and MetaEditor User Manual Hg Time Type Order Size Price S L TIP Profit Balance T asosl OOO a 2 2010 09 01 03 34 dose Cony Ctrl C 0 89105 78 80 9921 20 33 2010 09 01 03 34 buy Copy All Alt A 0 89994 a 4 2010 09 01 03 50 close Save as Report 0 89994 2 00 9919 20 35 2010 09 01 03 50 sell 0 89870 a 6 2010 09 01 04 04 close see er 0 89870 0 60 9918 60 Q7 2010 09 01 04 08 buy Set Date To 89931 0 89981 8 2010 09 01 05 17 dose JE Auto Arange a 9 89853 0 89981 7 80 9910 80 4
160. reneerel te Fes C Program Files Intert Go To Line result OrderClose OrderTicket OrderLots price 3 CLR_NONE OrderClose OrderTicket OrderLots Bid 3 violet ff close position Enter Eia C Program FilesiIntert Clear 118 Order Close OrderTicket OrderLoksi i Ask 3 violet ff close position Eee CProgram Files Interb ie P 103 F Open 1 gt a amp 8 Cosell ema OrderClosefOrderTicket OrderLots Bid 3 white uto Arrange Ee C Program Files Interk 108 FiOpen i sma amp 8 amp Close 1 gt ma OrderClose OrderTicket OrderLots ask 3 White anid G 5 occurrences have bee Errors Find in Files Online Library Help For Help press lt Fi gt Ln 29 Col 1 a E Refresh Experts EF Indicators jmi Scripts Libraries hl Articles i Download MOL4 com hal Mame Description Date Y Author 4 LE pSAR bug 4 Opens and closes orders using parabolic SAR signals now with improved Features 2010 10 25 tommy error EA but with run with profi Fit 2010 10 20 Kame404 Open Enter a MA_Mirror EA pramonorz I wrote an Expert Advisor For it 2010 10 13 tFlores o EA RSI MA Download D e indicator RST_MA EA designed for EURUSD D1 2010 09 29 basisforex a EA PS5Sar_0026 1 Refresh Jea of the indicator Nik_PSAR_26 http fcodebase mgl4 com oos4 2010 09 22 basisforex Flat_00la tine OpenHour_1 0 North American Eastern Standard Time 2010 09 16 basisForex Auto Arrange A w Taira Findin Files
161. rmation with other applications The Enable News checkbox displays whether MetaTrader can import news messages and other information from the server Usually the information that appears on the Server tab is first entered when MetaTrader is installed and you do not need to change it If you believe you need to change it contact GFT Technical Support Specifying Chart and History Data Properties The Charts tab in the Options window displays the settings for the chart windows and history data 117 GFT MetaTrader 4 and MetaEditor User Manual Options Server Charts Objects Trade Expert Advisors Email Publisher Events Show OHLC Show ask line Show period separators Color print Save deleted charts to reopen Max bars in history 572000 we Max bars in chart 65000 The Show Trade Levels checkbox displays or hides a horizontal line on the chart that shows where a position was opened or where a Stop Loss or Take Profit order will occur The Show OHLC checkbox displays or hides price information that appears in the upper left corner of the chart window You can view the open high low and close of the latest bar candle or line on the screen The Show Ask Line checkbox displays or hides a horizontal line on the chart that tracks the ask price of the last quote In MetaTrader the price moves that you see on the chart track the bid prices of the selected instrument but when you open a long posi
162. s You can also use this window to test recently downloaded or newly created files or search for specific code strings in the files The Toolbox organizes these tools over four tabs If the Toolbox window isn t displayed you can click in the View menu and select the Toolbox menu option You can also click amp in the toolbar 68 GFT l MetaTrader 4 and MetaEditor User Manual The Errors tab displays a list of any errors that MetaEditor finds in the code file of the expert advisor custom indicator or other autotrading tool After you save the file you re working on you can click Ey Compile The Errors tab then displays a list of any errors or warnings it found Description File Compiling MACD Sample mgt MACD variable not defined CADocuments and Settings My Documents MACO Sample mg4 FO 23 1 error s 0 warning s _Errors Find in Files Online Library Help To go to the line with the error you can right click in the Errors tab and select Go To Line from the drop down menu that appears Description File Compiling M4CD Sample mgt CADocuments and Settings kprior My Documents M4CD Sample mgt 70 23 MACD variable not defined ze ieee 2 Go To Line Enter 1 error s 0 warning s Copy Ctrl C Clear Auto Arrange mi Grid Errors Findin Files Online Library Help You can use the Find in Files tab to search for a specific word or line of code in one or m
163. s but you can only close positions When you select pending order you can choose one of four types of orders e Buy Limit Places a buy order at a specific ask price When you place a buy limit the price should be below the current market price e Sell Limit Places a sell order at a specific bid price When you place a sell limit the price should be above the current market price e Buy Stop Places a buy order at a particular ask price When you place a buy stop the price should be above the current market price e Sell Stop Places a sell order at a particular bid price When you place a sell stop the price should be below the current market price Take Profit Places an order to exit an active position to capture profits you may have Stop Loss Places an order to exit an active position to minimize any losses you may have Trailing Stop Orders Places a stop order at a specific number of points away from the current market price Once the market moves in your favour by that number that stop loss order will then automatically update as long as the market moves your way so that it trails the current price by the number of points you set When the market moves against your position after the trailing stop loss has been set the stop loss remains set at the last trailing price that it reached when the market was moving in your favour You can use this to help protect profits without limiting any potential gains on your o
164. s Ctl L De 1 28145 Zoom In oom Out Save As Picture F Print Preview ess Print Ctrl F Properties Fa 11 Aug 2010 12 Aug 18 00 16 Sug O00 17 Aug 12 00 18 Aug 2000 20 Aug 0400 23 Aug 1400 24 Aug 22 00 2b Aug 06 00 27 Aug 1400 31 Aug 0000 1 Sep 0800 2 Sep 16 00 Removing an Expert Advisor from the Chart 1 In the chart right click and select Expert Advisors 2 From the drop down menu click Remove No confirmation appears when you remove an expert advisor from the window Creating a Custom Indicator You can create a new custom indicator by right clicking on the Custom Indicators menu in the Navigator window and selecting Create GFT MT4 Powered by BT amp Accounts F Indicators Ss Expert Advisors a ig Scripts aP Create Set hotkey Ppoc e Online library This opens MetaEditor an application installed with MetaTrader that develops autotrading tools and displays the Expert Advisor wizard 95 Ror MetaTrader 4 and MetaEditor User Manual Expert Advisor Wizard Yfelcome to Expert Advisor Wizard ss Ol 4 Please select what you would like to create Expert Advisor Script Library Include MQH Generate from template To continue click Next Bas The wizard helps you specify which type of custom indicator you want and name the file Expert Advisor Wizard General properties of the Custom indicator program Please specify gene
165. s in MetaTrader When the checkbox is not checked the expert advisors will not analyse chart price movements The Disable checkboxes beneath it allows MetaTrader to automatically deactivate all of your expert advisors if you change your account or your profile Allow Live Trading enables you to place orders when an expert advisor or script is active When this is checked you can also choose to select the Ask Manual Confirmation checkbox below it If your expert advisor or script is about to perform a trade and this checkbox is selected a notification appears asking you to confirm the trade Allow DLL Imports allows your expert advisors custom indicators or scripts to automatically access dynamic link library dll files associated with them When this is checked you can also choose to select the Confirm DLL Function Calls checkbox below it If your expert advisor custom indicator or script is about to access a Set of dll files and this checkbox is selected a notification appears asking you to confirm the request Allow External Experts Imports enables your expert advisors custom indicators or scripts to automatically import functions from other MQL4 files This is a security option that protects you when you are working with expert advisors custom indicators or scripts from an unknown source Entering Email and Server Settings The Email tab is where you can enter your email and server information 120 rs GFT MetaTrader 4 and Meta
166. s window so you can customize the script 102 i i T ze MetaTrader 4 and MetaEditor User Manual 2088454440 GFT MT4 Powered by BT Demo Account EURUSD H4 Seles Eh S G IE ae Bs New Order D B Expert Advisors i Win amp 9 tk ith B Market Watch E mae EUIRUSDWH4 1 37781 1 37830 1 37582 1 37813 Symbol i 1 41555 USDCHF 0 98 0 98 GEPUSD 1 57 1 57 E 1 41260 EURUSD 1 37 1 37 S USDIY 81571 81577 WUSDCAD 1 03 1 03 PNZDUSD 0 74 0 74 AUDUSD 0 96 0 96 period_converter USDZAR 7 06 7 06 USDSIGD 1 30 1 30 1 40970 Common Inputs Y USDTRY 1 44 144 Corman Safety EURTRY 1 9910 1 9922 T z7 Long amp Shot positions Allow DLL imports Al WP Symbals Tick Chart nedal Confirm DLL function calls x Allow import of external experts F Indicators A C Disable alert once hit Expert Advisors Live Trading P Custom Indicators E H Scripts E close Cl Ask manual confirmation 4 delete _pending E modify OrderSend period_converter 4 rokate_text H send_pending trade ae ct 2010 2 Oct 12 00 11 Oct 1600 13 Oct OOO i4 Oct g0 15 Oct 1600 18 Oct z000 Z0 Oct ipd ch i200 z2 Oct AB Oct OO 27 Oct O00 common Favorites EURUSD H4 USDCHF H4 GBPUSD H4 USDIPY H4 Time From Headline Ea 2010 10 25 13 15 GFT MT4 Powered by BT Registration Ea 2007 09 25 16 00 GFT MT4 Powered by BT What Is Automated Trading
167. sesesestesesesesteeseeseeeesen 111 Changing the Language in MetaTrader ccc cscscecccocs uscsanicncvsnesceininenieatushttecudvtecdensietionevsies duds staicndveadidedsiadtinedvanmeneicddecwtsed 111 UPS EOF IZM EOE aa a caauashoosan ac ates bean tubes aceteteasl 111 Customizing the Appearance of the Chart WiINdoW ccsssssessssssssesesessssssssesesessscsesesessvacseecsesesavavaveesesvaravensenseareres 112 Changing the Colour of the Chart Window cesesssscssessssssssesesssessssesesesesscscsesesesavacevaveessecavaceesesecavaveesessesavavateeensees 113 Customizing Viewing Settings on the Chart WINdoOW s sessseesesessseserssseesnennensrennresnensrennrnsnennrenrnnresnnnnrenneesnennrenrennnnns 114 SHO CY AC Meta lrader User NN S siarisaoirskeosiinonaskiiida anA aoaea aaan aka Na a ANSE Y 116 Viewing MetaTrader Server SCT HIN OS ast coc oseviscatccie devesstscensusnsea ctr svastec cesesiacotcstmoesrs estou usesteneua nestTovusateaicssdedsecwacenttavacs 116 Specifying Chart and History Data Properties oo eesesssesesessssssesesesesecscsesesesecacsesesesecavacaveesesesevavecseseeavaveeeeseseseearavees 117 Customizing Object Properties ON the Chart cecssesessssssssesesssessssssesesesseacsesesescscecscsesescavaveeseseeavaveesesssesatasstensensees 118 PI O18 30 6 O Sear rien Pepe rire ern ur a ener we reer 119 Customizing Autotrading SOLEINOS sixssecsnccsincs anticeewniiicrcanscncixeulesstcesicntuedcyndusliuiscvebundbovchvasivedtariceuiceeacewesesnd
168. size and other details about the instrument you are interested in trading You can view contract information by right clicking in the Market Watch window and selecting Symbols When the Symbols window appears select the instrument you want and click Properties This opens the Contract Specification window for the instrument you selected Viewing the Order Window In MetaTrader you ll place most of your manual orders using the Order window Symbol fUn Australian Dollar vs US Dollar Stop Loss Comment 0 59115 Type Market Execution 0 59103 Market Execution 0 89092 0 89128 0 29054 0 59075 0 89042 Motice Ot order by market execution the price will be quoted by dealer 0 89030 There are several ways to open the Order window e Select New Order from the Tools menu e Click baia in the Standard toolbar e Double click on an instrument in the Market Watch window e Right click on a position in the Terminal window and select New Order from the drop down menu Once open you can use the following features to specify your trade e Chart View the current by tick price movements of the instrument The blue line represents the current ask price and the red shows the current bid price e Symbol Select an instrument to trade e Volume Specify the number of lots you want to trade e Type Choose whether your order is a market order or a pending order GFT MetaTrader 4 and MetaEditor User Manual
169. space Help Contains menu options for displaying the MetaTrader online help accessing the MQL 4 the MetaTrader programming language community and viewing version information The MetaEditor Toolbar You can access the most commonly used tools on the MetaEditor toolbar If this isn t displayed click the View menu and select Toolbar i T i of Gee ee Compile GA Terminal Ei opens the Expert Advisor wizard You can use this to immediately create an expert advisor custom indicator script library or other autotrading tool Ea E displays the Open window If you ve previously created a file you can click this to navigate to the file location and select It saves the code file of the autotrading tool you created All MetaEditor files are saved as mq4 files opens or closes the Toolbox window QD opens or closes the Navigator window cuts a selected section of code in a mq4 file copies a selected section of code in a md4 file pastes a selected section of code in a mq4 file into another file amp reverses the last action you just completed repeats the last action you just completed Ey Compile rifles if the code in the open file works as programmed The Errors tab opens automatically in the Toolbox window to show you if there are any errors or warnings When the compilation is successful MetaEditor saves the file Terminal Switches your computer to MetaTrader G displays help files based on what you clic
170. stom indicators scripts and libraries P MetaEditor MACD Sample mg4 ES File Edt Wiew Tools Window Help BAAN D Ble S R come GB tma HACE Sample mqat Copyright 2005 MetaQuotes Software Corp http www metaquotes net extern TakeProfit 50 extern Lots 0 1 extern TrailingStop 30 EXCEL HacDpopenLevel 3 extern MaAcDC loseLevel 2 Extern MaTrendPeriod lt 6 int Start double MacdCurrent MacdPrevious SigqnalCurrent double SignalPrevious MaCurrent MaPrevyioqus int cnt ticket total initial data checks t it is important to make sure that the expert works with a normal Chart and the user did not make any mistakes setting external variables Lots StopLoss TakeProfit t TrailingStop in our case we check TakeProftit on a chart of less than 100 bars if Bars lt 100 ii DAR Dictionary Search Files I A Navigator l O Files config i files C include C indicators libraries off logs E IO presets E samples C scripts templates e IMATRIXDoubleZera mg4 3 earlyBirds mg4 l Easiest ever mgt a hardprofik mg4 3 MACD Sample mgt a Make Some Money mig E Moving Average 2 mg E take profit mg4 Mame Description Stop Hunter This EA is based on the strategy Stop Hunting with the Big Players gt FX Multimeter IY idemo All in one trading tool
171. t Ctrl P Volume Ee Properties Fo Wilharns 1 25790 2 Sep 12 00 MetaTrader includes a number of already existing templates which you can select by right clicking in the chart window and selecting Template From the drop down menu select one of the listed templates The chart window updates immediately If you ve used MetaTrader before and have template tpl files you can import these by placing them in the Templates folder on your computer You can then import template files in MetaTrader using the Load Template menu option You may notice the default tpl in the Templates folder This is a basic template that is created during the MetaTrader installation and applied automatically whenever the chart window is opened While you can edit this file you cannot save over It You can save the contents of the chart window as a template or save changes you ve made to an existing template by using the Save Template menu option Once saved the template appears by name in the list of templates Loading a Template in the Chart 1 Inthe chart right click and select Template 2 From the drop down menu click Load Template 5 Inthe Open window select the tpl file you want and click Open Saving a Template in the Chart 1 In the chart right click and select Template 63 GFT l MetaTrader 4 and MetaEditor User Manual 2 From the drop down menu click Save Template 5 If you are saving anew template enter the
172. t Previous E Sync ol Next MOL4 cam MOL4 Reference file functions hleReadDouble E s FileClose double FileReadDouble int handle int size DOUBLE_VALUE a FileDelete Reads the double precision number with floating point from the current binary file position The number p FileFlush format size can be 8 bytes double or 4 bytes float FileIsEndin 5 To get the error information one has to call the GetLastError function Errors Findin Files Online Library Help For Help press lt Fl gt Ln 5 Col 52 This window is where you can specify what appears in the selected toolbar The Available section shows any menu options that are currently not in the toolbar and can be added The Selected section displays all of the options that are currently displayed in the toolbar The tools that appear in the Available and Selected section depend on which toolbar you right clicked on To place a tool on the toolbar you can select it in the Available section and click Insert Conversely you can remove a tool from the toolbar by clicking it in the Selected section and then selecting Remove You can also reposition the order of the tools in the menu bar by selecting a tool and clicking Up or Down If you need to return to your original settings click Reset When you are done reordering the toolbars click Close The Toolbox Window You ll use the Toolbox window to find and download user community created autotrading file
173. t Window I 2 5 4 D 6 Right click in the chart window of the instrument you want select Trading From the drop down menu click New Order Click Volume drop down menu to select the number of lots you want to trade If desired enter text in the Comment text box Click either the Sell by Market or Buy by Market button Click OK to close the window Placing a Pending Order from the Chart Window I 2 gt Right click in the chart window of the instrument you want select Trading From the drop down menu click Buy Limit at Sell Stop at order Click Volume drop down menu to select the number of lots you want to trade 58 GFT MetaTrader 4 and MetaEditor User Manual If desired click the Expiry checkbox and select a date 4 5 If desired enter a price in the Stop Loss or Take Profit text boxes 6 Click Place 7 Click OK to close the window For more information see Placing Market Orders Manually from the Order Window or Placing Pending Orders Manually from the Order Window in Section 2 Opening and Managing Your Trades Managing Technical Indicators in the Chart Many traders use technical indicators to forecast where the market may be going In MetaTrader you can select up to 30 different technical indicators to appear in the chart There are several ways to add an indicator to a chart e Click next to Indicators in the Navigator window to display the list of indicators Then click a
174. the Color Selection menu Background Foreground Grid Bar Up Bar Down Bull candle Bear candle Line graph Volumes IIB Ree IID BS eeeee Ask line IIIB Sees O O OAA SEENA IID EEH n Stop levels L m E rik IP i If you don t see a colour you want to add click Custom at the bottom of the Color Selection menu This displays the Color window You can enter a colour code or use the colour view to click and drag to mix the colour you want When you have the colour you want click Add to Custom Colors You can add up to 16 custom colours When you are done click OK Hue Red o Sat o Green o Define Custom Colors gt gt Colorsolid Lir o Blue o Customizing Viewing Settings on the Chart Window On the Common tab you can also specify settings Some of these may already be selected based on what you chose in the Charts toolbar Custom colors ll NEEE HE ll SEED ll ORREEE ll REED ll EEEH EE 114 GFT MetaTrader 4 and MetaEditor User Manual Properties of EURUSD 4 E as Fl Colore Common C Offline chart Bar chart Chart on foreground Candlesticks Chart shift Line chart Chart autoscroll Show OHLC C Show Ask line Scale fix One to O L Scale fix One to One C Show period separators 5 Scale fix Stone and 1 47800 Fixed masimu al Show volumes 1 36850 Fixed minimum C Show object descriptions The Offline Chart checkbox turns t
175. timization you can click the Optimization checkbox If you want to modify the expert advisor before you test it you can click Modify Expert to open Meta Editor and made the changes you want Once the expert advisor is compiled you can return to MetaTrader and continue your test If you think the market will behave like it did at some point in the past you can click the Use Date checkbox and use the drop down menus to specify a date You can select any date back to January 1 1999 You can watch a visualization of the expert advisor being tested or optimized by checking Visual Mode When this is checked MetaTrader displays a chart with the expert advisor and performs the test or optimization You can use the playback scrollbar to adjust the playback speed or stop the playback temporarily by clicking Pause If you checked the Use Date checkbox you can click Skip Ahead and select the date you want to see When you are ready to run the test click Start MetaTrader shows a progress bar so you can monitor the amount of time it takes to run the test At any time during the test you can click Stop to close the test The amount of information that appears in the chart window may be different than the amount you receive from the History Center For more information see Specifying Chart and History Data Properties in Section 6 Customizing the Appearance and Settings in MetaTrader When you click Skip Ahead MetaTrader stops the visualization and conti
176. tion fit int start i Navigator om G config files H include H indicators a libraries G logs O presets 2 samples a scripts 2 templates S IMATRIXDoubleZero mq4 iG earlyBird3 mqt l Easiest ever mqt S hardprofit maq4 S MACD Sample ma4 e Make Some Money mq4 B Moving verage 2 mq4 S take profit maq v Files Dictionary Search Back gp Forward Home St Previous Sync E4 Next MaQL4 com MQL4 Reference a Standard constants Predefined variables Program Run Basics MetaQuotes Language 4 MQL4 is a new built in language for programming of trading strategies This language allows to create your own Expert Advisors that make trading management automated and are perfectly suitable for implementing of one s own trade strategies Besides one can use MQL4 for creation of one s own Custom Indicators Scripts and Libraries You can start learning the language using Sergey E Errors Findin Files Online Library Help For Help press lt F1 gt Ln 1 Col 1 The Files tab displays the folders and files that are in the Experts folder of your computer You can open these files by clicking the to expand the folder and then double clicking on the file you want 72 is GFT MetaTrader 4 and MetaEditor User Manual Y MetaEditor rotate_text mq4 ki File Edit View Tools Window Help e Al Bg q Ly ly ES Compile Terminal
177. tion date and time Selecting Pending Order also opens the Stop Loss and Take Profit text boxes If desired you can set the prices you want for these orders If you place a stop loss or take profit order the chart in the Order window displays a line representing these pending orders If you enter an inappropriate price for either the Stop Loss or Take Profit text boxes and click Place to enter your order MetaTrader displays a notification message If you are entering both types of pending orders MetaTrader lets you know if the stop loss SL or take profit TP is wrong Click OK and then adjust the price Placing a Pending Order Double click an instrument in the Market Watch window Make sure the instrument you want Is selected Click the Symbol drop down menu to select an instrument if not Click Volume drop down menu to select the number of lots you want to trade Click Type and select Pending Order In the Pending Order section select one of the pending order types from the Type drop down menu Enter the price Click the Expiry checkbox and select a date If desired enter a price in the Stop Loss or Take Profit text boxes Click Place O O NADA RW ND Click Print to print the order information if desired 20 gor 11 Click OK to close the window MetaTrader 4 and MetaEditor User Manual Managing Your Orders Once you place a trade you ll want to view your open positions and pending orders as we
178. tion or close a short position the ask price is always used This line shows traders what the ask price Is The Show Period Separators checkbox displays or hides vertical lines in the chart to mark periods of time depending on the time frame For example if the Periodicity drop down menu in the chart window is set between M1 and H1 MetaTrader will draw vertical lines to separate the days If Periodicity is set to H4 the period separators represent weeks for D1 the period separators depict months and for W1 and MNI they represent years The Color Print checkbox allows you to print all charts in colour when enabled If unchecked the charts appear in black and white The Save Deleted Charts to Reopen checkbox saves the settings from charts that were deleted or closed When enabled any chart can be restored when you click the File menu and select Open Deleted The Max Bars in History drop down menu allows you to specify how many bars candles or line ticks are saved with the chart history When you open a chart history MetaTrader will display only the amount of bars candles or line ticks as specified in the drop down menu The Max Bars in Chart drop down menu allows you to specify how many bars candles or line ticks appear in the chart When you open a chart MetaTrader will display only the amount of bars candles or line ticks as specified here If the chart is set to display the latest price information or is refreshed after being in offli
179. tors See Section 5 Using Meta Trader s Autotrading Tools for more information on custom indicators When an indicator is attached to the chart you can right click in the chart window and select Indicators List This opens the Indicators on window You can use this to view the indicators already attached to the chart When you select an Indicator you can click Edit to open the settings window for that indicator or click Delete to remove it from the chart F 4 Indicators on EURUSD H1 Main chart Edit Indicator window 1 Delete F MACD Close 6l i GFT a MetaTrader 4 and MetaEditor User Manual If you use a particular indicator regularly you can save it to your Favorites tab by right clicking on it and selecting Add to Favorites You can also set a hot key shortcut so you can activate an indicator by pressing a key or two on your keyboard See Setting Keyboard Shortcuts for Autotrading Tools in the Navigator Window in Section 5 Using MetaTrader s Autotrading Toolsfor more information Managing Expert Advisors With MetaTrader you can use automated trading strategies called expert advisors to perform prompt technical analysis of orice data and manage trading activities based on current market conditions When an expert advisor is attached to the chart you can right click in the chart window to modify test and delete it i SSS 3 fx EURUSD H1 x MAZO Sample y L J 1 1 I 1 I fe ee hess I i o
180. u selected You can change the variable values by double clicking in the variable row You can also click Load to add inputs to the expert advisor or Save to save the variables as a set If you need to return to the original settings click Reset You can verify if the expert advisor has been attached to the chart by looking for one of three types of icons in the upper right corner of the chart A means that the expert advisor was attached and is actively trading A shows that the expert advisor was attached but that live trading is disabled for it A means that all expert advisors have been disabled Remember the Expert Advisors button in the Standard toolbar must be active in order for your expert advisor to work Attaching an Expert Advisor to a Chart 1 Right click on the Expert Advisors you want in the Navigator window and select Attach to a Chart Select the options you want on the Common tab If desired click on the Inputs tab Click Load Navigate to the external set you want and click Open Click OK ROW N 93 MetaTrader 4 and MetaEditor User Manual You can only click and drag tested expert advisors in the chart window Only one expert can be attached to a chart If you attach an expert advisor to a chart that already has one the new expert advisor will be added and the old one removed from the chart Modifying an Expert Advisor Attached to a Chart If you want to make a change to an expert advisor once it
181. urs H4 Daily D1 Weekly W Monthly MN E AUDCHF E AuDJPY E AUDNZD E aupusp E cCADJPY E CHFIPY E EURAUD E EURCAD E EURCHF 2 cuiocro FE B30 Minutes M30 jim Time 2010 10 27 17 00 2010 10 27 16 30 2010 10 27 16 00 2010 10 27 15 30 2010 10 27 15 00 2010 10 27 14 30 2010 10 27 14 00 2010 10 27 13 30 0 2010 10 27 13 00 2010 10 27 12 30 0 2010 10 27 12 00 2010 10 27 11 30 2010 10 27 11 00 2010 10 27 10 30 A 2010 10 27 10 00 2010 10 27 09 30 0 2010 10 27 09 00 21M INA OF NADAN Open 1 00086 1 00040 0 99958 1 00037 1 00005 1 00174 1 00105 0 99955 0 99935 0 99997 0 99926 0 99946 0 99958 1 00015 1 00075 0 99956 0 99849 A aneni High 1 00167 1 00149 1 00091 1 00113 1 00106 1 00206 1 00227 1 00152 1 00133 1 00054 1 00060 1 00078 0 99981 1 00122 1 00167 1 00086 0 99968 ANANNIN Low 1 00040 1 00018 0 99876 0 99913 0 99916 0 99998 1 00050 0 99843 0 99910 0 99880 0 99906 0 99870 0 99866 0 99939 0 99982 0 99940 0 99777 none 7 Close 1 00081 1 00086 1 00041 0 99958 1 00034 1 00001 1 00173 1 00105 0 99955 0 99935 0 99990 0 99927 0 99948 0 99958 1 00014 1 00074 0 99956 NANDAN volume A 2598 3626 5595 5395 7703 4716 2783 3607 3296 2339 3145 4661 3203 3674 3842 3876 4459 v cano _ You can download quotes for instruments from 1999 to present by select
182. vsceeseseeavsesestseevasevateeseseeeaeeesen 48 Adding Shapes to the Charts uo eecesecscsscesesececssscsesesesecscsescsesecavsceceesescavsveesesacavaceceesavacavavevecsesavaveesesesavaveceestsesevavseecseeeees 50 Using the Advanced Drawing Tools in the Charts eesessssssssssesessssssesesesesseseseseseseesvseeeseseecseseetseevavevaveeseneeavareneen 52 COUT CUI Drawings Mine CNal aisiais ninian anaE anaso nEaN EENAA EA 54 Grouping Charts With Profiles saiisine a aaa a tance tonesans 56 Placing Trades from the Chart woscevesteereseexvaresteevtnatcecsevenoretmatereredy dives ancieitedad ves aseatteester aavencesieatenetedtoquimauinedd ernie 58 Managing Technical Indicators in the Chart vc ceesssssssssesesssssesesesessesesessseseescseeesesecseseeesesteavsvavetetseeravetetsteenaeeteeseeen 59 aks 13 61 70 hms O12 0 LV LSC 0 perenne ee net mr nan ne tT rr tr i 62 GFT l MetaTrader 4 and MetaEditor User Manual Managing Templates in the Chart WindOW ccsesessssssesessssssssssesesescscsesesesscscseseeseeseeaveceeseseavaeetetseeatevavenetseneeaeareesen 63 Closing Charts and Recovering NOM eescsccsessssssscesesssssscssscsesessesescsesessesescscscsesesscsescssseseacecsssescsussacsesesseseacsesesensees 64 Section 4 Opening MetaEditor for the First Tie eesessssssssesecesessesesesesecsesesesesecscseeseesescacaeecsesevavaeetseseeavavaeeeseneeararess 65 6 o1e aL ale Bhd 2 ks e206 eee eee nO nen aii ee eee ene nee nee ene ee E eS eT 65 Viewi
183. w does not stop It from performing autotrading You need to remove it from the chart 106 Adding a Library to an Expert Advisor or Script MetaTrader 4 and MetaEditor User Manual As you create expert advisors or scripts you may want to add a dynamic link library C dll to the file You can download or create one in MetaEditor an application installed with MetaTrader that develops autotrading tools Fa 2088454440 GFT M14 Powered by BT Demo Account EURUSD H4 Fille View Insert Charts Tools oh e gae al Bid Ask A USOCHF 0 98 0 98 4 GBPUSD Larfa Lar 4 EURUSD 1 37 NZDUSD 0 74 4 AUDUSD 0 97 4 USDZAR 7 05 USDSGD 1 30 USOTRY 1 44 EURTRY 1 9911 1 9924 a AL RI me E Symbols L Tick Chart GFT MT4 Powered by BT B Accounts a LF Indicators 2 Expert Advisors Custom Indicators B a XEM H E E Fi i z Create Insert Set hotkey window Help te New Order cb e Expert Advisors am EURUSD H4 1 377 O41 1 37970 1 37582 G Online library a opeee ae FOt2W1O WS 21wWO I OAHHGo 13 Cet 1200 I4Ot 200 18 Odoo 13 USDCHF H4 GBPLISD H4 LISDIFY H4 common Favorites EuRusD He x Time From Headline Ea 2010 10 25 13 15 GFT MT4 Powered by BT 2007 09 25 16 00 GFT MT4 Powered by BT Ea 2007 09 25 15 58 GFT MT4 Powered by BT z Ea 2007 09 25 15 56 GFT MT4 Powered by BT Trade Account History Alerts Mailbox Journal
184. w OHLC C Show Ask line C Show period separators Show grid C Show volumes C Show object descriptions This window organizes the various settings for the selected chart window on two tabs the Colors tab and the Common tab If you make a mistake while entering settings you can click Reset to restore all of your settings to the original ones When you are done customizing the settings click OK Changing the Colour of the Chart Window On the Colors tab you can specify the colours for the chart window background foreground and grid You can also select colours for the bars candles line graph and other features Properties of EURUSD 4 es Colors Common EURUSD H4 Lorre 137970 1 37502 1 37076 20 Oet 16 00 1 40545 1 40050 1 39540 22 Og 0000 26 Oct 12 00 25 Oct 0400 Background Foreground Grid Bar Up Bar Down Bull candle Bear candle Line graph Volumes Ask line Stop levels Black al Lime w LimeGreen ha E Fed v You can use the Color Scheme drop down menu to select a set of pre defined colour properties You can choose from three types of commonly used colour schemes Color scheme 25320 1 54512 1 ese kanes Green On Black wee Yellow On Black Black On White 113 ze GFT MetaTrader 4 and MetaEditor User Manual To select a colour click on the drop down icon for the setting you want to change and select a colour from
185. you ll see how to specify features on each tab Viewing MetaTrader Server Settings The Server tab in the Options window displays the settings that specify how MetaTrader connects to the GFT servers 116 rs GET MetaTrader 4 and MetaEditor User Manual server Charts Objects Trade Expert Advisors Email Publisher Events Server Example Server ne Data Center auto configuration Enable proxy server Keep personal settings and data at startup Enable DDE server Enable news The Server drop down menu enables you to select one or more servers This should already be set with the server IP address and port number you need The Login and Password text boxes are where your login information is stored If you need to change your password click Change This opens the Change Password window where you can enter and confirm your new password If your version of MetaTrader is set up to use a data centre make sure the Data Center Auto Configuration checkbox Is selected The Keep Personal Settings and Data at Startup checkbox stores personal information and other data about your trading If you are using MetaTrader on a shared computer you can clear your login information by unchecking this checkbox The Enable DDE Server checkbox displays whether expert advisors and other tools in MetaTrader can use the Dynamic Data Exchange DDE a tool on Microsoft Windows operating systems that allows your computer to exchange info
186. you set must differ from market price by at least 30 pips You can see if a position has a stop loss or take profit order associated with it by looking at the Stop Loss S L or Take Profit T P columns in the Trade tab of the Terminal window In the Order window the Stop Loss and Take Profit text boxes will display zeroes if no orders were placed when the original order for the positions was placed When you open the Order window from the Trade tab it displays the Modify Order menu option in the Type drop down menu and appears already set with details about the position s original order You can specify information about your Stop loss or take profit orders in the Modify Order section You can click the Level text box and enter in a new number When you enter a number of points you can view what the orice would be in the Copy As buttons If this price seems right click Copy As to have the price appear in the Stop Loss or Take Profit text boxes If you enter an inappropriate price for either the Stop Loss or Take Profit text boxes MetaTrader disables the Modify button in the window You need to correct the prices to enable this Protecting a Position with Stop Loss and Take Profit Orders 1 Right click in a position row in the Trade tab of the Terminal window and select Modify or Delete Order to open the Order window Make sure Modify Order is selected in the Type drop down menu In the Modify Order section enter the number of po

Download Pdf Manuals

image

Related Search

Related Contents

INSTALLATIONSHANDBUCH - Bosch Security Systems  Avis Technique non valide  1 - Manuals, Specs & Warranty  Printing "Schematic & PCB Design Sample Files"    Safety Manual Safety Manual for QUADLOG® Version 3.32 or Higher  31. Anexo Fichas Toxicologías  全ページ一括表示(PDF:1737KB)  2955842-10/21/2013-010-C  Patriot Memory Supersonic Rage 2 128GB  

Copyright © All rights reserved.
Failed to retrieve file