<?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>Trainee Trader &#187; MetaTrader</title>
	<atom:link href="http://www.traineetrader.com/category/software/metatrader/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.traineetrader.com</link>
	<description>Trainee Trader provides articles and tutorials related to Forex, Derivatives, Equities and Futures markets.</description>
	<lastBuildDate>Thu, 22 Dec 2011 05:16:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MetaTrader Indicator Design: Spread &amp; Magnified Price</title>
		<link>http://www.traineetrader.com/metatrader-indicator-design-spread-magnified-price/</link>
		<comments>http://www.traineetrader.com/metatrader-indicator-design-spread-magnified-price/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 07:04:08 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[FOREX]]></category>
		<category><![CDATA[Fundamentals]]></category>
		<category><![CDATA[MetaTrader]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Quantitative Trading]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Trading]]></category>
		<category><![CDATA[USD]]></category>
		<category><![CDATA[Indicator]]></category>
		<category><![CDATA[MQ4]]></category>
		<category><![CDATA[MT4]]></category>

		<guid isPermaLink="false">http://www.traineetrader.com/?p=1209</guid>
		<description><![CDATA[I have written a very simple indicator for MetaTrader that shows a magnified version of the current price. For this indicator I wanted to show the fractional pip value with less emphasis. I also wanted to be able to display the current spread, so it is easily viewable from the chart window. I have made [...]]]></description>
			<content:encoded><![CDATA[<p>I have written a very simple indicator for MetaTrader that shows a magnified version of the current price. For this indicator I wanted to show the fractional pip value with less emphasis.</p>
<p>I also wanted to be able to display the current spread, so it is easily viewable from the chart window.</p>
<p>I have made the following varibles modifible when attaching the indicator to the chart:<br />
<strong> fontColor</strong> &#8211; This is the colour of the price display if bidAsk=&#8221;False&#8221;.<br />
<strong> spreadColor</strong>- This is the colour of the spread display.<br />
<strong> fontSize</strong> &#8211; This is the size of the bid and spread prices.<br />
<strong> corner</strong>- This controls which corner you want your price and spread detail displayed in.<br />
<strong> bidAskColor</strong>- This is set to true by default, if you wish to display solid colour only set to false.</p>
<p>Below is a screenshot of SpreadPriceInd.mq4 in action:</p>
<p style="text-align: center;"><a href="http://www.traineetrader.com/wp-content/uploads/2010/09/SpreadPriceInd.png"><img class="aligncenter size-large wp-image-1216" title="SpreadPriceInd" src="http://www.traineetrader.com/wp-content/uploads/2010/09/SpreadPriceInd-1024x516.png" alt="mt4 indicator SpreadPric.mq4" width="614" height="310" /></a></p>
<p>The source code for the indicator is shown below:</p>
<pre class="brush: cpp">//+------------------------------------------------------------------+
//|                                               SpreadPriceInd.mq4 |
//|                                  Copyright © 2010, TraineeTrader |
//|                                     http://www.traineetrader.com |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2010, TraineeTrader"
#property link      "http://www.traineetrader.com"

#property indicator_chart_window
   // usr mod vars
   extern color     fontColor = Yellow;
   extern color     spreadColor = Blue;
   extern int       fontSize=24;
   extern string    font="Arial";
   extern int       corner=1;
   extern int       diffDig = 10;
   extern bool      bidAskColor = True;

   double           prevPrice; // easier if global

int init()
  {
   return(0);
  }

int deinit()
  {
   //kill chart objects
   ObjectDelete("nonFracPrice");
   ObjectDelete("fracPrice");
   ObjectDelete("marketSpread");
   return(0);
  }

int start()
  {
   int xOffset = fontSize - 8; // for fractional pip offset
   string priceBase; 

   if (bidAskColor == True)
   // shown movements in price by color change
   {
    if (Bid &gt; prevPrice){ fontColor = LawnGreen; }
    else{ fontColor = Red; }
    prevPrice = Bid;
   }

   // Usually 5 or 3
   priceBase = DoubleToStr(Bid, Digits);
   int SLength = StringLen(priceBase);

   // Create chart objects
   ObjectCreate("nonFracPrice", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("nonFracPrice", StringSubstr(priceBase, 0, SLength-1),
fontSize, font, fontColor);
   ObjectSet("nonFracPrice", OBJPROP_CORNER, corner);
   ObjectSet("nonFracPrice", OBJPROP_XDISTANCE, xOffset);
   ObjectSet("nonFracPrice", OBJPROP_YDISTANCE, 1);

   ObjectCreate("fracPrice", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("fracPrice", StringSubstr(priceBase, SLength-1, 1),
 fontSize-diffDig, font, fontColor);
   ObjectSet("fracPrice", OBJPROP_CORNER, corner);
   ObjectSet("fracPrice", OBJPROP_XDISTANCE, 1);
   ObjectSet("fracPrice", OBJPROP_YDISTANCE, 1);

   ObjectCreate("marketSpread", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("marketSpread", DoubleToStr(MarketInfo(Symbol(),
MODE_SPREAD)/10,2),fontSize, font, spreadColor);
   ObjectSet("marketSpread", OBJPROP_CORNER, corner);
   ObjectSet("marketSpread", OBJPROP_XDISTANCE, 1);
   ObjectSet("marketSpread", OBJPROP_YDISTANCE, 40);
   return(0);
  }</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.traineetrader.com/metatrader-indicator-design-spread-magnified-price/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>6 MetaTrader Indicators To Help you Tell the Time in the FOREX Market</title>
		<link>http://www.traineetrader.com/6-metatrader-indicators-to-help-you-tell-the-time-in-the-forex-market/</link>
		<comments>http://www.traineetrader.com/6-metatrader-indicators-to-help-you-tell-the-time-in-the-forex-market/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 08:47:50 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[FOREX]]></category>
		<category><![CDATA[Fundamentals]]></category>
		<category><![CDATA[MetaTrader]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Trading]]></category>
		<category><![CDATA[Indicators]]></category>
		<category><![CDATA[MQ4]]></category>
		<category><![CDATA[MT4]]></category>
		<category><![CDATA[Time Zone]]></category>

		<guid isPermaLink="false">http://www.traineetrader.com/6-metatrader-indicators-to-help-you-tell-the-time-in-the-forex-market/</guid>
		<description><![CDATA[I have been looking around for some good MetaTrader indicators that will help me time my trades a bit better. When trading FOREX it is important to be familiar with world time zones and news announcements. As FOREX is a global market it is not enough to know about what is happening in your time [...]]]></description>
			<content:encoded><![CDATA[<p>I have been looking around for some good MetaTrader indicators that will help me time my trades a bit better. When trading FOREX it is important to be familiar with world time zones and news announcements. As FOREX is a global market it is not enough to know about what is happening in your time zone. Most of these indicators are available from the FOREX factory and are freeware.</p>
<h3>Display Info MT4 Indicator </h3>
<p>This is an excellent indicator that can be configured and modified as desired. Hanover has done an excellent job as he does with all his indicators he has released. This indicator will display the following info, for all currency pairs offered by your broker:</p>
<ul>
<li>Symbol (A=AUD, C=CAD, E=EUR, F=CHF, G=GBP, J=JPY, N=NZD, U=USD)</li>
<li>Current bid price</li>
<li>Daily range to date:ave daily range (DR as a % of ADR) (note: Sunday candles not included in ADR)</li>
<li>Spread (spread as a % of ADR)</li>
<li>Dollars per pip (per full lot traded)</li>
<li>Swap paid(+) or charged(-) by broker on long and short positions</li>
</ul>
<p>The screenshot below shows the Display Info indicator in action.</p>
<p><a href="http://www.traineetrader.com/wp-content/uploads/2010/09/image.png" target="_blank"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="Display Info MT4 Indicator MT4" border="0" alt="Display Info MT4 Indicator MT4" src="http://www.traineetrader.com/wp-content/uploads/2010/09/image_thumb.png" width="500" height="233" /></a> <a href="http://www.forexfactory.com/showthread.php?t=245064" target="_blank">Download Display Info MT4 Indicator</a></p>
<h3>Plot News MT4 Indicator</h3>
<p>The Plot News Indicator is one of the most useful indicators I have come across.&#160; This indicator can be configured to alert you of up coming news events, it also allows you to see the market impact of every news announcement. Once again this indicator is written by hanover. The screenshot below shows the Plot News indicator in action.</p>
<p><a href="http://www.traineetrader.com/wp-content/uploads/2010/09/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="Plot News MT4 Indicator MT4" border="0" alt="Plot News MT4 Indicator MT4" src="http://www.traineetrader.com/wp-content/uploads/2010/09/image_thumb1.png" width="500" height="233" /></a> <a href="http://www.forexfactory.com/showthread.php?t=250544" target="_blank">Download Plot News MT4 Indicator</a></p>
<h3>Auto-Session v1.5 MT4 Indicator</h3>
<p>This indicator graphically displays the overlap between different trading sessions. The indicator also displays the pip range from the given session. The screenshot below shows the Auto-Session v1.5 indicator in action.</p>
<p><a href="http://www.traineetrader.com/wp-content/uploads/2010/09/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="Auto-Session v1.5 MT4 Indicator" border="0" alt="Auto-Session v1.5 MT4 Indicator" src="http://www.traineetrader.com/wp-content/uploads/2010/09/image_thumb2.png" width="500" height="235" /></a> <a href="http://www.forexfactory.com/showthread.php?t=239188&amp;page=2" target="_blank">Download Auto-Session v1.5 MT4 Indicator</a></p>
<h3>TimeZone Indicator</h3>
<p>The TimeZone indicator displays time zones of the different currencies in a separate window. The screenshot below shows the Auto-Session v1.5 indicator in action.</p>
<p><a href="http://www.traineetrader.com/wp-content/uploads/2010/09/image3.png" target="_blank"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="TimeZone MT4 Indicator" border="0" alt="TimeZone MT4 Indicator" src="http://www.traineetrader.com/wp-content/uploads/2010/09/image_thumb3.png" width="500" height="233" /></a><a href="http://www.forexfactory.com/showthread.php?t=239188&amp;page=2" target="_blank">Download TimeZone MT4 Indicator</a>&#160; </p>
<h3>p4Clock MT4 Indicator</h3>
<p>The p4clock indicator has been around for quite sometime and displays different time zones in your preferred corners. It also displays your brokers time and how long is left in the current bar. The screenshot below shows the p4Clock indicator in action.</p>
<p><a href="http://www.traineetrader.com/wp-content/uploads/2010/09/image4.png" target="_blank"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="p4Clock MT4 Indicator" border="0" alt="p4Clock MT4 Indicator" src="http://www.traineetrader.com/wp-content/uploads/2010/09/image_thumb4.png" width="500" height="233" /></a> <a href="http://www.forexfactory.com/showthread.php?t=239188&amp;page=2" target="_blank">Download p4Clock MT4 Indicator</a>&#160; </p>
</p>
</p>
<h3>Forex Market Hours MT4 Indicator</h3>
<p>Forex Market Hours Indicator graphically displays the market overlap and the time in GMT that markets open. The screenshot below shows the Forex Market Hours indicator in action.</p>
<p><a href="http://www.traineetrader.com/wp-content/uploads/2010/09/image5.png" target="_blank"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="Forex Market Hours MT4 Indicator" border="0" alt="Forex Market Hours MT4 Indicator" src="http://www.traineetrader.com/wp-content/uploads/2010/09/image_thumb5.png" width="500" height="235" /></a> <a href="http://www.forexfactory.com/showthread.php?t=239188&amp;page=2" target="_blank">Download Market Hours MT4 Indicator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.traineetrader.com/6-metatrader-indicators-to-help-you-tell-the-time-in-the-forex-market/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Forex From Scratch FREE eBook</title>
		<link>http://www.traineetrader.com/forex-from-scratch-free-ebook/</link>
		<comments>http://www.traineetrader.com/forex-from-scratch-free-ebook/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 02:09:27 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Banking]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[FOREX]]></category>
		<category><![CDATA[Fundamentals]]></category>
		<category><![CDATA[MetaTrader]]></category>
		<category><![CDATA[Money]]></category>
		<category><![CDATA[USD]]></category>
		<category><![CDATA[Yen]]></category>
		<category><![CDATA[eBook]]></category>
		<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.traineetrader.com/forex-from-scratch-free-ebook/</guid>
		<description><![CDATA[Forex From Scratch is an eBook designed to teach prospective currency traders the fundamentals. It is written in an easy to understand language and can be printed and read at your leisure. Essentially the eBook came about due to the volume of email I was getting asking for basic Forex information. I hope to revise [...]]]></description>
			<content:encoded><![CDATA[<p>Forex From Scratch is an eBook designed to teach prospective currency traders the fundamentals. It is written in an easy to understand language and can be printed and read at your leisure. Essentially the eBook came about due to the volume of email I was getting asking for basic Forex information. I hope to revise the book and expand on it so your feedback would be greatly appreciated.</p>
<h4>Sample Pages</h4>
<p><a href="http://www.traineetrader.com/wp-content/uploads/2010/08/image1.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Forex From Scratch eBook" border="0" alt="Forex From Scratch eBook" src="http://www.traineetrader.com/wp-content/uploads/2010/08/image_thumb.png" width="500" height="246" /></a> </p>
<p><a href="http://www.traineetrader.com/wp-content/uploads/2010/08/image2.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Forex From Scratch eBook" border="0" alt="Forex From Scratch eBook" src="http://www.traineetrader.com/wp-content/uploads/2010/08/image_thumb1.png" width="500" height="246" /></a> </p>
<p><a href="http://www.traineetrader.com/wp-content/uploads/2010/08/image3.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Forex From Scratch eBook" border="0" alt="Forex From Scratch eBook" src="http://www.traineetrader.com/wp-content/uploads/2010/08/image_thumb2.png" width="500" height="248" /></a> </p>
<p>Download the eBook now FREE, just enter your details below and we will send you a FREE copy. A full table of contents is shown below.</p>
<p><!-- Begin MailChimp Signup Form --><br />
<!--[if IE]></p>
<style type="text/css" media="screen">
	#mc_embed_signup fieldset {position: relative;}
	#mc_embed_signup legend {position: absolute; top: -1em; left: .2em;}
</style>
<p><![endif]--><br />
<!--[if IE 7]></p>
<style type="text/css" media="screen">
	.mc-field-group {overflow:visible;}
</style>
<p><![endif]--><br />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script><br />
<script type="text/javascript" src="http://downloads.mailchimp.com/js/jquery.validate.js"></script><br />
<script type="text/javascript" src="http://downloads.mailchimp.com/js/jquery.form.js"></script></p>
<div id="mc_embed_signup">
<form action="http://traineetrader.us2.list-manage.com/subscribe/post?u=1ce92adc7191ca987adebc92b&amp;id=802e9fd095" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" style="font: normal 100% Arial, sans-serif;font-size: 10px;">
<fieldset style="-moz-border-radius: 4px;border-radius: 4px;-webkit-border-radius: 4px;border: 1px solid #000000;padding-top: 1.5em;margin: .5em 0;background-color: #FFFFFF;color: #000;text-align: left;">
<legend style="white-space: normal;text-transform: capitalize;font-weight: bold;color: #666666;background: #CCCCCC;padding: .5em 1em;border: 1px solid #000000;-moz-border-radius: 4px;border-radius: 4px;-webkit-border-radius: 4px;font-size: 1.2em;"><span>Get Your Free Book</span></legend>
<div class="indicate-required" style="text-align: right;font-style: italic;overflow: hidden;color: #000;margin: 0 9% 0 0;">* indicates required</div>
<div class="mc-field-group" style="margin: 1.3em 5%;clear: both;overflow: hidden;">
<label for="mce-EMAIL" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Email Address <strong class="note-required">*</strong><br />
</label></p>
<input type="text" value="" name="EMAIL" class="required email" id="mce-EMAIL" style="margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;">
</div>
<div class="mc-field-group" style="margin: 1.3em 5%;clear: both;overflow: hidden;">
<label for="mce-FNAME" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">First Name <strong class="note-required">*</strong><br />
</label></p>
<input type="text" value="" name="FNAME" class="required" id="mce-FNAME" style="margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;">
</div>
<div class="mc-field-group" style="margin: 1.3em 5%;clear: both;overflow: hidden;">
    <label class="input-group-label" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Email Format </label></p>
<div class="input-group" style="padding: .7em .7em .7em 0;font-size: .9em;margin: 0 0 1em 0;">
<ul style="margin: 0;padding: 0;">
<li style="list-style: none;overflow: hidden;padding: .2em 0;clear: left;display: block;margin: 0;">
<input type="radio" value="html" name="EMAILTYPE" id="mce-EMAILTYPE-0" style="margin-right: 2%;padding: .2em .3em;width: auto;float: left;z-index: 999;"><label for="mce-EMAILTYPE-0" style="display: block;margin: .4em 0 0 0;line-height: 1em;font-weight: bold;width: auto;float: left;text-align: left !important;">html</label></li>
<li style="list-style: none;overflow: hidden;padding: .2em 0;clear: left;display: block;margin: 0;">
<input type="radio" value="text" name="EMAILTYPE" id="mce-EMAILTYPE-1" style="margin-right: 2%;padding: .2em .3em;width: auto;float: left;z-index: 999;"><label for="mce-EMAILTYPE-1" style="display: block;margin: .4em 0 0 0;line-height: 1em;font-weight: bold;width: auto;float: left;text-align: left !important;">text</label></li>
<li style="list-style: none;overflow: hidden;padding: .2em 0;clear: left;display: block;margin: 0;">
<input type="radio" value="mobile" name="EMAILTYPE" id="mce-EMAILTYPE-2" style="margin-right: 2%;padding: .2em .3em;width: auto;float: left;z-index: 999;"><label for="mce-EMAILTYPE-2" style="display: block;margin: .4em 0 0 0;line-height: 1em;font-weight: bold;width: auto;float: left;text-align: left !important;">mobile</label></li>
</ul></div>
</div>
<div id="mce-responses" style="float: left;top: -1.4em;padding: 0em .5em 0em .5em;overflow: hidden;width: 90%;margin: 0 5%;clear: both;">
<div class="response" id="mce-error-response" style="display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;float: left;top: -1.5em;z-index: 1;width: 80%;background: FBE3E4;color: #D12F19;"></div>
<div class="response" id="mce-success-response" style="display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;float: left;top: -1.5em;z-index: 1;width: 80%;background: #E3FBE4;color: #529214;"></div>
</p></div>
<div>
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn" style="clear: both;width: auto;display: block;margin: 1em 0 1em 5%;"></div>
</fieldset>
<p>	<a href="#" id="mc_embed_close" class="mc_embed_close" style="display: none;">Close</a><br />
</form>
</div>
<p><script type="text/javascript">
var fnames = new Array();var ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';var err_style = '';
try{
    err_style = mc_custom_error_style;
} catch(e){
    err_style = 'margin: 1em 0 0 0; padding: 1em 0.5em 0.5em 0.5em; background: FFEEEE none repeat scroll 0% 0%; font-weight: bold; float: left; z-index: 1; width: 80%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: FF0000;';
}
var mce_jQuery = jQuery.noConflict();
mce_jQuery(document).ready( function($) {
  var options = { errorClass: 'mce_inline_error', errorElement: 'div', errorStyle: err_style, onkeyup: function(){}, onfocusout:function(){}, onblur:function(){}  };
  var mce_validator = mce_jQuery("#mc-embedded-subscribe-form").validate(options);
  options = { url: 'http://traineetrader.us2.list-manage.com/subscribe/post-json?u=1ce92adc7191ca987adebc92b&#038;id=802e9fd095&#038;c=?', type: 'GET', dataType: 'json', contentType: "application/json; charset=utf-8",
                beforeSubmit: function(){
                    mce_jQuery('#mce_tmp_error_msg').remove();
                    mce_jQuery('.datefield','#mc_embed_signup').each(
                        function(){
                            var txt = 'filled';
                            var fields = new Array();
                            var i = 0;
                            mce_jQuery(':text', this).each(
                                function(){
                                    fields[i] = this;
                                    i++;
                                });
                            mce_jQuery(':hidden', this).each(
                                function(){
                                	if ( fields[0].value=='MM' &#038;&#038; fields[1].value=='DD' &#038;&#038; fields[2].value=='YYYY' ){
                                		this.value = '';
									} else if ( fields[0].value=='' &#038;&#038; fields[1].value=='' &#038;&#038; fields[2].value=='' ){
                                		this.value = '';
									} else {
	                                    this.value = fields[0].value+'/'+fields[1].value+'/'+fields[2].value;
	                                }
                                });
                        });
                    return mce_validator.form();
                }, 
                success: mce_success_cb
            };
  mce_jQuery('#mc-embedded-subscribe-form').ajaxForm(options);</p>
<p>});
function mce_success_cb(resp){
    mce_jQuery('#mce-success-response').hide();
    mce_jQuery('#mce-error-response').hide();
    if (resp.result=="success"){
        mce_jQuery('#mce-'+resp.result+'-response').show();
        mce_jQuery('#mce-'+resp.result+'-response').html(resp.msg);
        mce_jQuery('#mc-embedded-subscribe-form').each(function(){
            this.reset();
    	});
    } else {
        var index = -1;
        var msg;
        try {
            var parts = resp.msg.split(' - ',2);
            if (parts[1]==undefined){
                msg = resp.msg;
            } else {
                i = parseInt(parts[0]);
                if (i.toString() == parts[0]){
                    index = parts[0];
                    msg = parts[1];
                } else {
                    index = -1;
                    msg = resp.msg;
                }
            }
        } catch(e){
            index = -1;
            msg = resp.msg;
        }
        try{
            if (index== -1){
                mce_jQuery('#mce-'+resp.result+'-response').show();
                mce_jQuery('#mce-'+resp.result+'-response').html(msg);            
            } else {
                err_id = 'mce_tmp_error_msg';
                html = '
<div id="'+err_id+'" style="'+err_style+'"> '+msg+'</div>
<p>';</p>
<p>                var input_id = '#mc_embed_signup';
                var f = mce_jQuery(input_id);
                if (ftypes[index]=='address'){
                    input_id = '#mce-'+fnames[index]+'-addr1';
                    f = mce_jQuery(input_id).parent().parent().get(0);
                } else if (ftypes[index]=='date'){
                    input_id = '#mce-'+fnames[index]+'-month';
                    f = mce_jQuery(input_id).parent().parent().get(0);
                } else {
                    input_id = '#mce-'+fnames[index];
                    f = mce_jQuery().parent(input_id).get(0);
                }
                if (f){
                    mce_jQuery(f).append(html);
                    mce_jQuery(input_id).focus();
                } else {
                    mce_jQuery('#mce-'+resp.result+'-response').show();
                    mce_jQuery('#mce-'+resp.result+'-response').html(msg);
                }
            }
        } catch(e){
            mce_jQuery('#mce-'+resp.result+'-response').show();
            mce_jQuery('#mce-'+resp.result+'-response').html(msg);
        }
    }
}
</script><br />
<!--End mc_embed_signup-->
</p>
</p>
<h4>Table Of Contents</h4>
<p><strong>1. What’s All This Talk about Money?</strong></p>
<p>1.1. Introduction to Money</p>
<p>1.2. Characteristics of Money</p>
<p>1.3. Vodka as Money</p>
<p>1.4. Paying the Man</p>
<p><strong>2. The Forex Market, Exchange Rate &amp; Bid Ask Spreads</strong> </p>
<p>2.1. Introduction to the Forex Market</p>
<p>2.2. Over the Counter Markets</p>
<p>2.3. Example: Travel &amp; the Exchange Rate</p>
<p>2.4. Exchange Rates: Indirect Quotes</p>
<p>2.5. Exchange Rates: Direct Quote</p>
<p>2.6. Base Currency or Commodity Currency</p>
<p>2.7. Exchange Rates: The Bid Price</p>
<p>2.8. Exchange Rates: The Ask Price</p>
<p>2.9. Why is the Ask price always more than the Bid price? </p>
<p><strong>3. Pips, lots and a little bit of math</strong></p>
<p>3.1. Introduction</p>
<p>3.2 What is a Pip?</p>
<p>3.3. How Much is a Pip worth?</p>
<p>3.4. What is a Lot?</p>
<p>3.4. Pip Calculation: Indirect Currency</p>
<p>3.5. Pip Calculation: Direct Currency</p>
<p>3.5. Pip Calculation Summary</p>
<p><strong>4. Understanding the lingo</strong></p>
<p>4.1. Introduction &amp; Key Forex Terms</p>
<p>4.2. The Spot Market</p>
<p>4.3. The Long and Short of it</p>
<p>4.4. A Closer Look at Currency Symbols</p>
<p>4.5. Liquidity</p>
<p><strong>5. The Big Three in Forex: Leverage, Margin &amp; Equity</strong> </p>
<p>5.1. Introduction</p>
<p>5.2. Leverage</p>
<p>5.3. Margin</p>
<p>5.4. Equity</p>
<p>5.5. Final Word on Margin</p>
<p><strong>6. The Best Trading Times in the 24 Hour Market 22</strong></p>
<p>6.1. Introduction</p>
<p>6.2. When Can I Trade Forex?</p>
<p>6.3. Best Times to Trade Forex</p>
<p>6.4. Simple Time Zone Conversion</p>
<p><strong>7. Putting it Into Practice</strong></p>
<p>7.1. Setting up a Demo Account</p>
<p>7.2. MetaTrader Client Terminal</p>
<p>7.3. Creating a Chart in MetaTrader</p>
<p>7.4. Chart Time Frames</p>
<p>7.5. Charts Toolbar</p>
<p>7.6. Line Drawing Tools</p>
<p>7.7. Placing an Order</p>
<p>7.8. Modifying or Closing an Order</p>
<p>7.9. Moving Forward</p>
]]></content:encoded>
			<wfw:commentRss>http://www.traineetrader.com/forex-from-scratch-free-ebook/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Building an Automated FOREX System:  Writing the Pseudo Code</title>
		<link>http://www.traineetrader.com/building-an-automated-forex-system-writing-the-pseudo-code/</link>
		<comments>http://www.traineetrader.com/building-an-automated-forex-system-writing-the-pseudo-code/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 05:53:27 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[FOREX]]></category>
		<category><![CDATA[Fundamentals]]></category>
		<category><![CDATA[MetaTrader]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Trading]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[MetaEditor]]></category>
		<category><![CDATA[Pseudo Code]]></category>
		<category><![CDATA[Turtle Trading]]></category>

		<guid isPermaLink="false">http://www.traineetrader.com/?p=971</guid>
		<description><![CDATA[In our last article we examined the basics of writing pseudo code and briefly looked at strategy design. If you have not read Designing a simple strategy and Pseudo Code you will need read that before continuing. In this article we will be translating the original Turtle Trader rules into pseudo code. This will ensure [...]]]></description>
			<content:encoded><![CDATA[<p>In our last article we examined the basics of writing pseudo code and briefly looked at strategy design. If you have not read <a href="http://www.traineetrader.com/designing-a-simple-strategy-and-introduction-to-pseudo-code/" target="_blank">Designing a simple strategy and Pseudo Code</a> you will need read that before continuing. In this article we will be translating the original Turtle Trader rules into pseudo code. This will ensure we have a good understanding of the trading system we will be implementing.</p>
<h3>Writing Pseudo Code in MeataEditor</h3>
<p>For simplicity reasons we will write our trend following system pseudo code in MetaEditor. Open MetaEditor from “[drive]:/Program Files/MetaTrader4/” folder. Alternatively you can open MetaTrader and press F4 or Tools –&gt; Meta Quotes Language Editor.</p>
<p><strong>Step One </strong></p>
<p>Create a New File of type Expert Advisor. File –&gt; New or CTRL +N.</p>
<p style="text-align: center;"><a style="text-decoration: none;" href="http://www.traineetrader.com/wp-content/uploads/2010/04/MQL.gif"><img class="aligncenter size-full wp-image-976" title="MQL Expert Advisor" src="http://www.traineetrader.com/wp-content/uploads/2010/04/MQL.gif" alt="MQL Expert Advisor, EA CODE" width="505" height="376" /></a></p>
<p style="text-align: left;"><strong>Step Two</strong></p>
<p style="text-align: left;">Click Next an enter appropriate details for the system. Call your Expert Advisor Turtle System.</p>
<p style="text-align: center;"><a style="text-decoration: none;" href="http://www.traineetrader.com/wp-content/uploads/2010/04/Box2.gif"><img class="aligncenter size-full wp-image-977" title="Expert Advisor" src="http://www.traineetrader.com/wp-content/uploads/2010/04/Box2.gif" alt="Expert Advisor Wizard EA, Turtle System" width="505" height="375" /></a></p>
<p style="text-align: left;"><strong>Finally,</strong> you should see a code window similar to the one below:</p>
<p style="text-align: center;"><a style="text-decoration: none;" href="http://www.traineetrader.com/wp-content/uploads/2010/04/CodeWindow.png"><img class="aligncenter size-full wp-image-978" title="CodeWindow" src="http://www.traineetrader.com/wp-content/uploads/2010/04/CodeWindow.png" alt="" width="508" height="401" /></a></p>
<p style="text-align: left;">We will be following the pseudo code convention outlined in the pseudo standard  presented in the previous<a href="http://www.traineetrader.com/designing-a-simple-strategy-and-introduction-to-pseudo-code/" target="_blank"> article</a>. We will enter the pseudo code as comments in MetaEditor, for simplicity we will use the quote modifier. Below is sample pseudo code I have written to implement most parts of the Turtle Trading system. This is the first iteration and there are errors present in the code. Can you find the errors in the pseudo code?</p>
<p style="text-align: left;">
<pre class="brush: text">// Calculate True Range
FUNCTION trueRange WITH todaysHigh AND todaysLow AND pDayClose
    RETURN CALL findMax((todaysHigh - todaysLow), abs(todaysHigh - pDayClose), abs(pDayClose - todaysLow))
END FUNCTION       

// Calculate N
FUNCTION calcN WITH prevN and trueRange
    RETURN (19 * prevN + trueRange) / 20
END FUNCTION

// Detrmine the dollar value of a pip
// 1 lot = 100,000 base currency
// PPV = Per Pip Value
FUNCTION PPV WITH lotSize, currentPrice, accCurrency, pipVal
    inCurr = pipVal / currentPrice
    RETURN accCurrency * inCurr * (lotSize *100000)
END FUNCTION

// Calculate the dollar volatility of a currency pair
FUNCTION dollarVol WITH n AND ppv
    RETURN n * ppv
END FUNCTION

// Calculate unit value for given account
FUNCTION calcUnit WITH dollarVol, accBalance
    return (0.01 * accBalance) / dollarVol
END FUNCTION

// Misc rules
// max 12 units in one direction
// if account drops 10% reduce available equity by 20%

////////////////////// Entries ///////////////////
// System One A shorter term 20 period breakout
// buy or sell 20 period breakout
// buy or sell 1 unit
// if previous breakout winner skip trade
// losing if previous breakout 2N loss
// stops set at 2n below entry

IF currentPrice &gt; 20periodHigh AND prevLongTradeLoser THEN
    CALL buyCurr
ELSE IF currentPrice &lt; 20periodLow AND prevShortTradeLoser THEN
    CALL sellCurr
END

// System Two 55 period breakout entry
IF currentPrice &gt; 55periodHigh AND THEN
    CALL buyCurr
ELSE IF currentPrice &lt; 55periodLow THEN
    CALL sellCurr
END

// Adding units
// Additional units added stops raised by half n
// add a unit every 1n move
IF tradeLong AND currentPrice &gt; (lngEntPrice + n) THEN
    CALL buyCurr
    CALL adjStop
ELSE IF tradeShort AND currentPrice &lt; (lngEntPrice - n) THEN
    CALL sellCurr
    CALL adjStop
END

///////////////////Exits ///////////////////////
// System one
// 10 period low for long posn
// 10 period high for short posn 

IF s1tradeLong AND currentPrice &lt; 10periodLow THEN
    CALL sellCurr
ELSE IF s1tradeShort AND currentPrice &gt; 10periodHigh THEN
    CALL buyCurr
END

// System two exit
// 20 period low for long posn
// 20 period high for short posn

IF s2tradeLong AND currentPrice &lt; 20periodLow THEN
    CALL sellCurr
ELSE IF s2tradeShort AND currentPrice &gt; 20periodHigh THEN
    CALL buyCurr
END</pre>
<p>As you can see this code gives us an excellent starting point for the development of our Turtle Trading system. In the next article we will go through the specifics of coding in MQL. I have provided a basic implementation of the code for this trading system but you will derive most benefit from creating your own implementations of this system.</p>
<p><strong>Related Articles</strong></p>
<ul>
<li><strong><a href="http://www.traineetrader.com/designing-a-simple-strategy-and-introduction-to-pseudo-code/" target="_blank"> Building an Automated FOREX System: Designing a Simple Strategy and Introduction to Pseudo Code.</a></strong></li>
<li><strong><a href="http://www.traineetrader.com/building-an-automated-forex-system-expert-advisors-indicators/" target="_blank">Building an Automated FOREX System: Expert Advisors &amp; Indicators</a></strong></li>
<li><strong><a href="http://www.traineetrader.com/building-an-automated-currency-trading-system-from-scratch/" target="_blank">Building an automated currency trading system from scratch.</a></strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.traineetrader.com/building-an-automated-forex-system-writing-the-pseudo-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Designing a Simple Strategy and Introduction to Pseudo Code</title>
		<link>http://www.traineetrader.com/designing-a-simple-strategy-and-introduction-to-pseudo-code/</link>
		<comments>http://www.traineetrader.com/designing-a-simple-strategy-and-introduction-to-pseudo-code/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 06:06:49 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[FOREX]]></category>
		<category><![CDATA[MetaTrader]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Trading]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[EA]]></category>
		<category><![CDATA[Expert Advisor]]></category>
		<category><![CDATA[System ATS]]></category>
		<category><![CDATA[Trading System]]></category>
		<category><![CDATA[Trend]]></category>

		<guid isPermaLink="false">http://www.traineetrader.com/designing-a-simple-strategy-and-introduction-to-pseudo-code/</guid>
		<description><![CDATA[Today we will be looking at designing a simple strategy and we will also start to write some pseudo code in MetaEditor. This is of course a multi part tutorial series and if you have not read the previous articles I suggest you do so before moving on to this article. In the previous article [...]]]></description>
			<content:encoded><![CDATA[<p>Today we will be looking at designing a simple strategy and we will also start to write some pseudo code in MetaEditor. This is of course a multi part tutorial series and if you have not read the previous articles I suggest you do so before moving on to this article. In the previous article on <a href="http://www.traineetrader.com/building-an-automated-forex-system-expert-advisors-indicators/" target="_blank">Expert Advisors (EA) and indicators</a> we touched on the different ways we can automate trading, today we will focus on Expert Advisors (EA).</p>
<p>&#160;</p>
<h3>Strategy Design</h3>
<p>Designing a trading strategy could be the focus of whole encyclopedia, what we discuss here will simply be a quick overview. In it’s simplest from a trading strategy is simply&#160; a set of predefined rules for executing trading decisions. By using an automated trading strategy emotional bias is removed. There are several different types of trading strategies that have been used over the years and usually fall into one of the following categories:&#160; </p>
<ul>
<li>Fundamental Analysis based systems.</li>
<li>Technical Analysis Based systems.</li>
<li>Volatility based systems</li>
<li>Mean reversion based systems.</li>
<li>Trend Following systems.</li>
</ul>
<h3>Building a Trend Following Based System</h3>
<p>We will be building a Trend Following system, this will be a very basic system and will help highlight the development process. When developing a trading system it is very tempting to try and re-invent the wheel, however we will start with a tried and tested system that is publically available. The trading system we will be implementing is the original Turtle Trading System and you will need to <a href="https://www.bsp-capital.com/documents/turtlerules.pdf" target="_blank">download</a> a copy of the rules in order to continue with the tutorial. </p>
<h3>Learning to Write Pseudo Code</h3>
<p>Before reading any more make sure you have printed out and read through the original Turtle Trading System Rules document. This step is very important as the only way to learn this materiel is by taking action and carrying out the steps outlined.</p>
<p align="center"><font color="#ff0000" size="5">STOP!</font></p>
<p>Now we can get on with our discussion of pseudo code. When it comes to writing computer programs or in this case automated trading systems translating English into programming code can be fraught with danger. Pseudo Code on the other hand refers to a more structured English for describing a process or program. It is important that you learn to write quality pseudo code as it will make a big difference when you come to coding your system your self or hiring a programmer. </p>
<p>There are many benefits in writing your algorithms or trading logic in pseudo code these include: </p>
<ul>
<li>You will gain a detailed understanding of the program or algorithm you are developing.</li>
<li>Errors in logic picked up early.</li>
<li>Not constrained by a single programming language.</li>
</ul>
<p>Below is a brief example of pseudo code: </p>
<p>IF movingAverage1 == movingAverage2 THEN   <br />&#160;&#160;&#160; SEND buyOrder    <br />END IF</p>
<h3>Structured Pseudo Code</h3>
<p>In order for us to write quality code we have to take a step back and think about what it is we are actually trying to achieve. Rather then using a trading example we will use an example that everyone is familiar with. Think about the process of going to the shop and buying 1 item let’s say it is milk. What I will ask you to do is sit down and write a step by step process that you could give to a an alien that describes the process in as much detail as possible.</p>
<p align="center"><font color="#ff0000" size="5">STOP!</font></p>
<p>Do not move on until you have done this.&#160; Below is the first iteration of solving the get milk problem:</p>
<p>Get into the car –&gt; Start the car –&gt; Drive to the closest shop that sells milk –&gt; Get Out of Car –&gt; Lock Car</p>
<p>Enter shop –&gt; Locate milk –&gt; Determine quantity –&gt; Pay for milk –&gt; Locate car –&gt; Unlock Car –&gt; Drive home.</p>
<p>As you can see if you think about the steps required to carry out this task it is much more complex then first thought. Let’s try and make this a bit more detailed iteration two:</p>
<blockquote><p>DEFINE approxMilkCost</p>
<p>DEFINE moneyInWallet </p>
<p>&#160;</p>
<p>IF moneyInWallet &lt; approxMilkCost THEN</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CALL enterCar WITH keys</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CALL driveTo WITH bank</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CALL leaveCar</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CALL getMoneyFromBank WITH accountDetails</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CALL driveTo WITH shop</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CALL leaveCar</p>
<p>ELSE</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CALL enterCar WITH keys</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CALL driveTo WITH shop</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CALL leaveCar</p>
<p>ENDIF</p>
<p>&#160;</p>
<p>enter shop</p>
<p>CALL locateItem WITH milk</p>
<p>CALL payForItem WITH money</p>
<p>leave shop</p>
<p>CALL enterCar WITH keys</p>
<p>CALL driveTo WITH home</p>
<p>CALL leaveCar</p>
</blockquote>
<p>You can quickly see that by using a more formal language it breaks down complex tasks into simple steps. If we wanted to write a program to solve this problem we would probably go through several more iterations of pseudo code before actually starting coding. I have created a <a href="http://bit.ly/dqwsRN" target="_blank">PDF file</a> and have uploaded it so you can fully understand the pseudo code presented and can practice writing some pseudo code for yourself.&#160; In the next article we will be looking at writing our trend following system out in pseudo code so make sure you review everything presented here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.traineetrader.com/designing-a-simple-strategy-and-introduction-to-pseudo-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building an Automated FOREX System: Expert Advisors &amp; Indicators</title>
		<link>http://www.traineetrader.com/building-an-automated-forex-system-expert-advisors-indicators/</link>
		<comments>http://www.traineetrader.com/building-an-automated-forex-system-expert-advisors-indicators/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 01:31:52 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[FOREX]]></category>
		<category><![CDATA[MetaTrader]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Trading]]></category>
		<category><![CDATA[ATS]]></category>
		<category><![CDATA[EA]]></category>
		<category><![CDATA[Indicators]]></category>
		<category><![CDATA[MetaEditor]]></category>
		<category><![CDATA[Trading System]]></category>

		<guid isPermaLink="false">http://www.traineetrader.com/building-an-automated-forex-system-expert-advisors-indicators/</guid>
		<description><![CDATA[This is article number two in our tutorial series Building an Automated Currency Trading System from Scratch. If you have not read the introduction to this tutorial series I recommend you read building an ATS before reading this article. MetaTrader 4 The current version that is most widely used and supported is MetaTrader 4 however [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: medium;"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="Ind" src="http://www.traineetrader.com/wp-content/uploads/2010/02/Ind.png" border="0" alt="Ind" width="184" height="410" align="right" /></span>This is article number two in our tutorial series Building an Automated Currency Trading System from Scratch. If you have not read the introduction to this tutorial series I recommend you read <a href="http://www.traineetrader.com/building-an-automated-currency-trading-system-from-scratch/" target="_blank">building an ATS</a> before reading this article.</p>
<p><span style="font-size: medium;">MetaTrader 4</span></p>
<p>The current version that is most widely used and supported is MetaTrader 4 however beta versions of MetaTrader 5 are currently in testing. In order to build an automated trading system using MetaTrader 4 we will need to write a program that will run inside MetaTrader. There are three types of programs that run inside MetaTrader, these are Custom Indicators, Expert Advisors and Scripts. The screen shot on the right shows the built in indicators that ship with MetaTrader.</p>
<p align="center">
<p><span style="font-size: medium;">MetaTrader- MetaQuotes Language</span></p>
<p>Custom Indicators, Expert Advisors and scripts are all written in a programming language called MetaQuotes Language, often abbreviated MQL.  Although all three application types are written in MQL there are slight differences between program types.</p>
<p><span style="font-size: medium;">MetaTrader- Indicators and Custom Indicators</span></p>
<p>Custom indicators are written in MQL the client terminal will execute the indicator every time a tick is received. The main use of indicators is to graphically display some user defined or built in data relationship. The most common use for indicators is for Technical Analysis. Below are some screenshots which show a built-in indicator being applied to the daily AUD/USD currency chart.</p>
<ol>
<li>With AUD/USD chart open double click on desired indicator.</li>
<li>Enter parameter settings and execute.</li>
</ol>
<p align="center"><a href="http://www.traineetrader.com/wp-content/uploads/2010/02/IndSetting.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Indicator Setting MetaTrader" src="http://www.traineetrader.com/wp-content/uploads/2010/02/IndSetting_thumb.png" border="0" alt="Indicator Setting MetaTrader" width="504" height="326" /></a></p>
<p align="center"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="MACD Indicator" src="http://www.traineetrader.com/wp-content/uploads/2010/02/MetaInd.png" border="0" alt="MACD Indicator" width="504" height="392" /></p>
<p><span style="font-size: medium;">MetaTrader- Expert Advisors</span></p>
<p>An Expert Advisor or EA for short share similar properties to Indicators. Expert Advisors or EA’s are written in MQL and are executed on tick data. Expert Advisors or EA’s have trade logic written into them. Basically an EA does everything an indicator can do, however an EA will also open, close and modify trades programmatically. To attach an EA to a currency pair the process is exactly the same as it is for an indicator. There are two sample EA’s that ship with MetaTrader 4 these are the MACD Sample and Moving Average.</p>
<p><span style="font-size: medium;">MetaTrader- Scripts</span></p>
<p>Scripts are the final type of application that are available in MetaTrader. A script is designed to be executed only once. Scripts are usually used to automate client side non-trading actions, like modifying data. They can however be used to perform simple trade logic tasks.</p>
<p><span style="font-size: medium;">MetaTrader &#8211; MetaEditor</span></p>
<p>All the code we write for our automated trading system will be done MetaTrader’s Integrated Development Environment called MetaEditor. MetaEditor allows you to store and manage source code for all projects in an easy to use way. If you are used to Visual Studio or X-Code IDE’s then you will be disappointed with the functionality of MetaEditor. MedEditor does offer syntax highlighting and code completion which is very handy. There is also a built in on-line library that covers most topics. Below is a screenshot of the IDE:</p>
<p align="center"><a href="http://www.traineetrader.com/wp-content/uploads/2010/02/MetWindow.png"><img style="display: inline; border: 0px;" title="MetaEditor" src="http://www.traineetrader.com/wp-content/uploads/2010/02/MetWindow_thumb.png" border="0" alt="MetaEditor" width="504" height="398" /></a></p>
<p>To open MetaEditor from MetaTrader simply press F4 or from the menu bar:</p>
<p><strong>Tools –&gt; MetaQuotes Language Editor</strong></p>
<p><span style="font-size: medium;">Home Work</span></p>
<p>Before next article make sure you understand the three different program types that are used in MetaTrader. Also try attaching and using some of the built in indicators in MetaTrader. Before moving on I would also recommend downloading the <a href="http://book.mql4.com/" target="_blank">MQL4 book</a> from MetaQuotes. This is a free book that covers the basics of programming in MQL and in later articles I will assume you are up to speed with the concepts presented in the book.</p>
<p>In the next article we will discuss designing a simple trading strategy and pseudo code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.traineetrader.com/building-an-automated-forex-system-expert-advisors-indicators/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Building an automated currency trading system from scratch</title>
		<link>http://www.traineetrader.com/building-an-automated-currency-trading-system-from-scratch/</link>
		<comments>http://www.traineetrader.com/building-an-automated-currency-trading-system-from-scratch/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 11:39:17 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[FOREX]]></category>
		<category><![CDATA[MetaTrader]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Trading]]></category>
		<category><![CDATA[ATS]]></category>
		<category><![CDATA[Trading System]]></category>

		<guid isPermaLink="false">http://www.traineetrader.com/building-an-automated-currency-trading-system-from-scratch/</guid>
		<description><![CDATA[In the next few weeks we are going to explore the basics of designing an automated currency trading system. We are going to use MetaTrader as the basis for the trading system. The actual strategy we design will be for illustrative purposes only and NOT tradable. That being said the tips and techniques you learn [...]]]></description>
			<content:encoded><![CDATA[<p>In the next few weeks we are going to explore the basics of designing an automated currency trading system. We are going to use MetaTrader as the basis for the trading system. The actual strategy we design will be for illustrative purposes only and NOT tradable. That being said the tips and techniques you learn over the course of this series will give you skills needed to develop your own trading strategy.</p>
<p><strong><span style="font-size: medium;">Before you start</span></strong></p>
<p>Before we start designing the automated trading system I will assume you are familiar with some basic FOREX or currency market concepts. If you are new to the finance world you may like to read the following articles.</p>
<ul>
<li><a href="http://www.traineetrader.com/what’s-all-this-talk-about-money/" target="_blank">What’s all this talk about money?</a></li>
<li><a href="http://www.traineetrader.com/the-forex-market-the-exchange-rate-bid-ask-spreads/" target="_blank">The FOREX market, the exchange rate and bid and ask spreads.</a></li>
<li><a href="http://www.traineetrader.com/pips-lots-and-a-little-bit-of-math/" target="_blank">Pip’s, Lot’s and a little bit of math.</a></li>
<li><a href="http://www.traineetrader.com/understanding-the-lingo-spot-market-traded-currencies-and-other-forex-terms/" target="_blank">Understanding the lingo: Spot market, traded currencies and other FOREX terms</a>.</li>
<li><a href="http://www.traineetrader.com/the-big-three-in-forex-leverage-margin-and-equity/" target="_blank">The big three in FOREX: Leverage, margin and equity.</a></li>
</ul>
<p>To get you quickly up to speed with MetaTrader you can download the software from <a href="http://www.metaquotes.net/" target="_blank">MetaQuotes</a>. You may also benefit from reading the following basic articles.</p>
<ul>
<li><a href="http://www.traineetrader.com/a-basic-introduction-to-metatrader-part-one/" target="_blank">An introduction to MetaTrader Part One</a>.</li>
<li><a href="http://www.traineetrader.com/a-basic-introduction-to-metatrader-part-two/" target="_blank">An introduction to MetaTrader Part Two.</a></li>
<li><a href="http://www.traineetrader.com/a-basic-introduction-to-metatrader-part-three/" target="_blank">An introduction to MetaTrader Part Three.</a></li>
</ul>
<p>So now you have a basic understanding of the FOREX or currency market and have MetaTrader installed on your computer we are ready to get started. Below is a roadmap for next few articles.</p>
<ul>
<li>What is an automated Trading System and how can we build one in MetaTrader?</li>
<li>Expert Advisors and Indicators in MetaTrader.</li>
<li>Designing a simple strategy and pseudo code.</li>
<li>From pseudo code to a basic trading system.</li>
<li>Garbage in garbage out: improving modeling quality.</li>
<li>Testing, Testing, Optimization and more testing.</li>
<li>Forward testing and performance evaluation.</li>
<li>Automated Trading System version 2.0.</li>
<li>So you are ready to go live: Choosing a broker.</li>
<li>So you are ready to go live: Setting up a Virtual Private Server.</li>
</ul>
<p>As you can see there is a lot of content that needs to be covered and I am sure as this series progresses there will be content added or removed depending on your input. If there is any materiel you want covered please send me an email or comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.traineetrader.com/building-an-automated-currency-trading-system-from-scratch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exporting Data From MetaTrader</title>
		<link>http://www.traineetrader.com/exporting-data-from-metatrader/</link>
		<comments>http://www.traineetrader.com/exporting-data-from-metatrader/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 08:10:00 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[FOREX]]></category>
		<category><![CDATA[MetaTrader]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Pseudo Code]]></category>

		<guid isPermaLink="false">http://www.traineetrader.com/exporting-data-from-metatrader/</guid>
		<description><![CDATA[I received an email today from a reader wanting to know if there was an expert advisor available that would export data to a csv file. although I have not myself seen an EA that does this it is a trivial matter to code such an EA shown below: int handlFile; handlFile = FileOpen(&#8220;symbol.csv&#8221;, FILE_CSV [...]]]></description>
			<content:encoded><![CDATA[<p>I received an email today from a reader wanting to know if there was an expert advisor available that would export data to a csv file. although I have not myself seen an EA that does this it is a trivial matter to code such an EA shown below:</p>
<p class="info">int handlFile;<br />
handlFile = FileOpen(&#8220;symbol.csv&#8221;, FILE_CSV | FILE_WRITE | FILE_READ, &#8216;,&#8217;);<br />
FileSeek(handlFile, 0, SEEK_END);<br />
FileWrite(handlFile, Bid, Ask, Close[1], Volume[1]);<br />
FileClose(handlFile);</p>
<p>Note: This code above is intended as a very rough solution. Time permitting I will write a proper EA with error checking and better features. This code however should be sufficient for basic tasks. For more information on EA coding I strongly recommend you download the getting started book:</p>
<p class="download"><a href="http://www.mql4.com/files/MQl4BookEnglish.chm">MQL Tutorial</a></p>
<p><strong><span style="font-size: medium;">The Non EA Export Option</span></strong></p>
<p>Can’t be bothered with that coding garbage? Never fear there is a very simple option. Go to the Tools Menu then History Centre a dialog box similar to the one shown below will appear simply chose the currency you wish to export and select a file name and your done. This process is shown below:</p>
<p align="center"><img class="”aligncenter”/" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" title="ExportMetaTraderDataCSV" src="http://www.traineetrader.com/wp-content/uploads/2009/04/exportmetatraderdatacsv.jpg" border="0" alt="ExportMetaTraderDataCSV" width="500" height="500" /></p>
<p>MetaTrader really is an excellent platform for learning the basics of trading and trading systems. I would recommend to anyone starting out in currency trading that they download MetaTrader and start exploring. If you want to learn more about Forex Trading I suggest you visit the <a href="http://www.traineetrader.com/forex/" target="_blank">Forex</a> section of this website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.traineetrader.com/exporting-data-from-metatrader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Basic Introduction to MetaTrader (Part Three)</title>
		<link>http://www.traineetrader.com/a-basic-introduction-to-metatrader-part-three/</link>
		<comments>http://www.traineetrader.com/a-basic-introduction-to-metatrader-part-three/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 23:30:10 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[FOREX]]></category>
		<category><![CDATA[MetaTrader]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Currency]]></category>
		<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://traineetrader.com/?p=65</guid>
		<description><![CDATA[This is Part Three and final part of MetaTrader basics if you have not already done so I recommend you read Part One first and then Part Two. Placing an order in MetaTrader is very simple. You simply need to double click (in the market watch window) on the symbol of the security you wish [...]]]></description>
			<content:encoded><![CDATA[<p><em>This is Part Three and final part of MetaTrader basics if you have not already done so I recommend you read <a href="http://www.traineetrader.com/forex/a-basic-introduction-to-metatrader-part-one/" title="basic introduction to metatrader">Part One</a> first and then <a href="http://www.traineetrader.com/forex/a-basic-introduction-to-metatrader-part-two/" title="Part Two Intro to MetaTrader">Part Two</a>.</em></p>
<p>Placing an order in MetaTrader is very simple. You simply need to double click (in the market watch window) on the symbol of the security you wish to buy and the order window will be displayed. Or if you have a chart open for the security you wish to buy you can simply press F9 or go to menu Tools -&gt; “New Order”. The order window will pop-up as shown below.</p>
<p align="center"><img src="http://www.traineetrader.com/Images/MetaTrader/Interface/OrderBuySell.jpg" title="Buy Sell market Order" alt="Buy Sell market Order" height="300" width="500" /><span id="more-65"></span></p>
<p align="left">As you can see a tick chart is displayed on the right that shows both the Bid and Ask prices. The Bid price is shown in red and the Ask price is shown in blue. In this window you can change the security you wish to buy or sell. You can also change the volume of the order with one lot being the default. The order window also allows you to specify hard stop loss and take profit levels. The next field is the comment field this allows for comments to be attached to an order.</p>
<p>The type field allows for the specification of the type of order. The default is instant execution or a market order. The second type of order that can be specified is a pending order. If a pending order is selected you can select a Buy Limit, Sell Limit, Buy Stop and Sell Stop type the price and expiry can also be set. The price set must differ from the market price by at least five pips.</p>
<p>Returning to a standard market order we can choose to buy or sell the given security. The final property we can change is enabling a maximum deviation from a quoted price. This means in times of extreme volatility you can guarantee your order gets filled at a given price, similar to a pending order.</p>
<p>MetaTrader allows for orders to be modified after they have initially been sent to the broker. This allows for stop losses to be set or changed, orders to be closed and trailing stops to be set. This functionality is provided via the terminal. In the terminal the trade tab needs to be activated. To activate the trade tab you simply need to click on it.</p>
<p align="center"><img src="http://www.traineetrader.com/Images/MetaTrader/Interface/terminalOrderAUDUSD.jpg" title="Order AUD Terminal" alt="Order AUD Terminal" height="68" width="522" /></p>
<p align="left">You can now right click on the order you wish to change and a contextual menu will pop-up like the one shown below.</p>
<p align="center"><img src="http://www.traineetrader.com/Images/MetaTrader/Interface/modifyDeleteOrder.jpg" title="Modify Buy Order" alt="Modify Buy Order" height="270" width="205" /></p>
<p align="left">By clicking on modify or delete order this will bring up a window similar to the initial order window. As you can see below the only fields that can be modified are the stop loss and take profit. Once again these must be set at minimum five pips away from the current price.</p>
<p align="center"><img src="http://www.traineetrader.com/Images/MetaTrader/Interface/OrderModifyStopLoss.jpg" title="Modify stop loss order" alt="Modify stop loss order" height="253" width="500" /></p>
<p align="left">After this modified order has been processed the chart window will be updated to reflect stop loss and take profit levels. On the chart the price in which was paid for the security is shown with a dashed green line. The stop loss and take profit level are shown with a dashed red line. In this example the stop loss was set at 0.8545 and take profit at 0.8570 and the price paid for the lot was 0.8552. this is depicted graphically below.</p>
<p align="center"><img src="http://www.traineetrader.com/Images/MetaTrader/Interface/AUDUSDModifyOrderSL-TP.jpg" title="Chart with S/L T/P" alt="Chart with S/L T/P" height="381" width="414" /></p>
<p align="left">This ends our whirlwind tour of the very basics of MetaTrader. You should now be able to place orders, modify orders and understand the basics of the User Interface.</p>
<p align="left">&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.traineetrader.com/a-basic-introduction-to-metatrader-part-three/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Basic Introduction to MetaTrader (Part Two)</title>
		<link>http://www.traineetrader.com/a-basic-introduction-to-metatrader-part-two/</link>
		<comments>http://www.traineetrader.com/a-basic-introduction-to-metatrader-part-two/#comments</comments>
		<pubDate>Sun, 02 Sep 2007 23:30:38 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[FOREX]]></category>
		<category><![CDATA[MetaTrader]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[Currency]]></category>
		<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://traineetrader.com/?p=64</guid>
		<description><![CDATA[This is Part Two of MetaTrader basics if you have not already done so I recommend you read Part One first. The first thing that we will look at in MetaTrader is charting. I have found that MetaTrader is one of the best free program for this purpose and it has a fairly large user [...]]]></description>
			<content:encoded><![CDATA[<p><em>This is Part Two of MetaTrader basics if you have not already done so I recommend you read <a href="http://www.traineetrader.com/forex/a-basic-introduction-to-metatrader-part-one/" title="basic introduction to metatrader">Part One</a> first.</em></p>
<p>The first thing that we will look at in MetaTrader is charting. I have found that MetaTrader is one of the best free program for this purpose and it has a fairly large user base amongst the FOREX community.</p>
<p><strong>Opening a Chart</strong><br />
In MetaTrader there are two ways to open a chart. The first is by left clicking on the new chart icon in the toolbar and selecting the chart you wish. Secondly you can right click a symbol in the market watch window and then select “Chart Window”. This is outlined below:</p>
<p align="center"><img src="http://www.traineetrader.com/Images/MetaTrader/Interface/OpenChartMetaTrader.jpg" title="Opening a Chart" alt="Opening a Chart" height="626" width="481" /><span id="more-64"></span></p>
<p><strong>Chart Time Frames</strong><br />
The quickest way to change the timeframe for a chart is via the periodicity toolbar. This is the toolbar shown below:</p>
<p align="center"><img src="http://www.traineetrader.com/Images/MetaTrader/Interface/MetaTradertoolbarPeriodicity.jpg" title="Chart Time Frames" alt="Chart Time Frames" height="31" width="262" /></p>
<p align="left"> On this toolbar it adjusts the period of the chart the period represents the difference between closing and opening times.  M1 represents one minute, M5 represents two minutes,  M30 represents 30 minutes, H1 represents 60 minutes or one hour, H4 represents four hours, D1 represents a day, W1 represents a week and MN represents a month.</p>
<p>The grayed out area in the toolbar lets you know what time period the chart is currently displaying.</p>
<p align="left"><strong>Charts Toolbar</strong><br />
<img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderBarChart.jpg" title="Bar Chart" alt="Bar Chart" height="27" width="25" /> By clicking this icon the currently selected chart will be displayed as a bar chart. Keyboard shortcut ALT + 1.</p>
<p align="left"><img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderCandleStickChart.jpg" title="Candle Stick Chart" alt="Candle Stick Chart" height="26" width="24" />  By clicking this icon the currently selected chart will be displayed as a candlestick chart. Keyboard shortcut ALT + 2.</p>
<p><img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderLineChart.jpg" title="Line Chart" alt="Line Chart" height="24" width="24" /> By clicking this icon the currently selected chart will be displayed as a line chart. Keyboard shortcut ALT + 3.</p>
<p><img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderZoomChart.jpg" title="Zoom in Zoom Out" alt="Zoom in Zoom Out" height="26" width="53" /> By clicking these icons you can zoom in or out of the currently selected chart. Keyboard shortcuts Zoom in: + and Zoom out: -</p>
<p><img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderAutoScrollChart.jpg" title="AutoScrolling Chart" alt="AutoScrolling Chart" height="24" width="24" /> By clicking this icon AutoScroll will be enabled meaning the latest bar is always displayed.</p>
<p><img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderTemp.jpg" title="Technical Indicators" alt="Technical Indicators" height="23" width="108" /> These groups of icons allow for the adding of technical indicators to a chart, changing the time period of a chart and the final button allows for managing of templates.</p>
<p><strong>Line Drawing Toolbar</strong><br />
The line drawing toolbar allows you to add various geometric shapes to a chart window. This can be helpful for technical analysis and for highlighting different features on a chart.</p>
<p><img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderCrossHair.jpg" title="CrossHair" alt="CrossHair" height="24" width="29" /> By clicking this icon the crosshair will be enabled in the chart window. The crosshair will graphically highlight the price and time at any given point on the chart. Shown Below:</p>
<p align="left">&nbsp;</p>
<p style="text-align: center"><img src="http://www.traineetrader.com/Images/MetaTrader/ChartLineDrawing/ChartWindowCrossHair.jpg" title="Chart Window" alt="Chart Window" height="225" width="387" /></p>
<p align="left"> <img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderVertLine.jpg" title="Vertical Line Drawing" alt="Vertical Line Drawing" height="19" width="30" /> By clicking on this icon a vertical line is placed on the chart window at the given point in which it has been drawn.</p>
<p align="left"><img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderHorizLine.jpg" title="Horizontal Line" alt="Horizontal Line" height="28" width="28" />By clicking on this icon a horizontal line is placed on the chart window at the given point in which it has been drawn.</p>
<p><img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderTrendLine.jpg" title="TrendLine" alt="TrendLine" height="20" width="21" /> By clicking on this icon a trend line can be drawn in the chart window between to points. This is Shown below:</p>
<p align="center"><img src="http://www.traineetrader.com/Images/MetaTrader/ChartLineDrawing/ChartWindowTrendLine.jpg" title="Chart Showing Trend Line" alt="Chart Showing Trend Line" height="225" width="388" /></p>
<p align="left"><img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderEquidistant.jpg" title="Equidistant Channel Icon" alt="Equidistant Channel Icon" height="23" width="26" /> By clicking on this icon an equidistant channel is drawn on the chart from one point to another. This shown below:</p>
<p align="center"><img src="http://www.traineetrader.com/Images/MetaTrader/ChartLineDrawing/ChartWindowEquidistant.jpg" title="Chart Equidistant Channel" alt="Chart Equidistant Channel" height="226" width="385" /></p>
<p align="left"><img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderFibonacci.jpg" title="Fibonacci Series Icon" alt="Fibonacci Series Icon" height="24" width="22" /> By clicking on this icon a corresponding Fibonacci retracement lines can be added. Shown Below:</p>
<p align="center"><img src="http://www.traineetrader.com/Images/MetaTrader/ChartLineDrawing/ChartWindowFibonacci.jpg" title="Fibonacci Series" alt="Fibonacci Series" height="228" width="387" /></p>
<p align="left"><img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderText.jpg" title="Chart Text" alt="Chart Text" height="19" width="24" /> <img src="http://www.traineetrader.com/Images/MetaTrader/Icons/MetaTraderArrows.jpg" title="Chart Arrows" alt="Chart Arrows" height="21" width="33" /> By clicking these icons text and arrow objects can be added to charts at a given area.</p>
<p align="left">&nbsp;</p>
<p align="left"><em>This is Part Two of a three part series on the basics of MetaTrader. Click to read the next article in the series <a href="http://www.traineetrader.com/forex/a-basic-introduction-to-metatrader-part-three/" title="A Basic Introduction to MetaTrader (Part Three)">A Basic Introduction to MetaTrader (Part Three</a></em>).</p>
<p align="left">&nbsp;</p>
<p align="left">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="left">&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.traineetrader.com/a-basic-introduction-to-metatrader-part-two/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

