Technical Support
Total Page:16
File Type:pdf, Size:1020Kb
TECHNICAL SUPPORT Technical Support Main Section = > New Expert Advisor Installation = > Installation | Diagnosing Technical Issues | Backtester Issues See In this document as well: a) New Expert Advisor, Indicator and MT4 platform Installation b) How To Save and Send a Preset File and Logs from your MT4 c) MT4 Navigational Tips and Techniques” *see videos! d) MT4 Common Errors e) Clues for Win8/Win7 / Vista- Turning of the UAC (User Account Control) f) MetaTrader Strategy Tester: Numbers in the Expert Testing Report as Defined MetaTrader Strategy Tester - Part 1and2 MetaTrader History Data Importing and Converting Tutorial for Quality Backtesting90perc MetaTrader 4 Backtesting & Optimization2 g) Leverage and Margin h) How to Set Up a VPS i) How to Force the MT4 for Automatic Updates j) **Updating database according to broker’s data k) ** EA/Indicator Protection ** l) Remote Assistance – Team Viewer Software m) What does “Old tick” mean? n) MetaEditor Problem o) How to Enable the MT4 email function p) Extra (24) FAQs and Clues !! q) How_to_Send_Push_Notifications_from_your_Metatrader4_to_Android: (Download this file: ) https://dl.dropboxusercontent.com/u/36681905/How_to_Send_Push_Notifications_from_your_Metatra der4_to_Android.pdf r) Installing an MQL4 program-How to compile a MQ4 file (Download this file: ) https://dl.dropboxusercontent.com/u/36681905/Installing%20an%20MQL4%20program- How%20to%20compile%20a%20MQ4%20file.pdf s) MT4 Build 600+ AND some articles of how to use the MT4 Platform t) DLLsIssue u) FTP on MT4 v) Make Your Own Chart Template In Metatrader 4 w) "slippage" and "spread" x) How to know if an indicator “repaints” ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT a) 1-How to Install the MT4 platform There are two videos below found on youtube that are very straight forward.. They were not recorded by myself but they cover all installation. The first one: https://www.youtube.com/watch?v=cwznCYo1F6E is a very simple method. The second one https://www.youtube.com/watch?v=aMpEFxWbjaA covers some extra points about the new MT4 +600 platform. Either works fine. 2-New Expert Advisor Installation 1) Close MetaTrader. 2) Open your email and save the attachment( *.ex4 or *.mq4 file) to the appropriate location. Look for broker’s name below to find the right location: Alpari - C:\Program Files\MetaTrader - Alpari UK\MQL4\experts FXDD - C:\Program Files\FXDD - MetaTrader 4\MQL4\experts IKON Royal - C:\Program Files\IKON Royal Trader\MQL4\experts Interbank FX (IBFX) - C:\Program Files\Interbank FX Trader 4 Etc. 3) Open MetaTrader again 4) Click always on MT4’s “Options (Crtl+O) and check these dialog boxes: ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT 5) Look for Expert Advisor in Navigator window. The example below “2550” 6) Left-click on the Expert Advisor’s names once, then drag-and-drop it onto the target trade chart 7) Click on the “inputs” tab. ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT EA options will be displayed. The image below won’t be the exact replica of your EA for each project has different inputs. Push OK when you are done. Expert Advisor WILL NOT execute trades if the button is red or if there is an X in the upper right corner of the chart next to EA’s name. ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT The button appears green and a smiley can be found next to EA’s name if trades are successfully placed. a) 3-New Indicator Installation 1) Close MetaTrader 2) Open your email and save the attachment ( *.ex4 or *.mq4 file) to the appropriate location. Look for broker’s ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT 3) Open your email and save the attachment ( *.ex4 or *.mq4 file) to the appropriate location. Look for broker’s name below to find the right location: C:\Program Files\your broker\MQL4\experts e.g Alpari - C:\Program Files\MetaTrader - Alpari UK\MQL4\experts 4) Open MetaTrader again 5) Look for “Indicators “ in Navigator window. 6) Left-click on the Indicator’s names once, then drag-and-drop it onto the target trade chart 7) Click on the “inputs” tab. ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT EA options will be displayed. The image below won’t be the exact replica of your EA for each project has different inputs. Push OK when you are done. Diagnosing Technical Issues Developing an Expert Advisor is a process that most customers request 1-2 changes to their Expert Advisor. Many potential unrelated programming complications could exist along the process. Examples of non-programming errors could include broker’s requirement of EA’s unique formatting, miscommunication between two parties, time zone differences, vague strategy concepts due to unclearly-defined rules, misunderstanding of indicator functions, Free ongoing technical support to completed projects is provided. ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT Please answer the following questions: o Which broker do you use to run the Expert Advisor? o Does the error occurs in real-time or only on the backtester? o Does the EA miss trades? Or does the EA place trades that are not supposed to open? Please provide the following requested documentation: o Screenshots of specific examples. (see useful programs below) o Specify the currency pair, date and time for the charts included in screenshots. o Attach the log file for the trades in question. The log files are located in C:\Program Files\YOUR BROKER NAME\MQL4\experts\logs. Log files are named after the date in question. January 20, 2008, for example, is named 20080120.log (YYYYMMDD). Send the Settings that you are using as well: Useful Programs: www.jingproject.com A tool used to take screen shots and actual videos of a user’s computer.. www.TeamViewer.com A program used to access another computer remotely via Internet. Backtester Issues If the backtest does not place trades or rarely places trades, the most common reasons are the source code is not formatted for the broker or the historical data is bad. Click on the strategy tester’s journal tab. ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT Report any repetitive errors to project manager. Absence of errors mean failed placement of trade denoting improper EA formatting. Error involving “Invalid Historical Data” could be resolved through accurate data download. Click tools inside MetaTrader, then history center. Click on Import towards the bottom right corner of the History Center. ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT Click on browse. Select the location where you saved the history file. Leave the other fields blank or unchanged. Hit OK. The listed file is seen once currency pair is clicked. If EURUSD history is saved, then EURUSD located left side of the history center needs to be clicked. The price history file then appears on the right side of the screen. Double click the price history icon. Historical data error won’t fix by itself unless it’s double clicked. Otherwise, everything should now work on the backtester. Others Advices: ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT Always click options in your MT4 Plataform (Crtl+O) and check these dialog boxes: MORE ABOUT INSTALLATION, OPTIMIZATION and BACK TESTING EXPERT ADVISORS Metatrader Expert’s advisor should have ex4 or mq4 file extension. *.mq4 means “source code” and “ex4- is the compiled code. Before anything else, it is necessary to copy the file to the folder experts of working directory. “Working directory” we understand as the root directory, which we have installed the MetaTrader 4 terminal. ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT The second step is to restart MetaTrader. After restarting, the expert should be added to the list of experts in Navigator window. It is necessary to stress that the colored icon corresponds to mq4 file. A grayed out navigator window indicates having an ex4 file only , that could also indicate the existence of source code errors. ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT In order to check expert errors, may press F4, the editor of language MQL4 . It is also necessary to load source code of expert into the editor. Press F5 to compile the expert advisor. If successfull, the sentence '0 errors' will appear in conclusion window. Warnings are not errors and their presence does not hinder the successful compilation. ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT Now MetaTrader identifies our EA and the source code of forex expert has not encountered errors. Next logical step is to specify working pair and timeframe for the expert. The easiest way to do it is Drag-and-Drop. It is necessary to select metatrader expert and to do it, just left-click and drag the required chart, then release The other another way is to right-click the mouse to display menus and from there, choose “Attach to and chart” ©2015 Marcelo Marques Pereira, all rights reserved- [email protected] TECHNICAL SUPPORT If the previous steps are carried out correctly, expert setting window will be displayed. Do not forget to press Expert Advisors button located in one of the standard terminal tool bars. Once the steps mentioned are executed successfully, both the forex expert advisor’s name and the smiley appear on the topmost corner of the chart. That would be an indication that an expert is successfully installed and ready to work. Metatrader expert advisor is almost ready to work.