<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alan's Forex Blog &#187; Tutorials</title>
	<atom:link href="http://alansforexblog.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://alansforexblog.com</link>
	<description>An adventure in currency trading</description>
	<lastBuildDate>Tue, 07 Sep 2010 07:31:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MetaTrader Backtesting &#8211; How to Get 99% Modeling Quality</title>
		<link>http://alansforexblog.com/2010/06/14/metatrader-backtesting-how-to-get-99-modeling-quality/</link>
		<comments>http://alansforexblog.com/2010/06/14/metatrader-backtesting-how-to-get-99-modeling-quality/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 14:55:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MetaTrader 4]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[dukascopy tick data]]></category>
		<category><![CDATA[forex tick data]]></category>
		<category><![CDATA[metatrader 4 backtesting]]></category>
		<category><![CDATA[mt4 backtesting]]></category>
		<category><![CDATA[mt4 modeling quality]]></category>
		<category><![CDATA[mt4 tick data]]></category>

		<guid isPermaLink="false">http://alansforexblog.com/?p=11008</guid>
		<description><![CDATA[
			
				
			
		

Greetings everyone!
In today&#8217;s post I&#8217;m going to show you how you can get 99% modeling quality when backtesting using MT4&#8217;s &#8220;Strategy Tester.&#8221; If you&#8217;re a MT4 backtesting veteran you no doubt know that using regular M1 historic data the highest modeling quality you can get is 90%, but what you may or may not know [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F&amp;source=alansmoney&amp;style=normal&amp;hashtags=dukascopy+tick+data,forex+tick+data,metatrader+4+backtesting,mt4+backtesting,mt4+modeling+quality,mt4+tick+data" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignnone size-full wp-image-9713" title="mt4.jpg" src="http://alansforexblog.com/wp-content/uploads/2008/04/mt4.jpg" alt="" width="375" height="275" /></p>
<p>Greetings everyone!</p>
<p>In today&#8217;s post I&#8217;m going to show you how you can get 99% modeling quality when backtesting using MT4&#8217;s &#8220;Strategy Tester.&#8221; If you&#8217;re a MT4 backtesting veteran you no doubt know that using regular M1 historic data the highest modeling quality you can get is 90%, but what you may or may not know is that the accuracy of your backtests can be pushed even higher, BUT you need raw tick data.</p>
<p>How does one obtain such tick data? Well, I asked myself that very same question, and I&#8217;ve looked everywhere for a free source of historical forex tick data and after extensive searching I found it. The only problem is that the tick data is not readily usable by MT4 and as such requires a rather elaborate process of conversion and also a few other tricks to force MT4 to use the converted tick data. That&#8217;s where this tutorial or &#8220;how-to&#8221; comes in. So pay close attention as you MUST follow each step precisely.</p>
<p>You may be asking yourself why would one want to get 99% modeling quality. The answer has to do with scalping. When backtesting an expert advisor that does not attempt to scalp the market the default MT4 history data provides an acceptably accurate level of simulation. However when you&#8217;re trying to backtest a scalping EA even the slightest variation in the price feed can strongly affect performance.</p>
<p>Before I move on I&#8217;d like to mention that a large portion of this tutorial was taken from <a title="Birt's EA Review" href="http://eareview.net/" target="_blank">Birt&#8217;s EA Review website</a>, so please thank him by dropping by this website, subscribe to his RSS feed, etc. The conversion scripts are his too! Massive kudos to Birt for writing them.</p>
<p>Ok, now let&#8217;s move on. First off we need the forex tick data, and so far the best free source I&#8217;ve found is provided by the Swiss forex broker know as <a title="Dukascopy" href="http://www.dukascopy.com/ibentry.php?ibref=415" target="_blank">Dukascopy</a>. This broker has a pretty good reputation from what I read on various internet forums and review sites, but for the moment our only main interest is getting our hands on their high quality tick data. Unlike many other brokers or data feed providers, <a href="http://www.dukascopy.com/ibentry.php?ibref=415" target="_blank">Dukascopy</a> offers <a href="http://www.dukascopy.com/swiss/english/data_feed/historical/?ibref=415" target="_blank">FREE tick data</a> for most most currency pairs spanning from April 2007 to now. Even though the tick data is being offered at no cost, it’s  commercial-quality data and it approaches the ideal of 99% modeling quality. I&#8217;ve been able to get 99% modeling quality in my backtesting on a very consistent basis. The tick data is updated hourly directly from the <a href="http://www.dukascopy.com/ibentry.php?ibref=415" target="_blank">Dukascopy</a> data feed server. The bottom line is that this kicks ass! Now let&#8217;s hurry up and take advantage of this wonderful gift!</p>
<p><span style="text-decoration: underline;"><strong>Necessary Tools:</strong></span></p>
<p>Since the data is downloaded in files that span only 1 hour, some tools  are necessary to download and parse it. These tools are a basically a collection of PHP scripts. Feel free to do whatever you want with the code, but don’t forget to  give credit where it’s due &#8211; meaning to<a href="http://eareview.net/" target="_blank"> Birt</a>.</p>
<p>You can download the script archive <a title="here" onclick="javascript:pageTracker._trackPageview('/download/download/dukascopy_php_scripts_21.04.2010.zip');" href="http://alansforexblog.com/files/dukascopy_php_scripts_21.04.2010.zip" target="_blank">here</a>.</p>
<p>You will find 3 scripts inside:</p>
<ul>
<li>A script for downloading the Dukascopy data, suggestively named  “download_dukascopy_data.php”. As a courtesy for Dukascopy who is  graciously providing free data, even though the script doesn’t download  existing data, it still requests missing files, so, to avoid stressing  their server, please set the dates in the $currencies array at the  beginning of the script to the date of the last download; they’re using  the standard linux seconds-since-1970 format, look up mktime to figure  it out.</li>
<li>A script for processing the downloaded data, which assumes that it’s  in the same directory with the previous script and that the data was  downloaded there (process_dukascopy_data.php); this one needs some  parameters, run it without any for a description or check out the next  script</li>
<li>A small linux shell script that will process all the downloaded data</li>
</ul>
<p>A minimum requirement to run these scripts is a command line PHP with  the CURL extension. If you’re using a windows box you&#8217;re going to need to download the windows version of PHP. Don&#8217;t worry though as a download link will be provided.</p>
<h4><span style="text-decoration: underline;">Windows download &amp; convert to CSV how-to</span></h4>
<p>Start by going to <a title="PHP for Windows" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://windows.php.net/download/');" href="http://windows.php.net/download/" target="_blank">the  windows PHP download section</a> and fetching the latest binary version  as a zip file.<br />
Once you’ve done that, unpack it to c:\php\ and also unpack the scripts  from <a title="Dukascopy PHP scripts" onclick="javascript:pageTracker._trackPageview('/download/download/dukascopy_php_scripts_21.04.2010.zip');" href="http://alansforexblog.com/files/dukascopy_php_scripts_21.04.2010.zip" target="_blank">dukascopy_php_scripts.zip</a> in the same directory.<br />
Rename c:\php\php.ini-development to c:\php\php.ini.<br />
Edit c:\php\php.ini, search for<br />
<code>;extension=php_curl.dll</code><br />
and remove the semicolon in front of the line and add an “ext/” in front  of “php_curl.dll” so that it looks like this:<br />
<code>extension=ext/php_curl.dll</code><br />
Save the file and exit.<br />
Edit 21.04.2010: if you run into a zip error and your PHP installation  has an ext/php_zip.dll, apply the above for extension=ext/php_zip.dll.<br />
Click start-&gt;run and type<br />
<code>cmd</code><br />
then click ok (or alternatively type<br />
<code>cmd</code><br />
then hit enter in the windows 7/vista “search programs and files” box in  the start menu).<br />
Type<br />
<code>cd \php</code><br />
in the command window.<br />
Type<br />
<code>php download_dukascopy_data.php</code><br />
Have a coffee. Have another coffee. Go sleep. Go to work. Go to the gym.  Go to a club. Wait some more. I’m not kidding, it takes ages. You can  check the progress by watching the currency pair directories get filled.  You can change the array at the beginning of the file to switch the  order or to remove some pairs you don’t want. The number next to each  pair is the timestamp at which to start downloading. If you get any  strange errors, run the process again when it’s finished – it will only  download any files that were missed in the first step due to network  errors.<br />
Edit 23.11.2009: if you want to easily convert from a regular date to a  unix timestamp, you can use <a onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.epochconverter.com/');" href="http://www.epochconverter.com/" target="_blank">Epoch  Converter</a>, a very easy to use online tool.<br />
When the download is finished, assuming you wanted to get the EURUSD  data up to 01.11.2009, you’d type<br />
<code>php process_dukascopy_data.php EURUSD 200702 200911 EURUSD.csv</code><br />
and the output will be placed in EURUSD.csv.<br />
Alternatively, you can type<br />
<code>process.bat</code><br />
which will batch process all the currency data. It’s mostly safe to  ignore the error spam at this step.<br />
This should be it, if everything went ok you should have your CSV files  in the same c:\php folder.<br />
<strong>Warning: make sure you have enough space on your harddisk. The  downloaded tick files have over 7.5 GB while the CSV files have close to  60 GB at the time of this writing.</strong></p>
<h4><span style="text-decoration: underline;">Using the tick data</span></h4>
<p>Now, in order to use the CSV files, you need to perform some steps</p>
<ol>
<li>Convert the data to FXT &amp; HST</li>
<li>Copy the FXT &amp; HST to the correct folders</li>
<li>Run MT4 with a loader to allow loading your custom FXT file, then  start backtesting</li>
</ol>
<p>I’ll go through each step below:</p>
<h4><span style="text-decoration: underline;">Converting the data to an MT4 format</span></h4>
<p>To convert the data to an FXT file (and the accompanying HST files)  usable in Metatrader 4, you need a new script that you can download <a title="here" onclick="javascript:pageTracker._trackPageview('/download/download/dukascopy_mql_scripts_22.04.2010.zip');" href="http://alansforexblog.com/files/dukascopy_mql_scripts_22.04.2010.zip" target="_blank">here</a>.</p>
<p><!-- Easy AdSense V2.82 --> <!-- Post[count: 2] -->This script is based on GainData2fxt.mq4, an  older script by an anonymous author and on  FXTHeader.mqh, written by stringo@codebase.mql4.com.</p>
<p>This script has been updated to allow switching the  GMT offset of the resulting FXT &amp; HST files and to allow exporting  the real spread in the file.</p>
<p>You have to perform the following steps in order to convert the CSV  data:</p>
<ul>
<li>Copy the files from the dukascopy_mql_scripts_22.04.2010.zip archive  to your MT4 installation. There’s a directory structure inside, make  sure they land in the proper places</li>
<li>Move the tick data file (the CSV file) to experts\files</li>
<li>Open a chart for the pair that you have data for (if you have  EURUSD.csv you MUST open an EURUSD chart)</li>
<li>Select the timeframe that you wish to generate the FXT for (if you  want to backtest on H1, then select H1 as the chart timeframe)</li>
<li>Double click the Dukascopy2FXT script in the navigation panel (it’s  in the scripts section) and configure the parameters in the window that  pops up.</li>
<li>Configure the parameters.<br />
For CsvFile you don’t need to write anything if the file is named just  like the symbol and has a CSV extension; otherwise, just type the file  name there.<br />
Select “true” for CreateHst only if you want the script to create HST  files. You do not need to perform this step more than once (leave it on  “false” if you’re regenerating data for a different timeframe), because  if this parameter is set to true, history will be generated for the  whole span of the CSV file and for all timeframes, regardless of the  start/end date you configure (note that the FXT file is still limited by  those).<br />
By using the Spread parameter, you can configure the desired spread of  the FXT file. If left at 0, it will use the current spread that your  broker has. A special note here would be that many brokers are widening  their spreads during the weekends, so pay close attention. If set to  anything other than zero, it will use the number as the spread; if your  broker is a 5 digit broker, you have to enter 20 for a spread of 2 pips,  while if your broker is a 4 digit broker, you would just have to enter  2. Small trick to change the spread without regenerating an FXT: open  the existing FXT file with a hex editor; the spread is at offset 0xFC.<br />
The StartDate and EndDate fields control the span of the FXT file. There  is a programming design bug in MT4, where the client is unable to read  FXT files larger than 2GB and seeing that the tick data is rather huge,  it’s very likely that your resulting file might be larger than that if  you don’t pay attention. I added a “block” so the creation of the FXT  file stops at 2GB, but keep in mind that if you don’t use set limits,  you will probably not get the resulting data range that you desire. A  good rule of the thumb is to use ~12 month periods for EURUSD and 16  month periods for any other currency. If the currency CSV file is below  2GB, most likely your resulting FXT file will be below 2GB as well and  you’re probably safe to generate it for the whole range available in the  CSV. The format of the StartDate and EndDate fields is YYYY.MM.DD and  if left blank the script will just use the earliest, respectively the  latest date available in the CSV file.</li>
<li>Click “Ok”. Once you do that, the data generation process will start  and it will typically take 5 to 30 minutes, depending on the data range  and volume, possibly even more if you’re using a slow machine. When the  processing is finished, you will get an alert and some data will be  printed in the Experts log.</li>
<li>Some people experienced miscellaneous issues. If your particular  case is not listed here, feel free to drop a comment, I might be able to  help.<br />
Among the common problems that the people encounter it’s worth  mentioning the Windows 7 / Windows Vista users that run MT4 from their  Program Files folder and that are unable to find the resulting files.  The issue is caused by the fact that they have UAC enabled and these  operating systems use folder virtualization. For Windows 7, the  resulting files can be found in c:\ProgramData\ typically, while for  Windows Vista they can be found in  c:\Users\username\AppData\Local\VirtualStore\Program Files\. If they’re  not there, just search for *.FXT, they must be somewhere. To get around  this problem, either copy your MT4 folder in a location that’s not  protected by UAC or simply disable UAC (type UAC in the start-&gt;search  box thing and follow the on-screen process).<br />
Another issue experienced by some users is the lack of a MIN_LOT and  LOT_STEP for the symbol in the resulted FXT file. This is caused by  generating the FXT file with a MT4 client that has never been connected  to a broker. <strong>When generating a file, do that on an MT4 client  that has been connected to your broker at least once.</strong> Aka don’t  use a “virgin” installation that has never seen a demo account.</li>
</ul>
<h4><span style="text-decoration: underline;">Copying the data to the correct location</span></h4>
<p>After the script above has finished running, you will end up with a  lot of files in your “experts\files” folder. At this point, exit the MT4  terminal then proceed to moving any .HST files from “experts\files” to  “history\your_server_name”. Pay very close attention if you have  multiple server directories in your “history” folder – you will have to  move them into the one that’s correct for active account!<br />
Note: unless you modify the CSV or get a new one, the HST files only  need to be generated and moved once.<br />
After moving the HST files, move the generated FXT file from  “experts\files” to “tester\history”.</p>
<h4><span style="text-decoration: underline;">Using the data in a backtest</span></h4>
<p>Since the recent MT4 clients no longer offer the ability to use  custom FXT files, a special loader is needed. You can download it <a title="here" onclick="javascript:pageTracker._trackPageview('/download/download/fxt_loader.zip');" href="http://alansforexblog.com/files/fxt_loader.zip" target="_blank">here</a>, it works <strong>only</strong> with the MT4  version commonly known as 225 (version 4.00 build 225).<br />
To use the files you created in a backtest, you will have to copy the  exe inside fxt_loader.zip into the folder of your MT4 client and instead  of running terminal.exe, run “fxt loader.exe”. If you’re worried about  running executable files and you can do a manual patch, here are the  offsets and data:<br />
<code><br />
hex offset -&gt; old byte -&gt; new byte<br />
1402FC -&gt; EE -&gt; 00<br />
1402FD -&gt; 02 -&gt; 00<br />
14041B -&gt; 9D -&gt; 00<br />
14041C -&gt; 01 -&gt; 00<br />
140521 -&gt; 97 -&gt; 00<br />
</code><br />
What the loader does is disabling the MT4 default behavior to regenerate  the backtest files every time you start a new test – so, if a file is  already there, a new one will not be generated. By placing the FXT file  you generated with the script in the tester\history folder, you ensure  that it’s the file it is going to use for your backtest; of course, the  selected backtest currency pair and timeframe must coincide with what  you generated the FXT with.</p>
<p>As an alternative to the loader above, you can use <a title="FXT Multiloader" onclick="javascript:pageTracker._trackPageview('/download/download/fxt_multiloader.zip');" href="http://alansforexblog.com/files/fxt_multiloader.zip" target="_blank">this  loader</a> which, in addition to what the other one does, will also let  you run multiple instances of the terminal from the same installation  folder. Read the comments below for more info and the patched offsets.</p>
<p>Also there is a new <a title="build 226 loader" onclick="javascript:pageTracker._trackPageview('/download/download/226_loader.zip');" href="http://alansforexblog.com/files/226_loader.zip" target="_blank">build  226 loader</a>. It also includes an MQL script for the people who don’t  want to run EXE files or who have particularly dumb antivirus packages;  if you want to use the script version, start MT4 then put the script on  any chart to enable the FXT functionality. However, keep in mind that  while you can start more than an instance of the same MT4 client with  the loader, you can’t do so with the script. If you want the patch  offsets, they can be found in the script. Note that running the script  on a build other than 226 (225 for example) will surely make it crash,  so double check what build you’re running before you use it. On a  separate note, you can make a similar script for build 225 by using the  offsets posted above.</p>
<h4><span style="text-decoration: underline;">How to verify it worked?</span></h4>
<p>Easy! If your test is running and the file in tester\history  was not recreated, it means everything is OK and you&#8217;re in business!</p>
<h4><span style="text-decoration: underline;">GMT offset</span></h4>
<p>This is a sensitive issue for many EAs. The Dukascopy data seems to  be GMT-based all around the year, so the GMT offset that you need to use  is 0. As of 21.04.2010, the Dukascopy and Oanda MQL scripts have an  external parameter that lets you specify the GMT offset you would like  for the resulting data, both HST and FXT.</p>
<h4><span style="text-decoration: underline;">Oanda tick data</span></h4>
<p>If you’re one of the lucky people who can get the Oanda tick data  (it’s only available to people who have an account there funded with  over 1k USD), get it in CSV format and use <a onclick="javascript:pageTracker._trackPageview('/download/download/oanda_mql_scripts_22.04.2010.zip');" href="http://alansforexblog.com/files/oanda_mql_scripts_22.04.2010.zip" target="_blank">the  Oanda2FXT MQL script</a>. It works just like the Dukascopy2FXT script  described above.</p>
<h4><span style="text-decoration: underline;">Variable spread backtesting</span></h4>
<p>If you want your backtest to be even more accurate, as of 21.04.2010  you also have the option to use the real spread from the tick data. All  you have to do is:</p>
<p>1. Make sure you’re using the <a onclick="javascript:pageTracker._trackPageview('/download/download/dukascopy_mql_scripts_22.04.2010.zip');" href="http://alansforexblog.com/files/dukascopy_mql_scripts_22.04.2010.zip" target="_blank">latest  Dukascopy MQL script</a> or the <a onclick="javascript:pageTracker._trackPageview('/download/download/oanda_mql_scripts_22.04.2010.zip');" href="http://alansforexblog.com/files/oanda_mql_scripts_22.04.2010.zip" target="_blank">latest  Oanda MQL script</a>.</p>
<p>2. When running the script, set UseRealSpread to true.</p>
<p>3. When loading the terminal, use <a onclick="javascript:pageTracker._trackPageview('/download/download/mt4b255-multiloader_spread.zip');" href="http://alansforexblog.com/files/mt4b255-multiloader_spread.zip" target="_blank">the  variable spread loader</a> (which is different from the other loaders).</p>
<p>Note that as of now, this only works on Metatrader 4 build 225. I  don’t think I’ll be making one for 226 anytime soon, so if there’s  anyone who fancies asm and thinks they can handle porting it to 226,  here’s what I changed:<br />
<code><br />
00401323     DA0D 36134000             FIMUL DWORD PTR DS:[401336]<br />
00401329     DB17                      FIST DWORD PTR DS:[EDI]<br />
0040132B     E9 26020000               JMP terminal.00401556</code><br />
<code><br />
00401336     A0860100                  //100000<br />
0040133A     ACC52737                  //0.00001</code><br />
<code><br />
00401556     DA27                      FISUB DWORD PTR DS:[EDI]<br />
00401558     D815 3A134000             FCOM DWORD PTR DS:[40133A]<br />
0040155E     EB 12                     JMP SHORT terminal.00401572</code><br />
<code><br />
00401572     DFE0                      FSTSW AX<br />
00401574     F6C4 01                   TEST AH,1<br />
00401577     E9 E5020000               JMP terminal.00401861</code><br />
<code><br />
00401861     DC42 1C                   FADD QWORD PTR DS:[EDX+1C]<br />
00401864     74 06                     JE SHORT terminal.0040186C<br />
00401866     DC83 20030000             FADD QWORD PTR DS:[EBX+320]<br />
0040186C     C3                        RETN</code><br />
<code><br />
00541209     E8 1501ECFF               CALL terminal.00401323<br />
0054120E     90                        NOP</code></p>
<p><span style="text-decoration: underline;"><strong>Downloads:</strong></span></p>
<p>For easy reference here are all the files referred to in this post.</p>
<p><a title="Dukascopy data download / parse scripts" onclick="javascript:pageTracker._trackPageview('/download/download/dukascopy_php_scripts_21.04.2010.zip');" href="http://alansforexblog.com/files/dukascopy_php_scripts_21.04.2010.zip" target="_blank">Dukascopy data download / parse scripts</a><br />
<a title="Dukascopy MQL process scripts" onclick="javascript:pageTracker._trackPageview('/download/download/dukascopy_mql_scripts_22.04.2010.zip');" href="http://alansforexblog.com/files/dukascopy_mql_scripts_22.04.2010.zip" target="_blank">Dukascopy MQL process scripts</a><br />
<a title="MT4 build 225 FXT loader" onclick="javascript:pageTracker._trackPageview('/download/download/fxt_loader.zip');" href="http://alansforexblog.com/files/fxt_loader.zip" target="_blank">MT4 build 225 FXT loader</a><br />
<a title="MT4 build 225 FXT multiloader" onclick="javascript:pageTracker._trackPageview('/download/download/fxt_multiloader.zip');" href="http://alansforexblog.com/files/fxt_multiloader.zip" target="_blank">MT4 build 225 FXT multiloader</a><br />
<a title="MT4 build 225 FXT multiloader with variable spread" onclick="javascript:pageTracker._trackPageview('/download/download/mt4b255-multiloader_spread.zip');" href="http://alansforexblog.com/files/mt4b255-multiloader_spread.zip" target="_blank">MT4 build 225 FXT multiloader with variable spread</a><br />
<a title="MT4 build 226 FXT multiloader" onclick="javascript:pageTracker._trackPageview('/download/download/226_loader.zip');" href="http://alansforexblog.com/files/226_loader.zip" target="_blank">MT4 build 226 FXT multiloader and script</a><br />
<a title="Gain Capital data tools" onclick="javascript:pageTracker._trackPageview('/download/download/gaincapital_php_scripts.zip');" href="http://alansforexblog.com/files/gaincapital_php_scripts.zip" target="_blank"></a><a title="Oanda MQL Process script" onclick="javascript:pageTracker._trackPageview('/download/download/oanda_mql_scripts_22.04.2010.zip');" href="http://alansforexblog.com/files/oanda_mql_scripts_22.04.2010.zip" target="_blank">Oanda MQL Process script</a></p>
<p>I hope you found this tutorial useful! Thanks goes out once again to <a href="http://eareview.net/" target="_blank">Birt</a> for writing the PHP scripts and the how-to guide. If you wish to chat with other forex traders about MT4 backtesting in general or specifically about this method of achieving 99% modeling quality I strongly recommend you join the <a title="Forex Nirvana Forum" href="http://www.forexnirvana.com" target="_blank">Forex Nirvana forum</a>. The specific forum section dedicated MT4 backtesting is located here:</p>
<p><a href="http://www.forexnirvana.com/f41/" target="_blank">http://www.forexnirvana.com/f41/</a></p>
<p>Happy backtesting everyone!</p>
<p>Cheers,</p>
<p>Alan</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F&amp;partner=sociable" title="Print"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F&amp;title=MetaTrader%20Backtesting%20-%20How%20to%20Get%2099%25%20Modeling%20Quality&amp;bodytext=%0D%0A%0D%0AGreetings%20everyone%21%0D%0A%0D%0AIn%20today%27s%20post%20I%27m%20going%20to%20show%20you%20how%20you%20can%20get%2099%25%20modeling%20quality%20when%20backtesting%20using%20MT4%27s%20%22Strategy%20Tester.%22%20If%20you%27re%20a%20MT4%20backtesting%20veteran%20you%20no%20doubt%20know%20that%20using%20regular%20M1%20historic%20data%20the%20highes" title="Digg"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F" title="Sphinn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F&amp;title=MetaTrader%20Backtesting%20-%20How%20to%20Get%2099%25%20Modeling%20Quality&amp;notes=%0D%0A%0D%0AGreetings%20everyone%21%0D%0A%0D%0AIn%20today%27s%20post%20I%27m%20going%20to%20show%20you%20how%20you%20can%20get%2099%25%20modeling%20quality%20when%20backtesting%20using%20MT4%27s%20%22Strategy%20Tester.%22%20If%20you%27re%20a%20MT4%20backtesting%20veteran%20you%20no%20doubt%20know%20that%20using%20regular%20M1%20historic%20data%20the%20highes" title="del.icio.us"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F&amp;t=MetaTrader%20Backtesting%20-%20How%20to%20Get%2099%25%20Modeling%20Quality" title="Facebook"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F&amp;title=MetaTrader%20Backtesting%20-%20How%20to%20Get%2099%25%20Modeling%20Quality" title="Mixx"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F&amp;title=MetaTrader%20Backtesting%20-%20How%20to%20Get%2099%25%20Modeling%20Quality&amp;annotation=%0D%0A%0D%0AGreetings%20everyone%21%0D%0A%0D%0AIn%20today%27s%20post%20I%27m%20going%20to%20show%20you%20how%20you%20can%20get%2099%25%20modeling%20quality%20when%20backtesting%20using%20MT4%27s%20%22Strategy%20Tester.%22%20If%20you%27re%20a%20MT4%20backtesting%20veteran%20you%20no%20doubt%20know%20that%20using%20regular%20M1%20historic%20data%20the%20highes" title="Google Bookmarks"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  target="_blank" href="http://blogplay.com" title="Blogplay"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F&amp;partner=sociable" title="PDF"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://alansforexblog.com/feed/" title="RSS"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=MetaTrader%20Backtesting%20-%20How%20to%20Get%2099%25%20Modeling%20Quality%20-%20http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F" title="Twitter"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=MetaTrader%20Backtesting%20-%20How%20to%20Get%2099%25%20Modeling%20Quality&amp;body=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F" title="email"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F&amp;title=MetaTrader%20Backtesting%20-%20How%20to%20Get%2099%25%20Modeling%20Quality&amp;source=Alan%27s+Forex+Blog+An+adventure+in+currency+trading&amp;summary=%0D%0A%0D%0AGreetings%20everyone%21%0D%0A%0D%0AIn%20today%27s%20post%20I%27m%20going%20to%20show%20you%20how%20you%20can%20get%2099%25%20modeling%20quality%20when%20backtesting%20using%20MT4%27s%20%22Strategy%20Tester.%22%20If%20you%27re%20a%20MT4%20backtesting%20veteran%20you%20no%20doubt%20know%20that%20using%20regular%20M1%20historic%20data%20the%20highes" title="LinkedIn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F&amp;t=MetaTrader%20Backtesting%20-%20How%20to%20Get%2099%25%20Modeling%20Quality" title="MySpace"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Falansforexblog.com%2F2010%2F06%2F14%2Fmetatrader-backtesting-how-to-get-99-modeling-quality%2F" title="Technorati"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://alansforexblog.com/2010/06/14/metatrader-backtesting-how-to-get-99-modeling-quality/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Analyzing MetaTrader Strategy Tester Backtest Results</title>
		<link>http://alansforexblog.com/2010/02/10/analyzing-metatrader-strategy-tester-backtest-results/</link>
		<comments>http://alansforexblog.com/2010/02/10/analyzing-metatrader-strategy-tester-backtest-results/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 08:35:13 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[MetaTrader 4]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://alansforexblog.com/2010/02/10/analyzing-metatrader-strategy-tester-backtest-results/</guid>
		<description><![CDATA[
			
				
			
		
Okay, so you’ve set up your history data and completed your backtest using Metatrader Strategy Tester.  Now let’s look at the results.
There are four tabs to look through:  Report, Graph, Results, and Journal
Report:
This is the meat of the backtest. All the statistics of the backtest are displayed here.

• Bars In Test – Displays [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F&amp;source=alansmoney&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p class="text-grey-14">Okay, so you’ve <a href="http://alansforexblog.com/2010/02/10/how-to-set-up-metatrader-history-data-and-get-90-backtesting-quality/">set up your history data</a> and completed your <a href="http://alansforexblog.com/2010/02/10/backtesting-with-metatrader%e2%80%99s-strategy-tester/">backtest using Metatrader Strategy Tester</a>.  Now let’s look at the results.</p>
<p>There are four tabs to look through:  <strong>Report</strong>, <strong>Graph</strong>, <strong>Results</strong>, and <strong>Journal</strong></p>
<h2>Report:</h2>
<p>This is the meat of the backtest. All the statistics of the backtest are displayed here.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/backtesting/fade-machine-2002-report.jpg" width="550"/></p>
<p><strong>• Bars In Test</strong> – Displays the depth of the history on which the modeling was based.</p>
<p><strong>• Ticks Modelled</strong> – Displays the size of the modeled sequence. Every record of the sequence represents the bar state (OHLCV) at one or another moment. Different bar states can be modeled depending on the timeframe, modeling method, and presence of history data from smaller timeframes within a bar.</p>
<p><strong>• Modelling Quality</strong> – Calculated according to the following formula.  This should be 90%.  If not, read the article on <a href="http://alansforexblog.com/2010/02/10/how-to-set-up-metatrader-history-data-and-get-90-backtesting-quality/">downloading and setting up history data</a>.</p>
<p><strong><small>ModellingQuality = ((0.25*(StartGen-StartBar) +<br />
0.5*(StartGenM1-StartGen) +<br />
0.9*(HistoryTotal-StartGenM1)) / (HistoryTotal-StartBar))*100%;</small></strong></p>
<p><strong>• Gross Profit</strong> – The summed up profit for all profitable transactions;</p>
<p><strong>• Gross Loss</strong> – The summed up loss for all unprofitable transactions;</p>
<p><strong>• Total Net Profit</strong> – The Gross profit minus the Gross loss.</p>
<p><strong><small>TotalNetProfit = GrossProfit – GrossLoss</small></strong></p>
<p><strong>• Profit Factor</strong> – Profit factor, shows the ratio between gross profit and gross loss. The larger this number is, the better.</p>
<p><strong><small>        ProfitFactor = GrossProfit / GrossLoss</small></strong></p>
<p><strong>• Expected Payoff</strong> –  Calculated as follows:</p>
<p><strong><small>        Expected Payoff = (ProfitTrades / TotalTrades) * (GrossProfit / ProfitTrades) –<br />
(LossTrades / TotalTrades) * (GrossLoss / LossTrades)<br />
</small></strong></p>
<p><strong>• Absolute Drawdown</strong> – Absolute drawdown is the difference between the initial deposit and the smallest value of balance within testing:</p>
<p><strong><small>        AbsoluteDrawDown = InitialDeposit – MinimalBalance</small></strong></p>
<p><strong>• Maximal Drawdown</strong> –  The highest difference between one of local upper extremums of the balance graph and the following lower extremums:</p>
<p><strong><small>        MaximalDrawDown = Max of (Maximal Peak – next Minimal Peak)</small></strong></p>
<p>The rest of the statistics are pretty self explanatory, so we won’t waste time defining those. For more information on this, visit <a href="http://www.metaquotes.net/experts/articles/tester_report/" target="blank">Metatrader’s website on backtesting</a></p>
<h2>Graph:</h2>
<p>This is pretty obvious, it is a graph of the Expert advisor’s trade results.  The green lines at the bottom mark the lot sizes.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/backtesting/fade-machine-2002-graph.jpg" width="550" /></p>
<h2>Results:</h2>
<p>This tab displays every order placed with the running total of your account balance.</p>
<h2>Journal:</h2>
<p>This displays any errors and status messages.</p>
<p>Original article source: The Trade Machine (c)</p>
<p><a href="http://thetrademachine.com/blog/2009/10/02/analyzing-backtest-results-in-metatrader-strategy-tester/" target="_blank">http://thetrademachine.com/blog/2009/10/02/analyzing-backtest-results-in-metatrader-strategy-tester/</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F&amp;partner=sociable" title="Print"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F&amp;title=Analyzing%20MetaTrader%20Strategy%20Tester%20Backtest%20Results%20&amp;bodytext=Okay%2C%20so%20you%E2%80%99ve%20set%20up%20your%20history%20data%20and%20completed%20your%20backtest%20using%20Metatrader%20Strategy%20Tester.%20%20Now%20let%E2%80%99s%20look%20at%20the%20results.%0D%0A%0D%0AThere%20are%20four%20tabs%20to%20look%20through%3A%20%20Report%2C%20Graph%2C%20Results%2C%20and%20Journal%0D%0AReport%3A%0D%0AThis%20is%20the%20meat%20of%20the%20" title="Digg"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F" title="Sphinn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F&amp;title=Analyzing%20MetaTrader%20Strategy%20Tester%20Backtest%20Results%20&amp;notes=Okay%2C%20so%20you%E2%80%99ve%20set%20up%20your%20history%20data%20and%20completed%20your%20backtest%20using%20Metatrader%20Strategy%20Tester.%20%20Now%20let%E2%80%99s%20look%20at%20the%20results.%0D%0A%0D%0AThere%20are%20four%20tabs%20to%20look%20through%3A%20%20Report%2C%20Graph%2C%20Results%2C%20and%20Journal%0D%0AReport%3A%0D%0AThis%20is%20the%20meat%20of%20the%20" title="del.icio.us"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F&amp;t=Analyzing%20MetaTrader%20Strategy%20Tester%20Backtest%20Results%20" title="Facebook"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F&amp;title=Analyzing%20MetaTrader%20Strategy%20Tester%20Backtest%20Results%20" title="Mixx"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F&amp;title=Analyzing%20MetaTrader%20Strategy%20Tester%20Backtest%20Results%20&amp;annotation=Okay%2C%20so%20you%E2%80%99ve%20set%20up%20your%20history%20data%20and%20completed%20your%20backtest%20using%20Metatrader%20Strategy%20Tester.%20%20Now%20let%E2%80%99s%20look%20at%20the%20results.%0D%0A%0D%0AThere%20are%20four%20tabs%20to%20look%20through%3A%20%20Report%2C%20Graph%2C%20Results%2C%20and%20Journal%0D%0AReport%3A%0D%0AThis%20is%20the%20meat%20of%20the%20" title="Google Bookmarks"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  target="_blank" href="http://blogplay.com" title="Blogplay"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F&amp;partner=sociable" title="PDF"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://alansforexblog.com/feed/" title="RSS"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Analyzing%20MetaTrader%20Strategy%20Tester%20Backtest%20Results%20%20-%20http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F" title="Twitter"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Analyzing%20MetaTrader%20Strategy%20Tester%20Backtest%20Results%20&amp;body=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F" title="email"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F&amp;title=Analyzing%20MetaTrader%20Strategy%20Tester%20Backtest%20Results%20&amp;source=Alan%27s+Forex+Blog+An+adventure+in+currency+trading&amp;summary=Okay%2C%20so%20you%E2%80%99ve%20set%20up%20your%20history%20data%20and%20completed%20your%20backtest%20using%20Metatrader%20Strategy%20Tester.%20%20Now%20let%E2%80%99s%20look%20at%20the%20results.%0D%0A%0D%0AThere%20are%20four%20tabs%20to%20look%20through%3A%20%20Report%2C%20Graph%2C%20Results%2C%20and%20Journal%0D%0AReport%3A%0D%0AThis%20is%20the%20meat%20of%20the%20" title="LinkedIn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F&amp;t=Analyzing%20MetaTrader%20Strategy%20Tester%20Backtest%20Results%20" title="MySpace"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fanalyzing-metatrader-strategy-tester-backtest-results%2F" title="Technorati"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://alansforexblog.com/2010/02/10/analyzing-metatrader-strategy-tester-backtest-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MetaTrader Optimization</title>
		<link>http://alansforexblog.com/2010/02/10/metatrader-optimization/</link>
		<comments>http://alansforexblog.com/2010/02/10/metatrader-optimization/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 08:27:01 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[MetaTrader 4]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://alansforexblog.com/2010/02/10/metatrader-optimization/</guid>
		<description><![CDATA[
			
				
			
		
Metatrader’s Strategy Tester allows you to optimize your expert advisor to find the most profitable settings for the multitude of possible input variable combinations. You can optimize an expert advisor on a specific chart for a specific time period to find out which input values produced the highest returns and lowest drawdown.
However, it is important [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F&amp;source=alansmoney&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Metatrader’s Strategy Tester allows you to optimize your expert advisor to find the most profitable settings for the multitude of possible input variable combinations. You can optimize an expert advisor on a specific chart for a specific time period to find out which input values produced the highest returns and lowest drawdown.</p>
<p>However, it is important to remember that you should not over-optimize. You may get amazing results with a specific input combination, but because the values are so constrained, you probably won’t see results like that in the future. When optimizing an expert advisor, remember to use your head and think about why you are getting the results you are. Was it from one huge winner that you are unlikely to see in the future? Or did it win many times, making it a plausible trade setup for the future.</p>
<p>Don’t forget, you need to have high quality minute data for optimization to be worthwhile.   See the article on <a href="http://alansforexblog.com/2010/02/10/how-to-set-up-metatrader-history-data-and-get-90-backtesting-quality/">setting up your metatrader history data</a>.</p>
<h2>How To Optimize – Step By Step</h2>
<p>To get started optimizing your expert advisor, open Strategy Tester.  If you are new to backtesting, read the article:  <a href="http://alansforexblog.com/2010/02/10/backtesting-with-metatrader%e2%80%99s-strategy-tester/">How to Backtest in Metatrader</a></p>
<p>Select the <em>Expert Advisor</em> from the pull down menu.  Choose a currency <em>Symbol </em>and <em>Period</em>.  Select <strong>Every Tick</strong> for <em>Model</em>. Check <em>Use Date</em> and select a time frame that you have high quality minute history data for.   Finally check the box next to <em>Optimization</em>.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/optimization/optimization-check-box.jpg" width="550"/></p>
<p>Next, click on the Expert Properties button on the right. Select the INPUTS tab to enter the range of values you will optimize for. The <em>Start </em>value is the lowest value that you start from.  <em>Stop </em>is the highest.  And <em>Step </em>is the increment that you step through the range.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/optimization/optimization-inputs.jpg" width="550"/></p>
<p>For the TakeProfit value, you can see that we start at 50, step through at 25, and stop at 300. This will test every value inbetween 50 and 300 in a 25 increment. So, 50, 75, 100, 125, all the way up to 300. The same idea applies to the other variables.</p>
<p>The checkbox on the left must be checked to optimize for that variable.  Otherwise, it will use the regular <em>Value</em>.</p>
<p>When you’re finished entering your input values, click OK. Now we’re ready to start the optimization. Click the Start button on the bottom right of the Strategy Tester window. The backtest may take minutes or hours depending on how many values you are optimizing for. You may want to choose a larger increment <em>Step </em>value or a smaller range if it is taking too long.</p>
<p>After the optimization has completed, select the Optimization Results tab to look through the results. You can sort by the values at the top. Select <em>Profit </em>to view in order of highest returns, or <em>Drawdown </em>to see which values had the least risk.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/optimization/optimization-results-tab.jpg" width="550"/></p>
<p>Original article source: The Trade Machine (c)</p>
<p>http://thetrademachine.com/blog/2009/10/08/metatrader-optimization/</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F&amp;partner=sociable" title="Print"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F&amp;title=MetaTrader%20Optimization&amp;bodytext=Metatrader%E2%80%99s%20Strategy%20Tester%20allows%20you%20to%20optimize%20your%20expert%20advisor%20to%20find%20the%20most%20profitable%20settings%20for%20the%20multitude%20of%20possible%20input%20variable%20combinations.%20You%20can%20optimize%20an%20expert%20advisor%20on%20a%20specific%20chart%20for%20a%20specific%20time%20perio" title="Digg"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F" title="Sphinn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F&amp;title=MetaTrader%20Optimization&amp;notes=Metatrader%E2%80%99s%20Strategy%20Tester%20allows%20you%20to%20optimize%20your%20expert%20advisor%20to%20find%20the%20most%20profitable%20settings%20for%20the%20multitude%20of%20possible%20input%20variable%20combinations.%20You%20can%20optimize%20an%20expert%20advisor%20on%20a%20specific%20chart%20for%20a%20specific%20time%20perio" title="del.icio.us"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F&amp;t=MetaTrader%20Optimization" title="Facebook"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F&amp;title=MetaTrader%20Optimization" title="Mixx"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F&amp;title=MetaTrader%20Optimization&amp;annotation=Metatrader%E2%80%99s%20Strategy%20Tester%20allows%20you%20to%20optimize%20your%20expert%20advisor%20to%20find%20the%20most%20profitable%20settings%20for%20the%20multitude%20of%20possible%20input%20variable%20combinations.%20You%20can%20optimize%20an%20expert%20advisor%20on%20a%20specific%20chart%20for%20a%20specific%20time%20perio" title="Google Bookmarks"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  target="_blank" href="http://blogplay.com" title="Blogplay"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F&amp;partner=sociable" title="PDF"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://alansforexblog.com/feed/" title="RSS"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=MetaTrader%20Optimization%20-%20http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F" title="Twitter"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=MetaTrader%20Optimization&amp;body=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F" title="email"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F&amp;title=MetaTrader%20Optimization&amp;source=Alan%27s+Forex+Blog+An+adventure+in+currency+trading&amp;summary=Metatrader%E2%80%99s%20Strategy%20Tester%20allows%20you%20to%20optimize%20your%20expert%20advisor%20to%20find%20the%20most%20profitable%20settings%20for%20the%20multitude%20of%20possible%20input%20variable%20combinations.%20You%20can%20optimize%20an%20expert%20advisor%20on%20a%20specific%20chart%20for%20a%20specific%20time%20perio" title="LinkedIn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F&amp;t=MetaTrader%20Optimization" title="MySpace"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fmetatrader-optimization%2F" title="Technorati"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://alansforexblog.com/2010/02/10/metatrader-optimization/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backtesting with MetaTrader’s Strategy Tester</title>
		<link>http://alansforexblog.com/2010/02/10/backtesting-with-metatrader%e2%80%99s-strategy-tester/</link>
		<comments>http://alansforexblog.com/2010/02/10/backtesting-with-metatrader%e2%80%99s-strategy-tester/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 08:20:32 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[MetaTrader 4]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://alansforexblog.com/2010/02/10/backtesting-with-metatrader%e2%80%99s-strategy-tester/</guid>
		<description><![CDATA[
			
				
			
		
So you’ve just gotten your hands on a hot new expert advisor and you need to know if this thing is really going to work. It’s time to get your hands dirty and start testing. There are two types of testing you should do: forward testing and backtesting.
But first, make sure you have high quality [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F&amp;source=alansmoney&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p class="text-grey-14">So you’ve just gotten your hands on a hot new expert advisor and you need to know if this thing is really going to work. It’s time to get your hands dirty and start testing. There are two types of testing you should do: forward testing and backtesting.</p>
<p>But first, make sure you have high quality minute data for your backtest.  Read this article on <a href="http://alansforexblog.com/2010/02/10/how-to-set-up-metatrader-history-data-and-get-90-backtesting-quality/">Downloading and Setting up History Data to Get 90% Backtesting Quality</a>.</p>
<p><strong>Forward Testing:</strong><br />
Forward testing simply means to open a demo account and run the expert advisor in real time to see how it works and performs. Forward testing is essential, however it takes a lot of time before you get a good idea about how the expert advisor will perform. Instead of relying solely on forward testing, we can also perform backtests.</p>
<p><strong>Backtesting:</strong><br />
Backtesting lets you test years of data in just minutes. So, before we decide to spend a lot of time forward testing, we can use Metatrader’s Strategy Tester to see how it will perform long term.</p>
<p>Strategy Tester also allows you to optimize your expert advisor.  See the <a href="http://alansforexblog.com/2010/02/10/metatrader-optimization/">optimization article</a> on this.</p>
<h2>History Data</h2>
<p>Before you start backtesting you will need to make sure you have complete and accurate history data set up. If your modeling quality is less than 90% or you see mismatched chart errors, then your data is insufficient.</p>
<p>To download history data and learn how to set it up, read this article:  <a href="http://alansforexblog.com/2010/02/10/how-to-set-up-metatrader-history-data-and-get-90-backtesting-quality/">How To Set Up Metatrader History Data And Get 90% Backtesting Quality</a></p>
<h2>Strategy Tester Backtest Settings</h2>
<p>Now that you have your history data set up, let’s start backtesing!</p>
<p>To open the Metatrader backtesting window, select from the top menu:  <strong>VIEW &gt; STRATEGY TESTER</strong> (or Ctrl + R for the shortcut).  The window should open in the bottom of the terminal and look something like this:</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/backtesting/strategy-tester-2.jpg" width="550" /></p>
<p>Most of the Strategy Tester input values are pretty self explanatory.  First, select your <strong><em>Expert Advisor</em></strong> and the <strong><em>Symbol</em></strong> of the currency pair you want to test.</p>
<p>For <strong><em>Model</em></strong> enter <em>Every Tick (the most precise method based on all available least timeframes to generate each tick)</em>.  This mode allows to model price movement within a bar the most precisely.</p>
<p>For <strong><em>Period</em></strong> enter the time frame you want.</p>
<p>Leave <strong><em>Optimization</em></strong> unchecked for the moment.</p>
<p>Check <strong><em>Use Date</em></strong> and select the start time and end time that you want to test.  Make sure you have quality history data for this time period.</p>
<p>Select <strong><em>Visual Mode</em></strong> only if you want a visually step through the backtesting. Go ahead and try this to see how it works. It is a good tool for checking the logic of your expert advisor and to spot any errors. However, it does take a little more time to perform, so you might not want to always use this.</p>
<p>Next, click on the <strong><em>Expert properties</em></strong> button on the right.</p>
<p>Select the TESTING tab.  Enter an <em>Initial Deposit</em> value and leave everything else the same.</p>
<p>Select the INPUTS tab. This is where you enter any input values for your expert advisor. These will vary depending on your own EA. Change what you want, or leave the default settings.</p>
<p>Don’t worry about the OPTIMIZATION tab for now.  Click OK to close the box.</p>
<p>Now you are ready to start your back test.  Hit the <strong>START</strong> button and let’s see what results we get. Depending on your EA and computer memory, it may take several minutes to hours to complete.</p>
<p>Once your backtest has completed, it is time to <a href="http://alansforexblog.com/2010/02/10/analyzing-metatrader-strategy-tester-backtest-results/"><strong>Analyzing the backtest results </strong></a></p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/backtesting/strategy-tester-1.jpg" width="550" /></p>
<p>Original article source: The Trade Machine (c)</p>
<p><a href="http://thetrademachine.com/blog/2009/10/01/backtesting-with-metatraders-strategy-tester/" target="_blank'">http://thetrademachine.com/blog/2009/10/01/backtesting-with-metatraders-strategy-tester/</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F&amp;partner=sociable" title="Print"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F&amp;title=Backtesting%20with%20MetaTrader%E2%80%99s%20Strategy%20Tester&amp;bodytext=%0D%0ASo%20you%E2%80%99ve%20just%20gotten%20your%20hands%20on%20a%20hot%20new%20expert%20advisor%20and%20you%20need%20to%20know%20if%20this%20thing%20is%20really%20going%20to%20work.%20It%E2%80%99s%20time%20to%20get%20your%20hands%20dirty%20and%20start%20testing.%20There%20are%20two%20types%20of%20testing%20you%20should%20do%3A%20forward%20testing%20and%20back" title="Digg"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F" title="Sphinn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F&amp;title=Backtesting%20with%20MetaTrader%E2%80%99s%20Strategy%20Tester&amp;notes=%0D%0ASo%20you%E2%80%99ve%20just%20gotten%20your%20hands%20on%20a%20hot%20new%20expert%20advisor%20and%20you%20need%20to%20know%20if%20this%20thing%20is%20really%20going%20to%20work.%20It%E2%80%99s%20time%20to%20get%20your%20hands%20dirty%20and%20start%20testing.%20There%20are%20two%20types%20of%20testing%20you%20should%20do%3A%20forward%20testing%20and%20back" title="del.icio.us"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F&amp;t=Backtesting%20with%20MetaTrader%E2%80%99s%20Strategy%20Tester" title="Facebook"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F&amp;title=Backtesting%20with%20MetaTrader%E2%80%99s%20Strategy%20Tester" title="Mixx"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F&amp;title=Backtesting%20with%20MetaTrader%E2%80%99s%20Strategy%20Tester&amp;annotation=%0D%0ASo%20you%E2%80%99ve%20just%20gotten%20your%20hands%20on%20a%20hot%20new%20expert%20advisor%20and%20you%20need%20to%20know%20if%20this%20thing%20is%20really%20going%20to%20work.%20It%E2%80%99s%20time%20to%20get%20your%20hands%20dirty%20and%20start%20testing.%20There%20are%20two%20types%20of%20testing%20you%20should%20do%3A%20forward%20testing%20and%20back" title="Google Bookmarks"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  target="_blank" href="http://blogplay.com" title="Blogplay"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F&amp;partner=sociable" title="PDF"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://alansforexblog.com/feed/" title="RSS"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Backtesting%20with%20MetaTrader%E2%80%99s%20Strategy%20Tester%20-%20http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F" title="Twitter"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Backtesting%20with%20MetaTrader%E2%80%99s%20Strategy%20Tester&amp;body=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F" title="email"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F&amp;title=Backtesting%20with%20MetaTrader%E2%80%99s%20Strategy%20Tester&amp;source=Alan%27s+Forex+Blog+An+adventure+in+currency+trading&amp;summary=%0D%0ASo%20you%E2%80%99ve%20just%20gotten%20your%20hands%20on%20a%20hot%20new%20expert%20advisor%20and%20you%20need%20to%20know%20if%20this%20thing%20is%20really%20going%20to%20work.%20It%E2%80%99s%20time%20to%20get%20your%20hands%20dirty%20and%20start%20testing.%20There%20are%20two%20types%20of%20testing%20you%20should%20do%3A%20forward%20testing%20and%20back" title="LinkedIn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F&amp;t=Backtesting%20with%20MetaTrader%E2%80%99s%20Strategy%20Tester" title="MySpace"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fbacktesting-with-metatrader%25e2%2580%2599s-strategy-tester%2F" title="Technorati"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://alansforexblog.com/2010/02/10/backtesting-with-metatrader%e2%80%99s-strategy-tester/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To Set Up Metatrader History Data And Get 90% Backtesting Quality</title>
		<link>http://alansforexblog.com/2010/02/10/how-to-set-up-metatrader-history-data-and-get-90-backtesting-quality/</link>
		<comments>http://alansforexblog.com/2010/02/10/how-to-set-up-metatrader-history-data-and-get-90-backtesting-quality/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 08:12:36 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[MetaTrader 4]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://alansforexblog.com/2010/02/10/how-to-set-up-metatrader-history-data-and-get-90-backtesting-quality/</guid>
		<description><![CDATA[
			
				
			
		
Setting up Metatrader 4 for backtesting can be a tricky, time consuming, and a little frustrating if you aren’t entirely sure you have it all working properly. This article will guide you through the entire process from obtaining high quality minute history data to installing a separate backtesting account to importing and converting the tick [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F&amp;source=alansmoney&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p class="text-grey-14">Setting up Metatrader 4 for backtesting can be a tricky, time consuming, and a little frustrating if you aren’t entirely sure you have it all working properly. This article will guide you through the entire process from obtaining high quality minute history data to installing a separate backtesting account to importing and converting the tick data to different time frames. In no time you will be up and backtesting years of history data with 90% modeling quality!</p>
<p><strong>Step 1:</strong>	 <a href="http://www.megaupload.com/?d=XVUE3SF6" target="blank">Download high quality minute (M1) Alpari history data for Metatrader</a>.  This link takes you to Megaupload where the file is hosted.  Save and extract the data into a folder for future use.</p>
<p><strong>Step 2:</strong>	Download a new installation of <a href="http://www.metaquotes.net/downloads/">Metatrader</a> from <a href="http://www.metaquotes.net/">Metaquotes.net</a>. This will be your testing version of Metatrader. Install it in a new folder, making sure not to copy over any existing installations of Metatrader. I’ve named my new version <em>MetaTrader 4 Tester 2</em>.</p>
<p><strong>Step 3:</strong> When Metatrader installer asks you if you want to launch Metatrader upon completing the installation, choose to NOT launch Metatrader by UNCLICKING the check box. Then select finish the installation.</p>
<p><strong>Step 4:</strong> After you have finished installing a new version of Metatrader 4, delete all the folders within your Metatrader history folder. To find this folder browse the Metatrader program file where it was installed. This is typically in the directory: <strong>Program Files &gt; Metatrader 4</strong> (or whatever you chose to name this) <strong>&gt; history</strong>.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/delete-history-folders.jpg" width="550" /></p>
<p><strong>Step 5:</strong> Now that you have deleted all of the history files, launch Metatrader 4 Terminal and create a demo account with whatever broker they offer you. You should be prompted to create this demo account when you first open Metatrader. If you are not, don’t worry. Just right click ACCOUNTS on the left and choose to OPEN AN ACCOUNT.</p>
<p><strong>Step 6:</strong> Once your new demo account has been created, you will need to DELETE it. Yes, you read that correctly. We need to delete the demo account we just opened. We do this to prevent the demo account from overwriting the history data that we will be importing in upcoming steps. You are probably asking: Then why did we open this demo account to begin with? The reason is to create a folder structure for all the currency pairs, which we will be importing data into very soon.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/delete-demo-account.jpg" /></p>
<p><strong>Step 7:</strong> After you delete your new account, close Metatrader. Now we are going to take the Alpari history data we downloaded and extracted earlier and move it into our Metatrader Demo account folder. Browse to the history folder within your Metatrader folder as we did earlier. You should see a folder of the demo account we created and then deleted earlier (Note: if you can’t see this folder and you are running Windows Vista, you may need to change some settings in Vista before you can see this folder. You can also skip this step and just import the history files from wherever they currently are in the upcoming steps.)</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/place-history-data-here.jpg" width="550" /></p>
<p>Before we copy over the M1 history data, make sure there aren’t any left over .hst files from your demo account. If there are delete those.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/delete-remaining-history-files.jpg" /></p>
<p>Now copy over all of the history data files to this demo folder. Copy over just the files and not the folder structure so that you end up with all the data files together in the demo folder like this:</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/copy-files-over.jpg" /></p>
<p><strong>Step 8:</strong> Next, re-launch the Metatrader terminal. From now on, every time you launch Metatrader, you will be prompted to “Open An Account”. Choose CANCEL each time you are asked this in the future.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/cancel-account-open.jpg" width="550" /></p>
<p>You will also be asked to login to your account.  Click CANCEL for this one each time too.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/cancel-account-login.jpg" /></p>
<p><strong>Step 9:</strong> Now we need to change the chart settings to their maximum values so that they can hold all the tick data we will be importing. With Metatrader open, select TOOLS &gt; OPTIONS.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/tools-options.jpg" /></p>
<p>Choose the CHARTS tab and edit the “Max Bars In History” and “Max Bars In Chart” to their maximum values by entering as many ‘9’s as it will let you. Click OK.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/set-chart-max-values.jpg" width="550" /></p>
<p>The next time you open this options menu these max values will be readjusted to the highest number of bars allowed:</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/set-chart-max-values-2.jpg" width="550" /></p>
<p><strong>Step 10:</strong>	Next, go to TOOLS &gt; HISTORY CENTER (or press F2 for the shortcut).</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/tools-history-center.jpg" width="550" /></p>
<p>On the left hand side find the currency pair that you want to import data for. We have chosen AUDUSD. Expand the menu so that you can see the different time frames. They should be grayed out at the moment. Double click on the 1 Minute timeframe of your pair to select it. It will stay grayed out, but you need to double click it so that we can import the minute data.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/history-center-select-m1.jpg" width="550" /></p>
<p><strong>Step 11:</strong>	Click IMPORT.  Then click BROWSE and go to the <strong>Metatrader &gt; history &gt; demo account directory</strong> where we placed the minute data earlier.  Select the minute data and open it.  You may need to change <em>File Type</em> from <em>ASCII Text</em> to <em>All Files</em> so that you can see the data to open.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/select-import-data.jpg" width="550" /></p>
<p>You should see the data populate the import box. It may take a few moments to load. If it still doesn’t load, you may need to enter a ‘1’ for Skip Columns. Or you if the data is not separated by commas, change it to whatever format it is in. For ours, the only thing we changed was Skip 1 Column. Once the data is loaded, hit OK.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/import.jpg" width="550" /></p>
<p>Because the data is separated into 2 files of different time periods for each pair, you will need to import each file like we did above. So, after we import the data for AUDUSD 2001-2006, we will import again for the other AUDUSD file “M1_AUDUSD”. Once we complete this, we will have a complete time period from 2001 to 2009.</p>
<p>Repeat these steps of importing data for each pair.  Once you have finished, hit OK to exit the History Center.</p>
<p><strong>Step 12:</strong> Open a chart for a pair that you imported data into. Select the Minute timeframe (M1) at the top. You should see a chart of the minute data for the time period that you imported. All other time frames should still say “Waiting for update” because we still have to convert the minute data into all those time frames.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/open-chart-audusd.jpg" /></p>
<p><strong>Step 13:</strong>	<strong>Converting The Data</strong> –  From the Navigator window on the left, expand SCRIPTS and open <strong>period_converter</strong>. (TIP: Make sure you have the EXPERTS tab selected at the bottom of the terminal so you can view the status of this script.) You will need to convert the minute data to each time frame by changing the <em>ExtPeriodMultiplier</em> value and running the script.  M1 is already done, so let’s start with the 5 minute.  Enter 5 for M5 and click OK.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/period-converter.jpg" width="550" /></p>
<p>You will know it has finished converting when the EXPERTS tab displays a message that it has written the records.</p>
<p><img src="http://www.thetrademachine.com/images/BlogImages/period-converter-records-written.jpg" width="550" /></p>
<p>Open <strong>period_converter</strong> again. It will ask you: “Do you really want to stop period_converter”. Choose Yes and repeat for the following time frames: Enter 15 for M15, 30 for M30, 60 for H1, 240 for H4, 1440 for D1, and 10080 for W1.</p>
<p><strong>Step 14:</strong>	Repeat the above steps for each currency pair.</p>
<p><strong>Step 15:</strong> That’s it.  Now that you have your history data all set up, you are ready to <a href="http://alansforexblog.com/2010/02/10/backtesting-with-metatrader%e2%80%99s-strategy-tester/"><strong>Start Backtesting With Metatrader’s Strategy Tester </strong></a><br />
<br />
Original article source:  The Trade Machine (c)</p>
<p><a href="http://thetrademachine.com/blog/2009/09/29/set-up-metatrader-history-data-get-90-backtesting-quality/" target="_blank">http://thetrademachine.com/blog/2009/09/29/set-up-metatrader-history-data-get-90-backtesting-quality/</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F&amp;partner=sociable" title="Print"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F&amp;title=How%20To%20Set%20Up%20Metatrader%20History%20Data%20And%20Get%2090%25%20Backtesting%20Quality&amp;bodytext=%0D%0ASetting%20up%20Metatrader%204%20for%20backtesting%20can%20be%20a%20tricky%2C%20time%20consuming%2C%20and%20a%20little%20frustrating%20if%20you%20aren%E2%80%99t%20entirely%20sure%20you%20have%20it%20all%20working%20properly.%20This%20article%20will%20guide%20you%20through%20the%20entire%20process%20from%20obtaining%20high%20quality%20min" title="Digg"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F" title="Sphinn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F&amp;title=How%20To%20Set%20Up%20Metatrader%20History%20Data%20And%20Get%2090%25%20Backtesting%20Quality&amp;notes=%0D%0ASetting%20up%20Metatrader%204%20for%20backtesting%20can%20be%20a%20tricky%2C%20time%20consuming%2C%20and%20a%20little%20frustrating%20if%20you%20aren%E2%80%99t%20entirely%20sure%20you%20have%20it%20all%20working%20properly.%20This%20article%20will%20guide%20you%20through%20the%20entire%20process%20from%20obtaining%20high%20quality%20min" title="del.icio.us"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F&amp;t=How%20To%20Set%20Up%20Metatrader%20History%20Data%20And%20Get%2090%25%20Backtesting%20Quality" title="Facebook"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F&amp;title=How%20To%20Set%20Up%20Metatrader%20History%20Data%20And%20Get%2090%25%20Backtesting%20Quality" title="Mixx"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F&amp;title=How%20To%20Set%20Up%20Metatrader%20History%20Data%20And%20Get%2090%25%20Backtesting%20Quality&amp;annotation=%0D%0ASetting%20up%20Metatrader%204%20for%20backtesting%20can%20be%20a%20tricky%2C%20time%20consuming%2C%20and%20a%20little%20frustrating%20if%20you%20aren%E2%80%99t%20entirely%20sure%20you%20have%20it%20all%20working%20properly.%20This%20article%20will%20guide%20you%20through%20the%20entire%20process%20from%20obtaining%20high%20quality%20min" title="Google Bookmarks"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  target="_blank" href="http://blogplay.com" title="Blogplay"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F&amp;partner=sociable" title="PDF"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://alansforexblog.com/feed/" title="RSS"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=How%20To%20Set%20Up%20Metatrader%20History%20Data%20And%20Get%2090%25%20Backtesting%20Quality%20-%20http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F" title="Twitter"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=How%20To%20Set%20Up%20Metatrader%20History%20Data%20And%20Get%2090%25%20Backtesting%20Quality&amp;body=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F" title="email"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F&amp;title=How%20To%20Set%20Up%20Metatrader%20History%20Data%20And%20Get%2090%25%20Backtesting%20Quality&amp;source=Alan%27s+Forex+Blog+An+adventure+in+currency+trading&amp;summary=%0D%0ASetting%20up%20Metatrader%204%20for%20backtesting%20can%20be%20a%20tricky%2C%20time%20consuming%2C%20and%20a%20little%20frustrating%20if%20you%20aren%E2%80%99t%20entirely%20sure%20you%20have%20it%20all%20working%20properly.%20This%20article%20will%20guide%20you%20through%20the%20entire%20process%20from%20obtaining%20high%20quality%20min" title="LinkedIn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F&amp;t=How%20To%20Set%20Up%20Metatrader%20History%20Data%20And%20Get%2090%25%20Backtesting%20Quality" title="MySpace"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Falansforexblog.com%2F2010%2F02%2F10%2Fhow-to-set-up-metatrader-history-data-and-get-90-backtesting-quality%2F" title="Technorati"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://alansforexblog.com/2010/02/10/how-to-set-up-metatrader-history-data-and-get-90-backtesting-quality/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>MetaTrader 4 User Guide</title>
		<link>http://alansforexblog.com/2010/01/18/metatrader-4-user-guide/</link>
		<comments>http://alansforexblog.com/2010/01/18/metatrader-4-user-guide/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 10:09:36 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[MetaTrader 4]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://alansforexblog.com/2010/01/18/metatrader-4-user-guide/</guid>
		<description><![CDATA[
			
				
			
		

MetaTrader4 User Guide:
This is a LONG post so be prepared to do a LOT of scrolling (hope you have a wheel mouse.) If you do not feel like reading this whole blog post through and would instead prefer an offline version of this guide please see this link.
Here is a picture of what the MT4 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F&amp;source=alansmoney&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://alansforexblog.com/wp-content/uploads/2008/04/mt4.jpg" alt="mt4.jpg" /><br />
<font size="5"><strong>MetaTrader4 User Guide:</strong></font></p>
<p>This is a LONG post so be prepared to do a LOT of scrolling (hope you have a wheel mouse.) If you do not feel like reading this whole blog post through and would instead prefer an offline version of this guide <strong><a href="http://alansforexblog.com/files/MetaTrader4-User_Guide.pdf">please see this link</a></strong>.</p>
<p>Here is a picture of what the MT4 main screen looks like:</p>
<p><img src="http://alansforexblog.com/images/mt4_guide/m2b142d76.png" name="graphics1" height="520" border="0" width="520" /></p>
<ul>
<li> <strong>Main menu</strong> (access to the program menu and settings);</li>
<li> <strong>Toolbars</strong> (quick access to the program features and settings);</li>
<li>  	<strong>&#8220;Market Watch&#8221; window</strong> (real-time quotes for the 	specified instruments);</li>
<li>  	<strong>&#8220;Navigator&#8221; window</strong> (quick access to all your 	accounts, indicators, expert advisors);</li>
<li>  	<strong>&#8220;Chart&#8221; window</strong>;</li>
<li>  	<strong>&#8220;Terminal&#8221; window</strong> (quick access to the trading and 	account history, list of open positions and placed orders, client 	terminal log-file and internal mailbox).</li>
</ul>
<p>Download any demo MetaTrader4 installation program from the broker of your choice. This guide uses FXDD&#8217;s MT4 demo platform as a visual guide but this does not mean this guide and/or website recommends or is affiliated with this broker.</p>
<p><strong>1. </strong> Launch the Metatrader exe file the same way you launch any Windows program.  It’s best if you select to save to disk.</p>
<p><strong>2.</strong>  Scroll down the list to select the setup language. Then press the <strong>Next</strong> button:</p>
<p><img src="http://alansforexblog.com/images/mt4_guide/m5524af75.png" name="graphics2" height="381" border="0" width="484" /></p>
<p><strong>3.</strong> Click the <strong>Next</strong> button after reading the notice:</p>
<p><img src="http://alansforexblog.com/images/mt4_guide/2e95f569.png" name="graphics3" height="381" border="0" width="484" /></p>
<p><strong>4.</strong>  In the next window check the <strong>&#8220;Yes, &#8230;&#8221;</strong> box if you agree with the terms of the license agreement. Then press the <strong>Next</strong> button:</p>
<p><img src="http://alansforexblog.com/images/mt4_guide/m64e08cc8.png" name="graphics4" height="383" border="0" width="484" /></p>
<p><strong>5.</strong> Select data path and press the <strong>Next</strong> button:</p>
<p><img src="http://alansforexblog.com/images/mt4_guide/476ecb31.png" name="graphics5" height="382" border="0" width="486" /></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY"> <strong>6.  </strong>Then use the default program group for FXDD and press the <strong>Next</strong> button:</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <font color="#444444"><img src="http://alansforexblog.com/images/mt4_guide/190107e9.png" name="graphics6" height="380" align="BOTTOM" border="0" width="483" /></font></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY"> <strong>7</strong><strong>.</strong> Press the <strong>Next</strong> button to install MetaTrader 4 on your computer:</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <font color="#444444"><img src="http://alansforexblog.com/images/mt4_guide/m56a94ed.png" name="graphics7" height="381" align="BOTTOM" border="0" width="483" /></font></p>
<p><strong>8. </strong>Installation is in process:</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <font color="#444444"><img src="http://alansforexblog.com/images/mt4_guide/m39f8610f.png" name="graphics8" height="374" align="BOTTOM" border="0" width="488" /></font></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in"> <strong>9.  </strong>Once FXDD has been installed click the &#8220;<strong>Launch FXDD – MetaTrader 4</strong> box.<br />
Then press the <strong>Finish</strong> button:</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in">&nbsp;</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <font color="#444444"><img src="http://alansforexblog.com/images/mt4_guide/7c78becf.png" name="graphics9" height="381" align="BOTTOM" border="0" width="485" /></font></p>
<p><strong>10. </strong>First-time FXDD users will be prompted to fill in the application form to open a demo account:  <strong>You must click </strong>the &#8220;I agree to subscribe into your news letters&#8221; box in order to launch the program.  Then click the <strong>Next</strong> button.</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in">&nbsp;</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <font color="#444444"><img src="http://alansforexblog.com/images/mt4_guide/7487edac.png" name="graphics10" height="404" align="BOTTOM" border="0" width="552" /></font></p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in"><strong>11.  </strong>Use the default server and click <strong>Next.</strong></p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <font color="#444444"><img src="http://alansforexblog.com/images/mt4_guide/2edd16ef.png" name="graphics11" height="396" align="BOTTOM" border="0" width="551" /></font></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in"><strong><br />
12.  </strong>You will see your login and password to trade on the demo account.</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in">Click <strong>Finish </strong>to gain access to your demo account.</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <font color="#444444"><img src="http://alansforexblog.com/images/mt4_guide/1e28549.png" name="graphics12" height="394" align="BOTTOM" border="0" width="547" /></font></p>
<p class="western" style="margin-bottom: 0in"> <strong>Note, that if your demo account is inactive for 90 days it is automatically<br />
deleted by the server.</strong></p>
<p class="western" style="margin-bottom: 0in"> <strong>13.   </strong>Your demo account platform will start up and display the following window.  Click Start to update your platform.</p>
<p class="western" style="margin-left: 0.25in; margin-bottom: 0in"><img src="http://alansforexblog.com/images/mt4_guide/m5dae769c.png" name="graphics13" height="330" align="BOTTOM" border="0" width="507" /></p>
<p class="western" style="margin-left: 0.25in; margin-bottom: 0in"><strong>Then click Update and Restart to restart your platform.</strong></p>
<p class="western" style="margin-left: 0.25in; margin-bottom: 0in"><img src="http://alansforexblog.com/images/mt4_guide/7702dbc9.png" name="graphics14" height="329" align="BOTTOM" border="0" width="506" /></p>
<p class="western" style="margin-bottom: 0in; page-break-before: always"> <strong><span style="background: #ffff00 none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous">The Market Watch Window:</span></strong></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY"> The &#8220;Market Watch&#8221; window can be activated by pressing the <strong>Ctrl+M</strong> key combination, or by using the <strong>View-&gt;Market Watch</strong> menu sequence or by clicking the  <img src="http://alansforexblog.com/images/mt4_guide/m62931fda.png" name="graphics15" height="16" align="BOTTOM" border="0" width="16" />button from the &#8220;Standard&#8221; toolbar:</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/m229c47b3.png" name="graphics16" height="46" align="BOTTOM" border="0" width="311" /></p>
<p class="western" style="margin-bottom: 0.17in; line-height: 0.16in" align="JUSTIFY"> Right click the mouse button on the &#8220;Market Watch&#8221; window to produce the context menu:</p>
<table border="0" cellpadding="1" cellspacing="0" width="520">
<tr valign="TOP">
<td width="274">
<p style="margin-top: 0.07in" align="JUSTIFY"><img src="http://alansforexblog.com/images/mt4_guide/m5767f930.png" name="graphics17" height="394" align="BOTTOM" border="0" width="271" /></p>
</td>
<td width="10">
<p class="western">&nbsp;</p>
</td>
<td width="436">
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in"> 				<strong>New Order</strong> – enables the window to open/close a 				position or to place a new pending order;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in"> 				<strong>Chart Window</strong> – enables the chart of a currency pair 				or CFD;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in"> 				<strong>Tick Chart</strong> – shows the tick chart for the selected 				instrument;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in"> 				<strong>Hide</strong> – deletes the specified symbol from the list in 				the &#8220;Market Watch&#8221; window;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in"> 				<strong>Hide All</strong> – deletes all symbols from the list in the 				&#8220;Market Watch&#8221; window which are not used (if you have 				open positions or charts, its symbols will not be deleted);</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in"> 				<strong>Show All</strong> – displays all available symbols in the 				&#8220;Market Watch&#8221; window;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in"> 				<strong>Symbols</strong> – enables the window where you can hide/show 				the selected instruments;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in"> 				<strong>Sets</strong> – saves/adjusts/deletes the custom settings for 				the &#8220;Market Watch&#8221; window;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in"> 				<strong>High/Low</strong> – shows/hides columns with the highest and 				lowest prices for each instrument;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in"> 				<strong>Time</strong> – displays a column with the arrival time of 				the latest quote for each instrument;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in"> 				<strong>Grid</strong> &#8211; hides/unhides gridlines in the &#8220;Market Watch&#8221; 				window;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in"><strong>Popup Prices</strong> 				– opens the popup window which contains real time quotes 				for your selected instruments.</p>
</li>
</ul>
</td>
</tr>
</table>
<p class="western" style="margin-bottom: 0in">&nbsp;</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in; page-break-before: always" align="JUSTIFY"> In MetaTrader 4, you can see as many real time charts as you wish, all on one screen, for any currency pair and for any time period. The following types of charts are available in MetaTrader 4:</p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> 	<strong>Line Chart.</strong> Chart x-axis is for the different time periods 	(minutes, hours, days, months etc.), and y-axis is for the price. 	The point on the chart shows the close price for the period, i.e. 	the bid of the last quote for this period. All the sequential points 	are joined by lines:</p>
</li>
</ul>
<p style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/cca9ad6.png" name="graphics18" height="275" align="BOTTOM" border="0" width="412" /></p>
<p class="western" style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> It is recommended that this chart type is used only for the short time periods (up to 5 minutes). In order to change the chart to a line chart, press the  <img src="http://alansforexblog.com/images/mt4_guide/5ecdcd8f.png" name="graphics19" height="21" align="BOTTOM" border="0" width="23" />button on the «Charts» toolbar:</p>
<p style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/m127c2b3a.png" name="graphics20" height="46" align="BOTTOM" border="0" width="324" /></p>
<p class="western" style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.17in; line-height: 0.16in" align="JUSTIFY"> or press the <strong>Alt+3</strong> key combination or use the <strong>Charts -&gt; Line Chart</strong> menu sequence.</p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> 	<strong>Bar Chart.</strong> The chart is created with the use of bars. Each 	bar has a high (top), a low (bottom), an opening price (left 	horizontal little line) and a closing price (right horizontal little 	line) for the specified period of time (for example, an hour):</p>
</li>
</ul>
<p style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/2ac45f2b.png" name="graphics21" height="276" align="BOTTOM" border="0" width="412" /></p>
<p class="western" style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> It is recommended that you use this chart type for periods of 5 minutes or more. In order to change the chart to a bar chart press the  <img src="http://alansforexblog.com/images/mt4_guide/f826908.png" name="graphics22" height="22" align="BOTTOM" border="0" width="23" />button on the &#8220;Charts&#8221; toolbar</p>
<p style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/m127c2b3a.png" name="graphics23" height="46" align="BOTTOM" border="0" width="324" /></p>
<p class="western" style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.17in; line-height: 0.16in" align="JUSTIFY"> or press the <strong>Alt+1</strong> key combination, or use the <strong>Charts -&gt; Bar Chart</strong> menu sequence.</p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> 	<strong>Candlesticks.</strong> These charts are created in the same way as bar 	charts:</p>
</li>
</ul>
<p style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/3d7f8bf0.png" name="graphics24" height="276" align="BOTTOM" border="0" width="412" /></p>
<p class="western" style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> Candlesticks charts were very popular in the 80-90s because of their clear graphics. This method of technical analysis is based on the correlation between both closing and opening prices within the same trading day, and the closing price of the previous session and the opening price of the next session.</p>
<p>Candlesticks have different configurations compared to bar charts. The rectangular part of the candlestick line is called the <strong>real body</strong>. The thin vertical lines above and below the body are called <strong>shadows</strong>. They show lows and highs within a specified period of time. Depending on the closing and opening prices the real body can be white (empty) or black. When the body is white, the closing price is higher than the opening level. When the body is black, the closing price is lower than the opening level.</p>
<p>In order to create a candle chart press the  <img src="http://alansforexblog.com/images/mt4_guide/afd3ab4.png" name="graphics25" height="21" align="BOTTOM" border="0" width="25" />button on the &#8220;Charts&#8221; toolbar:</p>
<p style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"><img src="http://alansforexblog.com/images/mt4_guide/m127c2b3a.png" name="graphics26" height="46" align="BOTTOM" border="0" width="324" /></p>
<p class="western" style="margin-left: 0.5in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> or press the <strong>Alt+2</strong> keys simultaneously, or use the <strong>Charts -&gt; Candlesticks</strong> menu sequence.</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY"> In MetaTrader 4 both the bar and candle high is the highest Bid price for the defined period, the low is the lowest Bid price, the closing price is the last quoted Bid, the opening price is the first quoted Bid.</p>
<p>In order to create a new chart for any instrument right click on the &#8220;Market Watch&#8221; window, then select the <strong>Chart window</strong> item from the context menu:</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/1cc267a7.png" name="graphics27" height="394" align="BOTTOM" border="0" width="271" /></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY"> By left clicking the mouse you can drag and drop any selected currency pair  into any open chart window.</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY"> <strong>Chart period</strong> – the period displayed in one bar or candle. For example, if you create a 15 minute bar chart, then each bar will have the price data for the relevant 15 minutes. In <font color="#004b85"><span style="text-decoration: none"><font style="font-size: 8pt" size="1"><font color="#000000"><font size="3">MetaTrader 4</font></font></font></span></font> the following time periods can be used: 1, 5, 15, 30 minutes (M1, M5, M15, M30 respectively), 1 hour (H1), 4 hours (H4), 1 day (D1), 1 week (W1) and 1 month (MN). In order to change a time period, use the &#8220;Periodicity&#8221; toolbar:</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/m5ce841a4.png" name="graphics28" height="46" align="BOTTOM" border="0" width="257" /></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in; page-break-before: always" align="JUSTIFY"> Right click anywhere on the chart to produce the context menu to get access to the chart settings:</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/m50ba35b3.png" name="graphics29" height="391" align="BOTTOM" border="0" width="313" /></p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	Choose <strong>Periodicity</strong> and select a time period from the drop 	down menu or press the  	<img src="http://alansforexblog.com/images/mt4_guide/4f81e002.png" name="graphics30" height="21" align="BOTTOM" border="0" width="29" />button 	on the &#8220;Charts&#8221; toolbar;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	Select <strong>Refresh</strong> item if an error occurs or if there are so 	called &#8220;gaps&#8221; on the chart. All missing data will be 	uploaded from the server and will appear on the chart;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	Select <strong>Grid</strong> if you wish to hide/unhide gridlines on the 	chart;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	Select <strong>Volumes</strong> in order to show/hide tick volume (the number 	of quotes of any period time);</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Zoom in</strong> / <strong>Zoom out</strong> will help you to modify chart 	measures. You can also use the  	<img src="http://alansforexblog.com/images/mt4_guide/mce2e0e1.png" name="graphics31" height="21" align="BOTTOM" border="0" width="21" />/ 		<img src="http://alansforexblog.com/images/mt4_guide/m3838dec1.png" name="graphics32" height="21" align="BOTTOM" border="0" width="21" />buttons 	on the &#8220;Charts&#8221; toolbar or press the <strong>&#8220;+&#8221;</strong> 	and <strong>&#8220;-&#8221;</strong> buttons;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Save as picture…</strong> will save the chart as the *.gif, or 	*.bmp. file;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in; page-break-before: always"> 	<strong>Properties…</strong> (or the <strong>F8</strong> button) enables the 	window where you can change chart settings, by selecting the &#8220;Color&#8221; 	tab you can change the color of any element on the chart:</p>
</li>
</ul>
<p><img src="http://alansforexblog.com/images/mt4_guide/472da35a.png" name="graphics33" height="375" border="0" width="550" /></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in">Other settings can be changed in the Common tab:</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="LEFT"> <img src="http://alansforexblog.com/images/mt4_guide/m6570d0ea.png" name="graphics34" height="375" border="0" width="550" /></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in">&nbsp;</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in">Please note the following options:</p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Offline chart</strong> &#8211; the chart is not being updated by new quotes. 	Once you open the chart offline (<strong>File -&gt; Open offline</strong>) 	this option becomes automatic;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Chart shift</strong> – allows you to shift the chart from the 	right edge of the window, to see the most recent candle forming. You 	can also press the  	<img src="http://alansforexblog.com/images/mt4_guide/5179fd50.png" name="graphics35" height="18" align="BOTTOM" border="0" width="18" /> 	button on the &#8220;Charts&#8221; toolbar or use the <strong>Charts -&gt; 	Chart shift</strong> menu sequence;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Chart autoscroll</strong> &#8211; autoscrolls to the left once a new quote 	is received. You can also press the  	<img src="http://alansforexblog.com/images/mt4_guide/3409b06c.png" name="graphics36" height="18" align="BOTTOM" border="0" width="18" /> 	button on the &#8220;Charts&#8221; toolbar or use the <strong>Charts -&gt; 	Autoscroll</strong> menu sequence.  If you are viewing the chart back a 	few days, and the autoscroll button is depressed, it will 	automatically take you to the most recent candle forming on the next 	tic of the price.</p>
</li>
</ul>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <strong><span style="background: #ffff00 none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous">Open a position:</span></strong></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in">In order to enable the &#8220;Order&#8221; window:</p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	right click on the &#8220;Market Watch&#8221; window or on the &#8220;Trade&#8221; 	tab of the &#8220;Terminal&#8221; window and select <strong>New order</strong> 	from the context menu; or</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	press the <strong>F9</strong> button; or</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	use the <strong>Tools -&gt; New order</strong> menu sequence; or</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	right click on the chart window and select <strong>Trading -&gt; New 	Order</strong> from the context menu; or</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>double click on the currency pair in the &#8220;Market Watch&#8221; 	window.<br />
</strong></li>
</ul>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in">The &#8220;Order&#8221; window:</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="LEFT"><img src="http://alansforexblog.com/images/mt4_guide/19bedcc5.png" name="graphics37" height="371" border="0" width="550" /></p>
<p class="western" style="margin-bottom: 0.17in; line-height: 0.16in"> In <font color="#004b85"><span style="text-decoration: none"><font style="font-size: 8pt" size="1"><font color="#000000"><font size="3">MetaTrader 4</font></font></font></span></font> there are two ways of making deals: &#8220;Instant Execution&#8221; and &#8220;Pending Order&#8221;.</p>
<p class="western" style="margin-bottom: 0.17in; line-height: 0.16in"> <strong>Instant Execution</strong> means you do not have to request quotes, and you will enter the market immediately.  Once you have decided to buy or sell at the current price press the <strong>Buy</strong> or <strong>Sell</strong> buttons to open a long or short position.</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in">Before you enter the market you can change the details in the &#8220;Order&#8221; window:</p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Symbol</strong> &#8211; a currency pair</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Volume</strong> &#8211; number of lots;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Stop Loss</strong> &#8211; the level of Stop Loss order;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Take Profit</strong> &#8211; the level of Take Profit order;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Comment</strong> &#8211; any notes (that will show up in your report)</p>
</li>
</ul>
<p class="western" style="margin-bottom: 0.17in; line-height: 0.16in">&nbsp;</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="LEFT"> <img src="http://alansforexblog.com/images/mt4_guide/m15c78c5f.png" name="graphics38" height="371" border="0" width="550" /></p>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> The new position will now be listed in the &#8220;Trade&#8221; tab of the &#8220;Terminal&#8221; window.<br />
<strong><br />
</strong></p>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in; page-break-before: always"> <strong><span style="background: #ffff00 none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous">Close a position:</span></strong></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in">In order to close a position, highlight the trade in the &#8220;Trade&#8221; tab of the &#8220;Terminal&#8221; window and right click to obtain the context menu:</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="LEFT"> <img src="http://alansforexblog.com/images/mt4_guide/40aa357.png" name="graphics39" height="251" align="BOTTOM" border="0" width="179" /></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in"> then select <strong>Close order</strong>.  Double clicking on the open position in the &#8220;Trade&#8221; tab of the &#8220;Terminal&#8221; window will have the same result. The “Order #” window appears and you click the Yellow Close bar.</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="LEFT"> <img src="http://alansforexblog.com/images/mt4_guide/m33e21421.png" name="graphics40" height="371" border="0" width="550" /></p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="LEFT"> <font size="3"><strong><span style="background: #ffff00 none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous">Place/Modify/delete Stop Loss &amp; Take Profit Orders</span></strong></font></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in"><strong>Stop Loss</strong> &#8211; an order to close a previously opened position at a price less profitable for the Customer than the price at the time of placing the order</p>
<p><strong>Take Profit</strong> – an order to close a previously opened position at a price more profitable for the Customer than the price at the time of placing the order.</p>
<p>If you place these types of orders you do not have to sit in front of your computer to wait for the outcome. Take Profit and Stop Loss orders will be executed automatically as soon as the price reaches the order level (see below). You can place Stop Loss and Take Profit at the time of making a deal filling in the &#8220;Stop Loss&#8221; and &#8220;Take Profit&#8221; fields in the &#8220;Order&#8221; window:</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/19bedcc5.png" name="graphics41" height="371" border="0" width="550" /></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY"> Afterwards in order to modify Stop Loss and Take Profit levels use the context menu:</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/40aa357.png" name="graphics42" height="251" align="BOTTOM" border="0" width="179" /></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in" align="JUSTIFY"> Right click on the open position or on the pending order in the &#8220;Trade&#8221; tab of the &#8220;Terminal&#8221; window then select <strong>Modify or delete order</strong>. The &#8220;Modify order&#8221; window enables:</p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <img src="http://alansforexblog.com/images/mt4_guide/7d883dff.png" name="graphics43" height="370" border="0" width="550" /></p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> 	Fill in the &#8220;Stop Loss&#8221; and &#8220;Take profit&#8221; 	fields. By pressing the red button (in our example &#8220;1.2121&#8243;) 	you can copy this level into the &#8220;Stop Loss&#8221; field. By 	pressing the blue button (in our example &#8220;1.2096&#8243;) you can 	copy this level in the &#8220;Take profit&#8221; field. The value in 	the &#8220;Level&#8221; field defines the difference between the order 	level and the current price. Once you fill in the &#8220;Stop Loss&#8221; 	or/and &#8220;Take profit&#8221; fields press the red <strong>&#8220;Modify 	#position number &#8230;&#8221;</strong> button.</p>
<p>In order to delete 	Stop Loss or Take profit orders specify its level as equal to zero.</li>
</ul>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p class="western" style="margin-left: 0.25in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> <strong><span style="background: #ffff00 none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous">Trailing Stop:</span></strong> is an algorithm to manage Stop Loss orders. Once a trailing stop has been placed (for example, trailing stop&#8217;s value is 15 pips) the following occurs:</p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> 	No Stop Loss order will be placed until the open position is in a 	profit of at least 15 pips. <font color="#004b85"><span style="text-decoration: none"><font style="font-size: 8pt" size="1"><font color="#000000"><font size="3">MetaTrader 	4</font></font></font></span></font> then sends an instruction 	to place the Stop Loss order 15 pips higher or lower than the 	current price.</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY"> 	Subsequently, each time the difference between the current price and 	the order level exceeds 15 pips, <font color="#004b85"><span style="text-decoration: none"><font style="font-size: 8pt" size="1"><font color="#000000"><font size="3">MetaTrader 	4</font></font></font></span></font> sends the instruction to 	modify the Stop Loss order to a level 15 pips higher or lower than 	the current price. As a result, the Stop Loss order becomes closer 	to the current price.</p>
</li>
</ul>
<p class="western" style="margin-left: 0.25in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p class="western" style="background: #ffffff none repeat scroll 0% 0%; margin-bottom: 0in; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; line-height: 0.16in" align="JUSTIFY"> <strong>Important:</strong><br />
It is very important to note that no Stop Loss order will be placed until the market moves in your favor as mentioned above. Therefore until this has happened, to limit losses, a separate Stop Loss would need to be placed manually.</p>
<p class="western" style="background: #ffffff none repeat scroll 0% 0%; margin-bottom: 0in; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; line-height: 0.16in; page-break-before: always"> In order to place a trailing stop, highlight the open position in the &#8220;Trade&#8221; tab of the &#8220;Terminal&#8221; window and right click to open the context menu.</p>
<dl>
<dd>
<table height="356" border="0" cellpadding="1" cellspacing="0" width="296">
<tr>
<td width="284">
<p style="margin-top: 0.07in" align="LEFT"><img src="http://alansforexblog.com/images/mt4_guide/3aec9ccf.png" name="graphics44" height="343" align="BOTTOM" border="0" width="281" /></p>
</td>
<td width="15">
<p class="western" align="JUSTIFY">&nbsp;</p>
</td>
<td width="4">&nbsp;</td>
</tr>
</table>
</dd>
</dl>
<p class="western" style="margin-left: 0.25in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p class="western" style="margin-left: 0.25in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in; page-break-before: always" align="JUSTIFY"> <strong><span style="background: #ffff00 none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous">Pending Order:</span></strong> is an instruction to open a position when the current price reaches the order level.<br />
There are four types of pending orders:</p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Buy Stop</strong> &#8211; an order to open a Buy position at a price higher 	than the price at the moment of placing the order;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Sell Stop</strong> &#8211; an order to open a Sell position at a price lower 	than the price at the moment of placing the order;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Buy Limit</strong> &#8211; an order to open a Buy position at a lower price 	than the price at the moment of placing the order;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Sell Limit</strong> &#8211; an order to open a Sell position at a price 	higher than the price at the moment of placing the order.</p>
</li>
</ul>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in"><img src="http://alansforexblog.com/images/mt4_guide/m51977853.png" name="graphics45" height="337" align="BOTTOM" border="0" width="352" /></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in"> In order to place a pending order, open the &#8220;Order&#8221; window by any way described below:</p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	right click on the &#8220;Market Watch&#8221; window or on the &#8220;Trade&#8221; 	tab of the &#8220;Terminal&#8221; window and select <strong>New order</strong> 	from the context menu; or</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	press the <strong>F9</strong> button; or</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	use the <strong>Tools -&gt; New order</strong> menu sequence; or</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	right click on the chart window and select <strong>Trading -&gt; New 	Order</strong> from the context menu; or</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	double click on the currency pair in the &#8220;Market Watch&#8221; 	window.</p>
</li>
</ul>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in; page-break-before: always"> Then choose the <strong>Pending order</strong> item from the drop down</p>
<p><img src="http://alansforexblog.com/images/mt4_guide/2a110ee1.png" name="graphics46" height="371" border="0" width="550" /></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in"> The following options may be changed in this window as well:</p>
<ul>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Symbol</strong> &#8211; currency pair;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Volume</strong> &#8211; transaction size in lots;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Stop Loss</strong> &#8211; Stop Loss order level which will be activated 	once the pending order has been executed;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Take Profit</strong> &#8211; Take Profit order level which will be activated 	once the pending order has been executed;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Comment</strong> &#8211; your comments for the pending order;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Type</strong> &#8211; the type of pending order: Buy Stop, Buy Limit, Sell 	Stop, Sell Limit;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>At price</strong> &#8211; pending order level;</p>
</li>
<li>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in"> 	<strong>Expiry</strong> &#8211; if the box has not been checked the order is valid 	up to the time when you cancel it or when it is executed. If the box 	is checked the order is valid up to the moment specified in the box.</p>
</li>
</ul>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in">Once the <strong>Place order</strong> button is pressed it appears in the &#8220;Trade&#8221; tab of the &#8220;Terminal&#8221; window.</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in; page-break-before: always"> In order to modify or delete a pending order highlight it in the &#8220;Terminal&#8221; window, then right click to<br />
produce the context menu:</p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in"><img src="http://alansforexblog.com/images/mt4_guide/40aa357.png" name="graphics47" height="251" align="BOTTOM" border="0" width="179" /></p>
<p class="western" style="margin-bottom: 0in; line-height: 0.16in"> Select  the <strong>Modify or Delete Order</strong> menu item. Press the <strong>Modify</strong> button or the <strong>Delete</strong> button depending on your choice in the dialog window:</p>
<p> <img src="http://alansforexblog.com/images/mt4_guide/m70021b40.png" name="graphics48" height="371" border="0" width="550" /></p>
<p class="western" style="margin-left: 0.25in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p class="western" style="margin-left: 0.25in; margin-top: 0.07in; margin-bottom: 0.07in; line-height: 0.16in" align="JUSTIFY">&nbsp;</p>
<p>That does it for this guide. I hope it has been of use to you. Thanks for reading my blog.</p>
<p>Cheers,<br />
Alan<br />
<a href="http://alansforexblog.com">http://alansforexblog.com</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F&amp;partner=sociable" title="Print"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F&amp;title=MetaTrader%204%20User%20Guide&amp;bodytext=%0D%0AMetaTrader4%20User%20Guide%3A%0D%0A%0D%0AThis%20is%20a%20LONG%20post%20so%20be%20prepared%20to%20do%20a%20LOT%20of%20scrolling%20%28hope%20you%20have%20a%20wheel%20mouse.%29%20If%20you%20do%20not%20feel%20like%20reading%20this%20whole%20blog%20post%20through%20and%20would%20instead%20prefer%20an%20offline%20version%20of%20this%20guide%20please%20see%20" title="Digg"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F" title="Sphinn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F&amp;title=MetaTrader%204%20User%20Guide&amp;notes=%0D%0AMetaTrader4%20User%20Guide%3A%0D%0A%0D%0AThis%20is%20a%20LONG%20post%20so%20be%20prepared%20to%20do%20a%20LOT%20of%20scrolling%20%28hope%20you%20have%20a%20wheel%20mouse.%29%20If%20you%20do%20not%20feel%20like%20reading%20this%20whole%20blog%20post%20through%20and%20would%20instead%20prefer%20an%20offline%20version%20of%20this%20guide%20please%20see%20" title="del.icio.us"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F&amp;t=MetaTrader%204%20User%20Guide" title="Facebook"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F&amp;title=MetaTrader%204%20User%20Guide" title="Mixx"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F&amp;title=MetaTrader%204%20User%20Guide&amp;annotation=%0D%0AMetaTrader4%20User%20Guide%3A%0D%0A%0D%0AThis%20is%20a%20LONG%20post%20so%20be%20prepared%20to%20do%20a%20LOT%20of%20scrolling%20%28hope%20you%20have%20a%20wheel%20mouse.%29%20If%20you%20do%20not%20feel%20like%20reading%20this%20whole%20blog%20post%20through%20and%20would%20instead%20prefer%20an%20offline%20version%20of%20this%20guide%20please%20see%20" title="Google Bookmarks"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  target="_blank" href="http://blogplay.com" title="Blogplay"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F&amp;partner=sociable" title="PDF"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://alansforexblog.com/feed/" title="RSS"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=MetaTrader%204%20User%20Guide%20-%20http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F" title="Twitter"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=MetaTrader%204%20User%20Guide&amp;body=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F" title="email"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F&amp;title=MetaTrader%204%20User%20Guide&amp;source=Alan%27s+Forex+Blog+An+adventure+in+currency+trading&amp;summary=%0D%0AMetaTrader4%20User%20Guide%3A%0D%0A%0D%0AThis%20is%20a%20LONG%20post%20so%20be%20prepared%20to%20do%20a%20LOT%20of%20scrolling%20%28hope%20you%20have%20a%20wheel%20mouse.%29%20If%20you%20do%20not%20feel%20like%20reading%20this%20whole%20blog%20post%20through%20and%20would%20instead%20prefer%20an%20offline%20version%20of%20this%20guide%20please%20see%20" title="LinkedIn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F&amp;t=MetaTrader%204%20User%20Guide" title="MySpace"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-user-guide%2F" title="Technorati"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://alansforexblog.com/2010/01/18/metatrader-4-user-guide/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MetaTrader 4 Hot Keys</title>
		<link>http://alansforexblog.com/2010/01/18/metatrader-4-hot-keys/</link>
		<comments>http://alansforexblog.com/2010/01/18/metatrader-4-hot-keys/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 07:58:35 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[MetaTrader 4]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://alansforexblog.com/2010/01/18/metatrader-4-hot-keys/</guid>
		<description><![CDATA[
			
				
			
		

Hot keys (accelerating keys) are keys and their combinations that allow you to execute various commands fast and without the use of menus or toolbars. Here is a lit of some very useful hot keys for the MT4 platform: 


&#8220;&#8221; 	— chart scrolling to the left;


&#8220;&#8221; 	— chart scrolling to the right; 


&#8220;&#8221; 	— fast [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F&amp;source=alansmoney&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://alansforexblog.com/wp-content/uploads/2009/03/forex-trading.gif" alt="Forex Trading" /></p>
<p style="margin-top: 0.04in; margin-bottom: 0.07in"><font size="3">Hot keys (accelerating keys) are keys and their combinations that allow you to execute various commands fast and without the use of menus or toolbars. Here is a lit of some very useful hot keys for the MT4 platform: </font></p>
<ul>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3">&#8220;</font><font face="Wingdings"><font size="3"></font></font><font size="3">&#8221; 	— chart scrolling to the left;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3">&#8220;</font><font face="Wingdings"><font size="3"></font></font><font size="3">&#8221; 	— chart scrolling to the right; </font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3">&#8220;</font><font face="Wingdings"><font size="3"></font></font><font size="3">&#8221; 	— fast chart scrolling to the left or, if the scale is defined, 	chart scrolling up; </font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3">&#8220;</font><font face="Wingdings"><font size="3"></font></font><font size="3">&#8221; 	fast chart scrolling to the right or, if the scale is defined, chart 	scrolling down; </font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Page 	Up</strong></font><font size="3"> — fast chart scrolling to the left;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Page 	Down</strong></font><font size="3"> — fast chart scrolling to the right; </font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Home</strong></font><font size="3"> 	— move the chart to the start point;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>End</strong></font><font size="3"> 	— move the chart to the end point; </font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3">&#8220;-&#8221; 	— chart zoom out; </font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3">&#8220;+&#8221; 	— chart zoom in;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Delete</strong></font><font size="3"> 	— delete all selected graphical objects;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Backspace</strong></font><font size="3"> 	— delete the latest objects imposed into the chart window;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Esc</strong></font><font size="3"> 	— close the dialog window;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>F8</strong></font><font size="3"> 	— call the </font><font color="#000000"><font size="3">chart 	Properties window</font></font><font size="3">;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>F9</strong></font><font size="3"> 	— call the &#8220;New Order&#8221; window;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>F11</strong></font><font size="3"> 	— enlarge and minimize the chart window;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Ctrl+B</strong></font><font size="3"> 	— call the &#8220;Objects List&#8221; window;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Ctrl+F</strong></font><font size="3"> 	— enable “Crosshair”;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Ctrl+G</strong></font><font size="3"> 	— show/hide grid;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Ctrl+I</strong></font><font size="3"> 	— call the &#8220;Indicators List&#8221; window;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Ctrl+P</strong></font><font size="3"> 	— print the chart;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Ctrl+Y</strong></font><font size="3">— 	show/hide period separators;</font></p>
</li>
<li>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font size="3"><strong>Ctrl+Z</strong></font><font size="3"> 	— undo an object deletion;</font></p>
</li>
</ul>
<p style="margin-bottom: 0in">Cheers,</p>
<p style="margin-bottom: 0in">Alan</p>
<p style="margin-bottom: 0in"><a href="http://alansforexblog.com">http://alansforexblog.com</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F&amp;partner=sociable" title="Print"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F&amp;title=MetaTrader%204%20Hot%20Keys&amp;bodytext=%0D%0A%0D%0AHot%20keys%20%28accelerating%20keys%29%20are%20keys%20and%20their%20combinations%20that%20allow%20you%20to%20execute%20various%20commands%20fast%20and%20without%20the%20use%20of%20menus%20or%20toolbars.%20Here%20is%20a%20lit%20of%20some%20very%20useful%20hot%20keys%20for%20the%20MT4%20platform%3A%20%0D%0A%0D%0A%09%0D%0A%22%EF%83%AF%22%20%09%E2%80%94%20chart%20scroll" title="Digg"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F" title="Sphinn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F&amp;title=MetaTrader%204%20Hot%20Keys&amp;notes=%0D%0A%0D%0AHot%20keys%20%28accelerating%20keys%29%20are%20keys%20and%20their%20combinations%20that%20allow%20you%20to%20execute%20various%20commands%20fast%20and%20without%20the%20use%20of%20menus%20or%20toolbars.%20Here%20is%20a%20lit%20of%20some%20very%20useful%20hot%20keys%20for%20the%20MT4%20platform%3A%20%0D%0A%0D%0A%09%0D%0A%22%EF%83%AF%22%20%09%E2%80%94%20chart%20scroll" title="del.icio.us"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F&amp;t=MetaTrader%204%20Hot%20Keys" title="Facebook"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F&amp;title=MetaTrader%204%20Hot%20Keys" title="Mixx"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F&amp;title=MetaTrader%204%20Hot%20Keys&amp;annotation=%0D%0A%0D%0AHot%20keys%20%28accelerating%20keys%29%20are%20keys%20and%20their%20combinations%20that%20allow%20you%20to%20execute%20various%20commands%20fast%20and%20without%20the%20use%20of%20menus%20or%20toolbars.%20Here%20is%20a%20lit%20of%20some%20very%20useful%20hot%20keys%20for%20the%20MT4%20platform%3A%20%0D%0A%0D%0A%09%0D%0A%22%EF%83%AF%22%20%09%E2%80%94%20chart%20scroll" title="Google Bookmarks"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  target="_blank" href="http://blogplay.com" title="Blogplay"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F&amp;partner=sociable" title="PDF"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://alansforexblog.com/feed/" title="RSS"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=MetaTrader%204%20Hot%20Keys%20-%20http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F" title="Twitter"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=MetaTrader%204%20Hot%20Keys&amp;body=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F" title="email"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F&amp;title=MetaTrader%204%20Hot%20Keys&amp;source=Alan%27s+Forex+Blog+An+adventure+in+currency+trading&amp;summary=%0D%0A%0D%0AHot%20keys%20%28accelerating%20keys%29%20are%20keys%20and%20their%20combinations%20that%20allow%20you%20to%20execute%20various%20commands%20fast%20and%20without%20the%20use%20of%20menus%20or%20toolbars.%20Here%20is%20a%20lit%20of%20some%20very%20useful%20hot%20keys%20for%20the%20MT4%20platform%3A%20%0D%0A%0D%0A%09%0D%0A%22%EF%83%AF%22%20%09%E2%80%94%20chart%20scroll" title="LinkedIn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F&amp;t=MetaTrader%204%20Hot%20Keys" title="MySpace"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F18%2Fmetatrader-4-hot-keys%2F" title="Technorati"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://alansforexblog.com/2010/01/18/metatrader-4-hot-keys/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MT4 Backtesting &amp; Optimization</title>
		<link>http://alansforexblog.com/2010/01/17/mt4-backtesting-optimization/</link>
		<comments>http://alansforexblog.com/2010/01/17/mt4-backtesting-optimization/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 08:08:06 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[MetaTrader 4]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[backtesting]]></category>
		<category><![CDATA[backtesting and optimization]]></category>
		<category><![CDATA[forex backtesting]]></category>
		<category><![CDATA[metatrader 4 backtesting]]></category>
		<category><![CDATA[metatrader backtesting]]></category>
		<category><![CDATA[metatrader optimization]]></category>
		<category><![CDATA[mt4]]></category>
		<category><![CDATA[mt4 backtesting]]></category>
		<category><![CDATA[mt4 optimization]]></category>

		<guid isPermaLink="false">http://alansforexblog.com/2010/01/17/mt4-backtesting-optimization/</guid>
		<description><![CDATA[
			
				
			
		

MT4 Backtesting &#38; Optimization

Here is a visual tutorial (aka HOWTO) on how to run optimizations and backtests with MetaTrader 4 (MT4). This is but one method of backtesting! There is another method that you can use but which involved downloading backtesting data NOT from your broker but from MetaQuotes (the makers of MetaTrader 4 &#8211; [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F&amp;source=alansmoney&amp;style=normal&amp;hashtags=backtesting,backtesting+and+optimization,forex+backtesting,MetaTrader+4,metatrader+4+backtesting,metatrader+backtesting,metatrader+optimization,mt4,mt4+backtesting,mt4+optimization" height="61" width="50" /><br />
			</a>
		</div>
<p class="western" style="margin-bottom: 0in" align="left"><img src="http://alansforexblog.com/wp-content/uploads/2009/03/forex-trading.gif" alt="Forex Trading" /></p>
<p class="western" style="margin-bottom: 0in" align="left"><font size="3"><strong>MT4 Backtesting &amp; Optimization<br />
</strong></font></p>
<p>Here is a visual tutorial (aka HOWTO) on how to run optimizations and backtests with MetaTrader 4 (MT4). This is but one method of backtesting! There is another method that you can use but which involved downloading backtesting data NOT from your broker but from MetaQuotes (the makers of MetaTrader 4 &#8211; MT4) directly. For a guide on how to use this other method <a href="http://alansforexblog.com/2008/04/16/new-method-to-achieve-90-modeling-quality-in-mt4s-strategy-tester/" target="_blank">please see this post of mine instead</a>.</p>
<p>I hope you find the guide useful and if you do feel free to give me a shout out by leaving a comment. Here goes the guide:</p>
<p><a href="http://alansforexblog.com/images/backtesting_mt4/backtesting_step1.png"><img src="http://alansforexblog.com/images/backtesting_mt4/backtesting_step1.png" name="graphics1" height="413" align="BOTTOM" border="0" width="560" /></a><br />
<a href="http://alansforexblog.com/images/backtesting_mt4/backtesting_step2.png"><img src="http://alansforexblog.com/images/backtesting_mt4/backtesting_step2.png" name="graphics2" height="381" align="BOTTOM" border="0" width="560" /></a><br />
<a href="http://alansforexblog.com/images/backtesting_mt4/backtesting_step3.png"><img src="http://alansforexblog.com/images/backtesting_mt4/backtesting_step3.png" name="graphics3" height="326" align="BOTTOM" border="0" width="560" /></a><br />
<a href="http://alansforexblog.com/images/backtesting_mt4/backtesting_step4.png"><img src="http://alansforexblog.com/images/backtesting_mt4/backtesting_step4.png" name="graphics4" height="616" align="BOTTOM" border="0" width="508" /></a><br />
<a href="http://alansforexblog.com/images/backtesting_mt4/backtesting_step5.png"><img src="http://alansforexblog.com/images/backtesting_mt4/backtesting_step5.png" name="graphics5" height="556" align="BOTTOM" border="0" width="560" /></a><br />
<a href="http://alansforexblog.com/images/backtesting_mt4/backtesting_step6.png"><img src="http://alansforexblog.com/images/backtesting_mt4/backtesting_step6.png" name="graphics6" height="272" align="BOTTOM" border="0" width="560" /></a><br />
<a href="http://alansforexblog.com/images/backtesting_mt4/backtesting_step7.png"><img src="http://alansforexblog.com/images/backtesting_mt4/backtesting_step7.png" name="graphics7" height="502" align="BOTTOM" border="0" width="560" /&gt;<br />
<a href="http://alansforexblog.com/images/backtesting_mt4/backtesting_step8.png"><img src="http://alansforexblog.com/images/backtesting_mt4/backtesting_step8.png" name="graphics8" height="264" align="BOTTOM" border="0" width="560" /></a></p>
<p>*Due to the limited screen real estate my current blog template affords I had to reduce the size of the images a bit. So if you find that you cannot clearly read a particular item in this visual guide please click on any of the images for a full screen version*</p>
<p>By the way in case you are wondering the EA&#8217;s backtested in this guide come from <a href="http://bogie-enterprises.com/AlansForexBlog_PayPal.html"><strong>Bogie Enterprises</strong></a>.</p>
<p>That about does it for this post.</p>
<p>Have fun backtesting! Hey don&#8217;t forget if you find that elusive holy grail EA, send me a copy! <img src='http://alansforexblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers,<br />
Alan</p>
<p><a href="http://alansforexblog.com">http://alansforexblog.com </a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F&amp;partner=sociable" title="Print"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F&amp;title=MT4%20Backtesting%20%26%20Optimization&amp;bodytext=%0D%0A%0D%0AMT4%20Backtesting%20%26amp%3B%20Optimization%0D%0A%0D%0A%0D%0AHere%20is%20a%20visual%20tutorial%20%28aka%20HOWTO%29%20on%20how%20to%20run%20optimizations%20and%20backtests%20with%20MetaTrader%204%20%28MT4%29.%20This%20is%20but%20one%20method%20of%20backtesting%21%20There%20is%20another%20method%20that%20you%20can%20use%20but%20which%20involved%20do" title="Digg"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F" title="Sphinn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F&amp;title=MT4%20Backtesting%20%26%20Optimization&amp;notes=%0D%0A%0D%0AMT4%20Backtesting%20%26amp%3B%20Optimization%0D%0A%0D%0A%0D%0AHere%20is%20a%20visual%20tutorial%20%28aka%20HOWTO%29%20on%20how%20to%20run%20optimizations%20and%20backtests%20with%20MetaTrader%204%20%28MT4%29.%20This%20is%20but%20one%20method%20of%20backtesting%21%20There%20is%20another%20method%20that%20you%20can%20use%20but%20which%20involved%20do" title="del.icio.us"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F&amp;t=MT4%20Backtesting%20%26%20Optimization" title="Facebook"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F&amp;title=MT4%20Backtesting%20%26%20Optimization" title="Mixx"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F&amp;title=MT4%20Backtesting%20%26%20Optimization&amp;annotation=%0D%0A%0D%0AMT4%20Backtesting%20%26amp%3B%20Optimization%0D%0A%0D%0A%0D%0AHere%20is%20a%20visual%20tutorial%20%28aka%20HOWTO%29%20on%20how%20to%20run%20optimizations%20and%20backtests%20with%20MetaTrader%204%20%28MT4%29.%20This%20is%20but%20one%20method%20of%20backtesting%21%20There%20is%20another%20method%20that%20you%20can%20use%20but%20which%20involved%20do" title="Google Bookmarks"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  target="_blank" href="http://blogplay.com" title="Blogplay"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F&amp;partner=sociable" title="PDF"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://alansforexblog.com/feed/" title="RSS"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=MT4%20Backtesting%20%26%20Optimization%20-%20http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F" title="Twitter"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=MT4%20Backtesting%20%26%20Optimization&amp;body=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F" title="email"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F&amp;title=MT4%20Backtesting%20%26%20Optimization&amp;source=Alan%27s+Forex+Blog+An+adventure+in+currency+trading&amp;summary=%0D%0A%0D%0AMT4%20Backtesting%20%26amp%3B%20Optimization%0D%0A%0D%0A%0D%0AHere%20is%20a%20visual%20tutorial%20%28aka%20HOWTO%29%20on%20how%20to%20run%20optimizations%20and%20backtests%20with%20MetaTrader%204%20%28MT4%29.%20This%20is%20but%20one%20method%20of%20backtesting%21%20There%20is%20another%20method%20that%20you%20can%20use%20but%20which%20involved%20do" title="LinkedIn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F&amp;t=MT4%20Backtesting%20%26%20Optimization" title="MySpace"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Falansforexblog.com%2F2010%2F01%2F17%2Fmt4-backtesting-optimization%2F" title="Technorati"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://alansforexblog.com/2010/01/17/mt4-backtesting-optimization/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Changing Spread In MT4 Strategy Tester</title>
		<link>http://alansforexblog.com/2009/11/27/changing-spread-in-mt4-strategy-tester/</link>
		<comments>http://alansforexblog.com/2009/11/27/changing-spread-in-mt4-strategy-tester/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 07:41:39 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[Forex Tips]]></category>
		<category><![CDATA[MetaTrader 4]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://alansforexblog.com/2009/11/27/changing-spread-in-mt4-strategy-tester/</guid>
		<description><![CDATA[
			
				
			
		
Hi everyone. Here is an interesting tutorial that I found on a forum (Google search is your friend.) I hope the admin does not mind me reproducing his post available @ http://forexbarometer.com. I hope you find it useful. Here comes the article:
Spread is one of the crucial parameters that might dramatically affect short-time trading systems [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F&amp;source=alansmoney&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Hi everyone. Here is an interesting tutorial that I found on a forum (Google search is your friend.) I hope the admin does not mind me reproducing his post available @ <a rel="nofollow" href="http://forexbarometer.com/" target="_blank">http://forexbarometer.com</a>. I hope you find it useful. Here comes the article:</p>
<p>Spread is one of the crucial parameters that might dramatically affect short-time trading systems performance. By such systems we assume TS that hunts for 8-20 pips profits and keeps opened positions no longer than for 1-2 hours.</p>
<p>The big MT4 platform inconvenience is dependence of the spread used in tester from current or last market conditions. For instance, in Friday market closed with 8 pips spread that is twice bigger than usual 4 pips. During weekend, every time we run tester on historical data, it will use the same last known 8 pips spread and we cannot optimize our TS for normal market conditions of 4-5 pips.</p>
<p>One well known solution is editing a spread value in *.FXT binary file used by tester but since MT4 build 210 tester rewrites this file before running a test/optimization process. So, to implement this *.FXT- tweaking technique we must use build 208 or 209. Those versions tester has a &#8220;Recalculate&#8221; checkbox that allows to prevent binary data file regeneration and keep our spread intact. The older builds might not work with your broker (Old version error in connection window).</p>
<p>Therefore, to begin testing our trading system with variable spread we need:</p>
<ul>
<li>Older TERMINAL.EXE (main MT4) file v.208-209. It&#8217;s better to have a complete installation package because older and newer components may be incompatible. E.g. EA compiled in 223 version will crash under 208.</li>
<li>Tweaking utility. Generally, it may be any hex-editor like WinHex or special utlility like FXB Tester History Editor (FXB THE). The latter is free for all FXB customers and will be uploaded to common customers&#8217; area next week.</li>
<li>TS *EX4 file(s) compiled for used older version (208 or 209). This is a very important issue because any TS will crash on incompatible software unless you have a source code for that and are able to recompile it.</li>
</ul>
<p>These are test results for Leader family TS performed on IBFX mini-account for period of April 1-10, 2009. Tests made in Saturday, April 11, when market is closed and MT4 keeps last low liquidity market spread of eight pips, that is definitely unacceptable value for both testing/optimizing and trading.</p>
<p><img class="linked-image" src="http://alansforexblog.com/images/spread-tweak-comparison.gif" border="0" alt="" width="550" /></p>
<p>*Note: In <a href="http://www.mozilla.com/en-US/" target="_blank">Firefox</a> you can right click and select &#8220;View Image&#8221; to view the full image*</p>
<p>&#8211;end of article&#8211;</p>
<p>Thanks for your attention. I wish you all profitable trading!</p>
<p>Alan<br />
<a href="http://alansforexblog.com">http://alansforexblog.com</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F&amp;partner=sociable" title="Print"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F&amp;title=Changing%20Spread%20In%20MT4%20Strategy%20Tester&amp;bodytext=Hi%20everyone.%20Here%20is%20an%20interesting%20tutorial%20that%20I%20found%20on%20a%20forum%20%28Google%20search%20is%20your%20friend.%29%20I%20hope%20the%20admin%20does%20not%20mind%20me%20reproducing%20his%20post%20available%20%40%20http%3A%2F%2Fforexbarometer.com.%20I%20hope%20you%20find%20it%20useful.%20Here%20comes%20the%20article%3A%0D%0A%0D%0AS" title="Digg"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F" title="Sphinn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F&amp;title=Changing%20Spread%20In%20MT4%20Strategy%20Tester&amp;notes=Hi%20everyone.%20Here%20is%20an%20interesting%20tutorial%20that%20I%20found%20on%20a%20forum%20%28Google%20search%20is%20your%20friend.%29%20I%20hope%20the%20admin%20does%20not%20mind%20me%20reproducing%20his%20post%20available%20%40%20http%3A%2F%2Fforexbarometer.com.%20I%20hope%20you%20find%20it%20useful.%20Here%20comes%20the%20article%3A%0D%0A%0D%0AS" title="del.icio.us"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F&amp;t=Changing%20Spread%20In%20MT4%20Strategy%20Tester" title="Facebook"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F&amp;title=Changing%20Spread%20In%20MT4%20Strategy%20Tester" title="Mixx"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F&amp;title=Changing%20Spread%20In%20MT4%20Strategy%20Tester&amp;annotation=Hi%20everyone.%20Here%20is%20an%20interesting%20tutorial%20that%20I%20found%20on%20a%20forum%20%28Google%20search%20is%20your%20friend.%29%20I%20hope%20the%20admin%20does%20not%20mind%20me%20reproducing%20his%20post%20available%20%40%20http%3A%2F%2Fforexbarometer.com.%20I%20hope%20you%20find%20it%20useful.%20Here%20comes%20the%20article%3A%0D%0A%0D%0AS" title="Google Bookmarks"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  target="_blank" href="http://blogplay.com" title="Blogplay"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F&amp;partner=sociable" title="PDF"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://alansforexblog.com/feed/" title="RSS"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Changing%20Spread%20In%20MT4%20Strategy%20Tester%20-%20http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F" title="Twitter"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Changing%20Spread%20In%20MT4%20Strategy%20Tester&amp;body=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F" title="email"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F&amp;title=Changing%20Spread%20In%20MT4%20Strategy%20Tester&amp;source=Alan%27s+Forex+Blog+An+adventure+in+currency+trading&amp;summary=Hi%20everyone.%20Here%20is%20an%20interesting%20tutorial%20that%20I%20found%20on%20a%20forum%20%28Google%20search%20is%20your%20friend.%29%20I%20hope%20the%20admin%20does%20not%20mind%20me%20reproducing%20his%20post%20available%20%40%20http%3A%2F%2Fforexbarometer.com.%20I%20hope%20you%20find%20it%20useful.%20Here%20comes%20the%20article%3A%0D%0A%0D%0AS" title="LinkedIn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F&amp;t=Changing%20Spread%20In%20MT4%20Strategy%20Tester" title="MySpace"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Falansforexblog.com%2F2009%2F11%2F27%2Fchanging-spread-in-mt4-strategy-tester%2F" title="Technorati"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://alansforexblog.com/2009/11/27/changing-spread-in-mt4-strategy-tester/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to show MetaTrader account history profit in PIPs</title>
		<link>http://alansforexblog.com/2009/10/23/how-to-show-metatrader-account-history-profit-in-pips/</link>
		<comments>http://alansforexblog.com/2009/10/23/how-to-show-metatrader-account-history-profit-in-pips/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 09:44:12 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://alansforexblog.com/2009/10/23/how-to-show-metatrader-account-history-profit-in-pips/</guid>
		<description><![CDATA[
			
				
			
		

Greetings dear fellow forex traders. Today I&#8217;m going to briefly show how you can get your MetaTrader account history performance statement to show the profit or loss in PIPs. I&#8217;m pretty sure there must be a few of you out there who&#8217;ve always wondered how to get MT4 to do this. Unfortunately the bad news [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F&amp;source=alansmoney&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://alansforexblog.com/wp-content/uploads/2009/03/forex-trading.gif" alt="Forex Trading" /></p>
<p>Greetings dear fellow forex traders. Today I&#8217;m going to briefly show how you can get your MetaTrader account history performance statement to show the profit or loss in PIPs. I&#8217;m pretty sure there must be a few of you out there who&#8217;ve always wondered how to get MT4 to do this. Unfortunately the bad news is that MT4 by default cannot do this. What is required is a little bit of work.</p>
<p>What you gotta do is open the statement file with MS Excel (technically it should work with other spreadsheet programs as well) and use the following function:</p>
<p>=IF(AND(F6&lt;20;C6=&#8221;buy&#8221;);(J6-F6)*10000;IF(AND(F6&lt;20;C6=&#8221;sell&#8221;);( F6-J6)*10000;IF(AND(F6&gt;20;C6=&#8221;buy&#8221;);(J 6-F6)*100;(F6-J6)*100)))</p>
<p>or</p>
<p>=IF(AND(F6&lt;20,C6=&#8221;buy&#8221;),(J6-F6)*10000,IF(AND(F6&lt;20,C6=&#8221;sell&#8221;),( F6-J6)*10000,IF(AND(F6&gt;20,C6=&#8221;buy&#8221;),(J 6-F6)*100,(F6-J6)*100)))</p>
<p>Here it is in action:</p>
<p><img src="http://img188.imageshack.us/img188/5680/mt4pips2jn0.png" border="0" width="520"/></p>
<p>*If you&#8217;re curious to know, that&#8217;s a sample image I found on the net, it&#8217;s not my screenshot &#8211; I&#8217;m not Greek*</p>
<p>That&#8217;s it! Hopefully the next version of MetaTrader &#8211; aka MetaTrader 5 (MT5) &#8211; supports this ability by default (MetaQuotes are you listening?) because in my opinion it is a very useful feature for those of us who think in pips instead of dollars.</p>
<p>Ok, that about does it for this tutorial. I hope you found it useful. If so give me a shout (leave a comment) letting me know <img src='http://alansforexblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers,<br />
Alan<br />
<a href="http://alansforexblog.com">http://alansforexblog.com</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F&amp;partner=sociable" title="Print"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F&amp;title=How%20to%20show%20MetaTrader%20account%20history%20profit%20in%20PIPs&amp;bodytext=%0D%0A%0D%0AGreetings%20dear%20fellow%20forex%20traders.%20Today%20I%27m%20going%20to%20briefly%20show%20how%20you%20can%20get%20your%20MetaTrader%20account%20history%20performance%20statement%20to%20show%20the%20profit%20or%20loss%20in%20PIPs.%20I%27m%20pretty%20sure%20there%20must%20be%20a%20few%20of%20you%20out%20there%20who%27ve%20always%20wond" title="Digg"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F" title="Sphinn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F&amp;title=How%20to%20show%20MetaTrader%20account%20history%20profit%20in%20PIPs&amp;notes=%0D%0A%0D%0AGreetings%20dear%20fellow%20forex%20traders.%20Today%20I%27m%20going%20to%20briefly%20show%20how%20you%20can%20get%20your%20MetaTrader%20account%20history%20performance%20statement%20to%20show%20the%20profit%20or%20loss%20in%20PIPs.%20I%27m%20pretty%20sure%20there%20must%20be%20a%20few%20of%20you%20out%20there%20who%27ve%20always%20wond" title="del.icio.us"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F&amp;t=How%20to%20show%20MetaTrader%20account%20history%20profit%20in%20PIPs" title="Facebook"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F&amp;title=How%20to%20show%20MetaTrader%20account%20history%20profit%20in%20PIPs" title="Mixx"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F&amp;title=How%20to%20show%20MetaTrader%20account%20history%20profit%20in%20PIPs&amp;annotation=%0D%0A%0D%0AGreetings%20dear%20fellow%20forex%20traders.%20Today%20I%27m%20going%20to%20briefly%20show%20how%20you%20can%20get%20your%20MetaTrader%20account%20history%20performance%20statement%20to%20show%20the%20profit%20or%20loss%20in%20PIPs.%20I%27m%20pretty%20sure%20there%20must%20be%20a%20few%20of%20you%20out%20there%20who%27ve%20always%20wond" title="Google Bookmarks"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a  target="_blank" href="http://blogplay.com" title="Blogplay"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F&amp;partner=sociable" title="PDF"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://alansforexblog.com/feed/" title="RSS"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=How%20to%20show%20MetaTrader%20account%20history%20profit%20in%20PIPs%20-%20http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F" title="Twitter"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=How%20to%20show%20MetaTrader%20account%20history%20profit%20in%20PIPs&amp;body=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F" title="email"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F&amp;title=How%20to%20show%20MetaTrader%20account%20history%20profit%20in%20PIPs&amp;source=Alan%27s+Forex+Blog+An+adventure+in+currency+trading&amp;summary=%0D%0A%0D%0AGreetings%20dear%20fellow%20forex%20traders.%20Today%20I%27m%20going%20to%20briefly%20show%20how%20you%20can%20get%20your%20MetaTrader%20account%20history%20performance%20statement%20to%20show%20the%20profit%20or%20loss%20in%20PIPs.%20I%27m%20pretty%20sure%20there%20must%20be%20a%20few%20of%20you%20out%20there%20who%27ve%20always%20wond" title="LinkedIn"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F&amp;t=How%20to%20show%20MetaTrader%20account%20history%20profit%20in%20PIPs" title="MySpace"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Falansforexblog.com%2F2009%2F10%2F23%2Fhow-to-show-metatrader-account-history-profit-in-pips%2F" title="Technorati"><img src="http://alansforexblog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://alansforexblog.com/2009/10/23/how-to-show-metatrader-account-history-profit-in-pips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  alansforexblog.com/category/tutorials/feed/ ) in 0.87148 seconds, on Sep 10th, 2010 at 8:59 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Sep 10th, 2010 at 9:59 pm UTC -->