<?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>WebFroster &#187; Trading</title>
	<atom:link href="http://www.webfroster.com/category/trading/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webfroster.com</link>
	<description>Anything under the sun</description>
	<lastBuildDate>Sat, 31 Jul 2010 07:27:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MultiCharts 6.0 Final Released</title>
		<link>http://www.webfroster.com/2010/07/31/multicharts-6-0-final-released/</link>
		<comments>http://www.webfroster.com/2010/07/31/multicharts-6-0-final-released/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 07:27:06 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/multicharts-6-0-final-released/?p=25176</guid>
		<description><![CDATA[Today MultiCharts 6.0 Final has finally been released! &#160;And with it, TSSupport has launched an all new website, too!




Download 6.0 final here:
http://www.multicharts.com/trading-software-download/
For a list of changes in 6.0, see my forum post here:
http://www.bigmiketrading.com/platforms-indicators/2698-multicharts-multicharts-multicharts-22.html#post53482
Mike


 


]]></description>
			<content:encoded><![CDATA[<p>Today MultiCharts 6.0 Final has finally been released! &nbsp;And with it, TSSupport has launched an all new website, too!</p>
<div><a href="http://1.bp.blogspot.com/_Q1Fb7lIO26M/TFImOxUFDaI/AAAAAAAAAUc/959iI7mdlvk/s1600/7-29-2010+8-08-16+PM.png"><img border="0" height="312" src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/e0251_7-29-2010+8-08-16+PM.png" width="400" /></a></div>
<p></p>
<div><a href="http://3.bp.blogspot.com/_Q1Fb7lIO26M/TFImSWB2vnI/AAAAAAAAAUg/veHl5tKHTFg/s1600/7-29-2010+8-08-38+PM.png"><img border="0" height="220" src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/f380f_7-29-2010+8-08-38+PM.png" width="400" /></a></div>
<p>
Download 6.0 final here:<br />
<a href="http://www.multicharts.com/trading-software-download/">http://www.multicharts.com/trading-software-download/</a></p>
<p>For a list of changes in 6.0, see my forum post here:<br />
<a href="http://www.bigmiketrading.com/platforms-indicators/2698-multicharts-multicharts-multicharts-22.html#post53482">http://www.bigmiketrading.com/platforms-indicators/2698-multicharts-multicharts-multicharts-22.html#post53482</a></p>
<p>Mike
<div><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2496474927178018928-1122672700987049680?l=blog.bigmiketrading.com' alt='' /></div>
<div>
<a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=LMoYmBUJhaQ:dOLFlWwwmv8:yIl2AUoC8zA"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/f380f_ctrlbrk?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=LMoYmBUJhaQ:dOLFlWwwmv8:V_sGLiPBpWU"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/f380f_ctrlbrk?i=LMoYmBUJhaQ:dOLFlWwwmv8:V_sGLiPBpWU" border="0"></img></a>
</div>
<p><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/15d85_LMoYmBUJhaQ" height="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/31/multicharts-6-0-final-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Metatrader 5 for Iphone and Google Android</title>
		<link>http://www.webfroster.com/2010/07/29/metatrader-5-for-iphone-and-google-android/</link>
		<comments>http://www.webfroster.com/2010/07/29/metatrader-5-for-iphone-and-google-android/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 07:26:19 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/metatrader-5-for-iphone-and-google-android/?p=25037</guid>
		<description><![CDATA[Many people asked MetaQuotes to develop a mobile version of Metatrader 4 for iPhone. Unfortunately, the mobile version of MT4 is only available for the Windows Mobile platform ( Smartphones and Pocket PC&#8217;s). However the good news is that Metatrader 5 will be available for Iphone and Google Android platforms! It was recently confirmed by [...]]]></description>
			<content:encoded><![CDATA[<p>Many people asked MetaQuotes to develop a mobile version of Metatrader 4 for iPhone. Unfortunately, the mobile version of MT4 is only available for the Windows Mobile platform ( Smartphones and Pocket PC&#8217;s). However the good news is that Metatrader 5 will be available for Iphone and <a href="http://www.webfroster.com/tag/google/" class="st_tag internal_tag" rel="tag" title="Posts tagged with google">Google</a> Android platforms! It was recently confirmed by MetaQuotes staff in <a rel="nofollow&quot;" href="http://www.mql5.com/ru/forum/1503">this thread</a>. The development of the Iphone app is progressing, and it will be probably released first. Bad news is that there wont be a version anymore for the Windows Mobile platform, Windows Phone 7 will be also avoided. I thinks this is because of the bad reputation Microsoft got with the countless bugs of Windows Mobile 6 and the drastic changes in code in the 7th version.</p>
<p><img src="http://www.metatrader.in/wp-content/uploads/HLIC/d2ac0677ca6bdec9be888ab2e73778bf.png" border="0" alt="Metatrader 5 for Iphone" /></p>
<p>The Metatrader 5 Iphone app will feature a uniform design that will seamlessly fit in the Iphone interface. The app is developed from scratch and well be 100% native to the Iphone OS. Also, it will be different from the interface in Metatrader 4 Windows Mobile. The release date is not known yet. If the mobile version of Metatrader 5 is one of the reasons you will buy a smartphone, this information will help you to decide what platform to buy. I personally like the Android OS.</p>
<p>If you want to use Metatrader 4 on your Iphone, you can use tools that create a remote connection to your desktop, where Metatrader 4 is running. For example, you can use the <a rel="nofollow" href="http://teamviewer.com/download/iphone.aspx">TeamViewer app for Iphone</a>, it connects to any PC around the world and you can remotely control the PC as if you were sitting right in front of it. You can also seamlessly use iPhone to login directly to your PC running MT4 using the <a rel="nofollow" href="http://pc2me.net/">PC2ME app</a>. With PC2Me you can remote control of your Windows PC, using your iPhone via the Safari browser. There is also a <a rel="nofollow" href="http://itunes.apple.com/ca/app/my-fx-stats/id379829597?mt=8">Iphone app</a> that allows you to monitor your Metatrader 4 accounts using myfxbook.com&#8217;s backend:</p>
<p><img src="http://www.metatrader.in/wp-content/uploads/HLIC/05654c3894cac782ace7f35eb75ecdbf.jpg" border="0" alt="Metatrader 5 for Iphone" /></p>
<p>Actually, the remote connection to the desktop version of the Metatrader terminal is in some cases better than a mobile version of MT for the smartphone. On the smartphone you have always limited computing resources and not all features of the full version of Metatrader. For example, if you are using a expert advisor on your desktop, you can only control it via a remote connection. But if you want to quickly check the market quotes, the mobile version is better.</p>
<p>Source: <a href="http://metatrader5.blogspot.com/2010/07/metatrader-5-for-iphone.html" target="_blank">http://metatrader5.blogspot.com/2010/07/metatrader-5-for-iphone.html</a></p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/23/why-metatrader-4/" rel="bookmark" title="Permanent Link: Why MetaTrader 4">Why MetaTrader 4</a></li>
<li><a href="http://www.metatrader.in/152/first-broker-to-use-metatrader-5-alpari-russia/" rel="bookmark" title="Permanent Link: First broker to use MetaTrader 5 – Alpari Russia">First broker to use MetaTrader 5 &#8211; Alpari Russia</a></li>
<li><a href="http://www.metatrader.in/141/here-comes-the-new-metatrader-5-and-mql5/" rel="bookmark" title="Permanent Link: Here Comes the New MetaTrader 5 and MQL5">Here Comes the New MetaTrader 5 and MQL5</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/29/metatrader-5-for-iphone-and-google-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tired of NinjaTrader?</title>
		<link>http://www.webfroster.com/2010/07/23/tired-of-ninjatrader/</link>
		<comments>http://www.webfroster.com/2010/07/23/tired-of-ninjatrader/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 07:22:15 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/tired-of-ninjatrader/?p=24567</guid>
		<description><![CDATA[If you are tired of NinjaTrader, then check out a few of these new threads on the forum:
First up is an X-Trader thread which I started. &#160;I&#8217;m looking at opening an account at Velocity Futures (see details here) and the logical platform was X-Trader. &#160;You can read more about why I think this is the [...]]]></description>
			<content:encoded><![CDATA[<p>If you are tired of NinjaTrader, then check out a few of these new threads on the forum:</p>
<p>First up is an <a href="http://www.bigmiketrading.com/platforms-indicators/4732-x-trader-trading-platform.html">X-Trader thread</a> which I started. &nbsp;I&#8217;m looking at opening an account at Velocity Futures (<a href="http://www.bigmiketrading.com/brokers-data-feeds/4641-experience-velocity-futures.html">see details here</a>) and the logical platform was X-Trader. &nbsp;You can read more about why I think this is the best choice for me in the threads, but the short version is &#8220;I&#8217;m done with NinjaTrader&#8221;. &nbsp;Even though for six months or so I&#8217;ve used <a href="http://www.bigmiketrading.com/platforms-indicators/2698-multicharts-multicharts-multicharts.html">MultiCharts exclusively</a> for charting and backtesting, I still had to use NT for discretionary order entry (DOM). &nbsp;I got tired of nagging problems with NT (both 6.5 and 7 have their own unique issues) and one day I just realized all the time I had spent battling this program and said enough was enough.</p>
<div><a href="http://1.bp.blogspot.com/_Q1Fb7lIO26M/TEgiPNNS7II/AAAAAAAAAUY/tNtqObJnMXQ/s1600/qf8j9n.png"><img border="0" height="282" src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/68cc9_qf8j9n.png" width="400" /></a></div>
<p>
Second is a thread started by MetalTrade where he is specifically looking for <a href="http://www.bigmiketrading.com/platforms-indicators/4750-ninjatrader-replacement.html">NinjaTrader Replacements</a>. &nbsp;It&#8217;s a new thread, but stop by and see if you can help him choose his next platform.</p>
<p>The third thread was also recently started by Mega, and he is on the search for a <a href="http://www.bigmiketrading.com/platforms-indicators/4754-recommendations-solid-trading-platform.html">solid trading platform</a>. &nbsp;His needs are a bit different than MetalTrade&#8217;s, so check out his thread as well.</p>
<p>I know many of you are happy with NinjaTrader. &nbsp;Those that are happy are probably also the ones that don&#8217;t experience constant problems <img src='http://www.webfroster.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &nbsp;But, you don&#8217;t have to read much more than the <a href="http://www.bigmiketrading.com/platforms-indicators/980-truth-ninjatrader.html">Truth about NinjaTrader</a> thread to see all the widespread problems people constantly encounter. &nbsp;If you aren&#8217;t experiencing issues, count yourself lucky! <img src='http://www.webfroster.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Mike
<div><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2496474927178018928-1274210448861977877?l=blog.bigmiketrading.com' alt='' /></div>
<div>
<a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=PRMW2998fes:OeYHE0JpkLA:yIl2AUoC8zA"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/68cc9_ctrlbrk?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=PRMW2998fes:OeYHE0JpkLA:V_sGLiPBpWU"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/9d813_ctrlbrk?i=PRMW2998fes:OeYHE0JpkLA:V_sGLiPBpWU" border="0"></img></a>
</div>
<p><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/9d813_PRMW2998fes" height="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/23/tired-of-ninjatrader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Market Order &amp; 5th Decimal Pricing FAQ’s</title>
		<link>http://www.webfroster.com/2010/07/16/market-order-5th-decimal-pricing-faq%e2%80%99s/</link>
		<comments>http://www.webfroster.com/2010/07/16/market-order-5th-decimal-pricing-faq%e2%80%99s/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 07:21:33 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/market-order-5th-decimal-pricing-faq%e2%80%99s/?p=23889</guid>
		<description><![CDATA[Q. What is the difference between a  Market Order &#38; an Instant Execution Order? 
A. A market order is an order to buy or  sell a specific currency pair immediately at the current market price.   An instant order is the order to buy or sell a specific currency pair at  [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Q. What is the difference between a  Market Order &amp; an Instant Execution Order? </strong></p>
<p>A. A market order is an order to buy or  sell a specific currency pair immediately at the current market price.   An instant order is the order to buy or sell a specific currency pair at  a specified price.</p>
<p><strong>Q. How does this affect my stops  and limits? </strong></p>
<p><strong>A. Stops and limits cannot be  attached to a market order.  You will need to place those separately  after you have placed the initial trade.  If you trade using an EA you  may need to make some adjustments to allow for this. </strong></p>
<p><strong>Q.  How does this affect my Expert  Advisors (EAs)? </strong></p>
<p>A. Some if not all EA’s will be affected by  this change.  Scripts that use Instant Executions to place market  orders with take profits and/or stop losses attached will no longer  work.  Instead, a market order must be placed first and then a take  profit and / or stop loss added to the position.</p>
<p>It is advised to change the following line:</p>
<p><img src="http://www.metatrader.in/wp-content/uploads/HLIC/99ddd1d9fc295fa551598f5e8b0885d6.jpg" alt="99ddd1d9fc295fa551598f5e8b0885d6 Market Order &amp; 5th Decimal Pricing FAQs" /></p>
<p><strong>Q.  How does adding a 5th decimal  (3rd on the JPY pairs) impact my trading? </strong></p>
<p>A.  Adding the additional decimal will  affect both your manual trading and your Expert Advisors.  You will need  to allow for the extra decimal when dealing with Buy Stops, Sell Stops,  Buy Limits, Sell Limits, Stop Losses, Take Profits, Trailing Stops as  well as any other pip value related parameters by multiplying the  current level by 10.</p>
<p>For example, if you are currently entering a  stop loss level of 30 pips and a take profit level of 60 pips on a  trade, you would need to change your stop loss level to 300 pips and the  take profit level to 600 pips respectively.</p>
<p><strong>Q.  Will my custom indicators and  EA’s work with the new 5th decimal pricing? </strong></p>
<p>A.  There is a possibility that your custom  indicators and EAs may be effected by the new pricing format.  To make  sure that they are working as expected, please test them thoroughly on a  demo account before re-enabling them on your live account.  Please make  sure that you have adjusted all pip value related parameters to allow  for the additional decimal point.</p>
<p><strong>Q. Do you have some information on  updating EA’s to deal with the additional digit? </strong></p>
<p>A. In your MQL4 code you often use the  variable ‘point’ to refer to a currency point value.  Or sometimes,  you’ll use something similar to ‘MarketInfo( Symbol(), MODE_POINT )’ .  With the switch to 5 digits these functions will return the wrong value  for your stop loss and take profit calculations.</p>
<p>As an example, let’s look at the code of a  simplified script to place an order.</p>
<p><img src="http://www.metatrader.in/wp-content/uploads/HLIC/58193866e13728b19bbd580584a058ec.jpg" alt="58193866e13728b19bbd580584a058ec Market Order &amp; 5th Decimal Pricing FAQs" /></p>
<p>In the above function, ‘point’ on a 5  digits server would return ‘0.00001’ or ‘0.001’. If your code is running  on EURUSD and you calculate 100*‘point’ you  will get 0.0010 which is  10 pips instead of the 100 pips originally intended.</p>
<p>Since the correct point values are either  0.0001 or 0.01, it is easier to create a variable, in our <a href="http://www.webfroster.com/tag/case/" class="st_tag internal_tag" rel="tag" title="Posts tagged with case">case</a>  ‘SymPoint’ and replace any instance of ‘point’ or ‘MarketInfo( Symbol(),  MODE_POINT )’  with our new variable. Then set the ‘SymPoint’ variable  to 0.0001 by default and only set it to 0.01 is the currency pair  contains the Japanese yen. See code below:</p>
<p><img src="http://www.metatrader.in/wp-content/uploads/HLIC/e190c83395d36cfa8293893e66ebc722.jpg" alt="e190c83395d36cfa8293893e66ebc722 Market Order &amp; 5th Decimal Pricing FAQs" /></p>
<p><strong>Q. What changes will I notice in my  Order Dialogue window? </strong></p>
<p>A.  Among other things, you will notice:</p>
<p>a) The price in the tick chart is quoted  with 5 decimals (3 on the JPY pairs).</p>
<p>b) The Order Type is now Market Execution  as opposed to Instant Order.</p>
<p>c ) There is no Enable maximum deviation  from quote price option any more.</p>
<p>d) You will need to enter your stop loss,  take profit and other values with the additional decimal point.</p>
<p><strong>Q.  How will the additional decimal  effect the values expressed in the Trade Tab in the Terminal? </strong></p>
<p>A. All profit and loss values already  incorporated in the 5th decimal place adjustment when they are expressed  as Points in the Profit column under the Trade Tab in the Terminal  window in MetaTrader.</p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/504/metatrader-tips-stop-orders/" rel="bookmark" title="Permanent Link: MetaTrader Tips – Stop Orders">MetaTrader Tips &#8211; Stop Orders</a></li>
<li><a href="http://www.metatrader.in/400/metatrader-tips-placing-pending-orders-using-charts/" rel="bookmark" title="Permanent Link: MetaTrader Tips – Placing Pending Orders Using Charts">MetaTrader Tips &#8211; Placing Pending Orders Using Charts</a></li>
<li><a href="http://www.metatrader.in/512/metatrader-5-mql5-for-beginners/" rel="bookmark" title="Permanent Link: MetaTrader 5 – MQL5 for Beginners">MetaTrader 5 &#8211; MQL5 for Beginners</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/16/market-order-5th-decimal-pricing-faq%e2%80%99s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Genetic Algorithms – It’s Easy!</title>
		<link>http://www.webfroster.com/2010/07/16/genetic-algorithms-%e2%80%93-it%e2%80%99s-easy/</link>
		<comments>http://www.webfroster.com/2010/07/16/genetic-algorithms-%e2%80%93-it%e2%80%99s-easy/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 07:21:15 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/genetic-algorithms-%e2%80%93-it%e2%80%99s-easy/?p=23888</guid>
		<description><![CDATA[Introduction
Genetic  algorithm (  GA  ) refers to the heuristic algorithm (  EA  ), which gives an acceptable solution to the problem in the majority of  practically significant cases, but the correctness of the decisions has  not been proven mathematically, and is used most often for problems,  the [...]]]></description>
			<content:encoded><![CDATA[<h3><strong>Introduction</strong></h3>
<p>Genetic  algorithm ( <strong> GA </strong> ) refers to the heuristic algorithm ( <strong> EA </strong> ), which gives an acceptable solution to the problem in the majority of  practically significant cases, but the correctness of the decisions has  not been proven mathematically, and is used most often for problems,  the analytical solution of which is very difficult or even impossible.</p>
<p>A classic example of a problem of this  class (class NP) is a &#8220;traveling salesman problem&#8221; (is one of the most  famous combinatorial optimization problems). The main challenge is  finding the most advantageous route, which passes through the given  cities at least one time, and then returns to the initial city). But  nothing prevents to use them for tasks, which yield to formalization.</p>
<p>EA are widely used for solving problems of  high computational complexity, instead of going through all of the  options, which takes up a significant amount of time. They are used in  the fields of artificial intelligence, such as pattern recognition, in  antivirus software, engineering, computer games, and other areas.</p>
<p>It should be mentioned that MetaQuotes  Software Corp. uses GA in their software products of MetaTrader 4/5. We  all know about the strategy tester and about how much time and effort  can be saved by using a built-in strategy optimizer, in which, just like  with the direct enumeration, it is possible to optimize with the use of  GA. In addition, the MetaTrader 5 tester allows us to use the user  optimization criteria. Perhaps the reader will be interested in reading  the articles about the <a href="http://articles.mql4.com/134" target="_blank"> GA</a> and the advantages, provided  by EA, in contrast to <a href="http://articles.mql4.com/361" target="_blank"> direct enumeration</a>.</p>
<h3><strong>1.  A little bit of history</strong></h3>
<p>Just  over a year ago, I needed an optimization algorithm for training neural  networks. After quickly acquainting myself with the various algorithms,  I chose GA. As a result of my search for ready -made implementations, I  found that the ones open for public access, either have functional  limitations, such as the number of parameters that can be optimized, or  are too &#8220;narrowly tuned&#8221;.</p>
<p>I needed a  universally flexible instrument not only for training all types of  neural networks, but also for generally solving any optimization  problems. After a lengthy study of foreign &#8220;genetic creations&#8221;, I was  still not able to understand how they work. The cause of this was either  an elaborate code style, or my lack of experience in programming, or  possibly both.</p>
<p>The main  difficulties arose from coding genes to a binary code and then working  with them in this form. Either way, it was decided to write a genetic  algorithm from scratch, focusing on scalability and easy modification in  the <a href="http://www.webfroster.com/tag/future/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Future">future</a>.</p>
<p>I did not want to deal  with binary transformation, and decided to work with the genes directly,  ie represent the chromosome with a set of genes in the form of real  numbers. This is how the code for my genetic algorithm, with a  representation of chromosomes by real numbers, appeared. Later I learned  that I didn&#8217;t discover anything new, and that analogous genetic  algorithms (they are called <strong> real-coded GA </strong> ) already existed for  more than 15 years, ever since the first publications about them came  out.</p>
<p>I leave my vision of  approaching the implementation and principles of GA functioning for the  reader to judge, since it is based on personal experience of its use in  practical problems.</p>
<p>For the complete tutorial on Genetic Algorithms visit: http://www.mql5.com/en/articles/55.</p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/508/metatrader-5-strategy-tester-released/" rel="bookmark" title="Permanent Link: MetaTrader 5 – Strategy Tester Released">MetaTrader 5 &#8211; Strategy Tester Released</a></li>
<li><a href="http://www.metatrader.in/521/creating-an-expert-advisor-which-trades-on-a-number-of-instruments/" rel="bookmark" title="Permanent Link: Creating an Expert Advisor, which Trades on a Number of Instruments">Creating an Expert Advisor, which Trades on a Number of Instruments</a></li>
<li><a href="http://www.metatrader.in/144/metatrader-5-development-interview-with-stanislav-starikov/" rel="bookmark" title="Permanent Link: Metatrader 5 Development – Interview with Stanislav Starikov">Metatrader 5 Development &#8211; Interview with Stanislav Starikov</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/16/genetic-algorithms-%e2%80%93-it%e2%80%99s-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Functions for Money Management in an Expert Advisor</title>
		<link>http://www.webfroster.com/2010/07/14/functions-for-money-management-in-an-expert-advisor/</link>
		<comments>http://www.webfroster.com/2010/07/14/functions-for-money-management-in-an-expert-advisor/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 07:22:22 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/functions-for-money-management-in-an-expert-advisor/?p=23636</guid>
		<description><![CDATA[Introduction
The MQL5 language provides an opportunity to obtain a vast amounts  of information about the current terminal  conditions, of the mql5-program,  as well as the financial  instrument and the trading  account. In order to organize the functions of capital management,  we will need to study the properties from the [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>The MQL5 language provides an opportunity to obtain a vast amounts  of information about the current <a href="http://www.mql5.com/en/docs/constants/environment_state/terminalstatus" target="_blank">terminal  conditions</a>, of the <a href="http://www.mql5.com/en/docs/constants/environment_state/mql5_programm_info" target="_blank">mql5-program</a>,  as well as the <a href="http://www.mql5.com/ru/docs/constants/environment_state/marketinfoconstants" target="_blank">financial  instrument</a> and the <a href="http://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants" target="_blank">trading  account</a>. In order to organize the functions of capital management,  we will need to study the properties from the last two listed sections,  as well as acquaint ourselves with the following functions:</p>
<ul>
<li> <a href="http://www.mql5.com/en/docs/marketinformation/symbolinfointeger" target="_blank">SymbolInfoInteger()</a></li>
<li> <a href="http://www.mql5.com/en/docs/marketinformation/symbolinfodouble" target="_blank">SymbolInfoDouble()</a></li>
<li> <a href="http://www.mql5.com/en/docs/marketinformation/symbolinfostring" target="_blank">SymbolInfoString()</a></li>
<li> <a href="http://www.mql5.com/en/docs/account/accountinfointeger" target="_blank">AccountInfoInteger()</a></li>
<li> <a href="http://www.mql5.com/en/docs/account/accountinfodouble" target="_blank">AccountInfoDouble()</a></li>
<li> <a href="http://www.mql5.com/en/docs/account/accountinfostring" target="_blank">AccountInfoString()</a></li>
</ul>
<p>Although in this article, the main focus is kept on the use of  functions in the Expert Advisors, all of these descriptions can be  applied to indicators and scripts.</p>
<h3>Obtaining information about your account balance</h3>
<p>The first two important characteristics of a trading account &#8211; the  balance and equity. To obtain these values, use the AccountInfoDouble()  function:</p>
<pre>   double balance=AccountInfoDouble(ACCOUNT_BALANCE);
   double equity=AccountInfoDouble(ACCOUNT_EQUITY);
</pre>
<p>The next thing that interests us, is the size of the deposit funds  for open positions, and the total floating profit or loss on the  account, for all open positions.</p>
<pre>   double margin=AccountInfoDouble(ACCOUNT_MARGIN);
   double float_profit=AccountInfoDouble(ACCOUNT_PROFIT);
</pre>
<p>In order to be able to open new positions or strengthen the  existing ones, we need free resources, not participating in the deposit.</p>
<pre>   double free_margin=AccountInfoDouble(ACCOUNT_FREEMARGIN);
</pre>
<p>Here it should be noted, that the above values are expressed in  monetary terms.</p>
<div>
<p>Monetary values, returned by the AccountInfoDouble() function,  are expressed in <strong>deposit currency</strong>. To find out the deposit  currency, use the <a href="http://www.mql5.com/en/docs/account/accountinfostring">AccountInfoString()</a> function.</p>
</div>
<pre>string account_currency=AccountInfoString(ACCOUNT_CURRENCY);
</pre>
<p><strong>The level of personal funds</strong></p>
<p>The account has another important characteristic &#8211; the level at  which the event Stop Out occurs (a mandatory closing of a positions due  to a shortage of personal funds necessary for maintaining open  positions). To obtain this value, re-use the AccountInfoDouble()  function:</p>
<pre>double stopout_level=AccountInfoDouble(ACCOUNT_MARGIN_SO_SO);
</pre>
<p>The function only returns the value itself, but it doesn&#8217;t  explain what type of units this value is expressed in. There are two  modes of level specification for Stop Out: in percents and in currency.  In order to find this out, use the AccountInfoInteger() function:</p>
<pre>//--- Get account currency
string account_currency=AccountInfoString(ACCOUNT_CURRENCY);

//--- Stop Out level
   double stopout_level=AccountInfoDouble(ACCOUNT_MARGIN_SO_SO);

//--- Stop Out mode
   ENUM_ACCOUNT_STOPOUT_MODE so_mode=(ENUM_ACCOUNT_STOPOUT_MODE)AccountInfoInteger(ACCOUNT_MARGIN_SO_MODE);
   if(so_mode==ACCOUNT_STOPOUT_MODE_PERCENT)

      PrintFormat("Stop Out level in percents %.2f%%",stopout_level);
   else
      PrintFormat("Stop Out level in currency %.2f %s",stopout_level,account_currency);
</pre>
<p>For the complete tutorial visit:  http://www.mql5.com/en/articles/113.</p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/516/writing-an-expert-advisor-using-the-mql5-object-oriented-programming-approach-2/" rel="bookmark" title="Permanent Link: Writing an Expert Advisor using the MQL5 Object-Oriented Programming Approach">Writing an Expert Advisor using the MQL5 Object-Oriented Programming Approach</a></li>
<li><a href="http://www.metatrader.in/521/creating-an-expert-advisor-which-trades-on-a-number-of-instruments/" rel="bookmark" title="Permanent Link: Creating an Expert Advisor, which Trades on a Number of Instruments">Creating an Expert Advisor, which Trades on a Number of Instruments</a></li>
<li><a href="http://www.metatrader.in/490/metatrader-5-guide-to-using-technical-indicators-in-expert-advisors/" rel="bookmark" title="Permanent Link: MetaTrader 5 – Guide to Using Technical Indicators in Expert Advisors">MetaTrader 5 &#8211; Guide to Using Technical Indicators in Expert Advisors</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/14/functions-for-money-management-in-an-expert-advisor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating an Expert Advisor, which Trades on a Number of Instruments</title>
		<link>http://www.webfroster.com/2010/07/14/creating-an-expert-advisor-which-trades-on-a-number-of-instruments/</link>
		<comments>http://www.webfroster.com/2010/07/14/creating-an-expert-advisor-which-trades-on-a-number-of-instruments/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 07:22:06 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/creating-an-expert-advisor-which-trades-on-a-number-of-instruments/?p=23635</guid>
		<description><![CDATA[Introduction
The technical side of implementing the  program code in order for a single Expert Advisor, launched on a single  chart, to be able to trade with different financial assets at the same  time. In general, this was not a problems even in MQL4. But only with  the advent of the MetaTrader [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>The technical side of implementing the  program code in order for a single Expert Advisor, launched on a single  chart, to be able to trade with different financial assets at the same  time. In general, this was not a problems even in MQL4. But only with  the advent of the MetaTrader 5 client terminal, traders finally got the  opportunity to perform a full analysis of the work of such automates,  using strategy testers.</p>
<p>So now multi-currency automates will  become more popular than ever, and we can forecast a surge of interest  in the construction of such trading systems. But the main problem of  implementation of such robots is in the fact that their dimensions in  the program code expand, at best, in an arithmetic progression, and this  is not easy to embrace for a typical programmer.</p>
<p>In this article we will write a simple  multi-currency Expert Advisor, in which the structure flaws are, if not  absent, then at least minimized.</p>
<h3>1. Implementing of a simple trend-following system</h3>
<p>In fact, we could start with a maximally  simple trading system, following the trend on the basis of a built-in  terminal of a technical indicator Triple Exponential Moving Average.  This is a very simple algorithm, which does not require special  commentaries, and which we will now embody in the program code.</p>
<p>But first and foremost, I would like to  make the most general conclusions about the Expert Advisor. It makes  sense to begin with the block of incoming Expert Advisor parameters,  declared on a global level.</p>
<p>So, first of all we must choose the  financial assets that we will be working with. This can be done using  line input variables, in which the asset symbols can be stored. Now it  would be nice to have a trade ban switch for each financial asset, which  would allow to disable trading operations by the asset.</p>
<p>Naturally, each asset should be  associated with their individual trading parameters of Stop Loss, Take  Profit, the volume of the open position, and slippage. And for obvious  reasons, the input parameters of the indicator Triple Exponential Moving  Average for each trading chip should be individual.</p>
<p>Here is one final block of input  variables for just one chip, performed in accordance with these  arguments. The remaining blocks differ only by the numbers in the names  of input parameters of the Expert Advisor. For this example I limited  myself to only twelve financial assets, although ideally there is no  software limitations for the number of such blocks.</p>
<p>We only need something to trade on! And  most importantly &#8211; our PC must have enough resources for solving this  problem.</p>
<p>Read more of this tutorial at http://www.mql5.com/en/articles/105</p>
<p><span>Source: http://www.mql5.com/en/articles/105</span></p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/364/metatrader-tips-expert-advisor-installation/" rel="bookmark" title="Permanent Link: MetaTrader Tips – Expert Advisor Installation">MetaTrader Tips &#8211; Expert Advisor Installation</a></li>
<li><a href="http://www.metatrader.in/490/metatrader-5-guide-to-using-technical-indicators-in-expert-advisors/" rel="bookmark" title="Permanent Link: MetaTrader 5 – Guide to Using Technical Indicators in Expert Advisors">MetaTrader 5 &#8211; Guide to Using Technical Indicators in Expert Advisors</a></li>
<li><a href="http://www.metatrader.in/351/metatrader-tips-expert-advisor-optimization/" rel="bookmark" title="Permanent Link: MetaTrader Tips – Expert Advisor Optimization">MetaTrader Tips &#8211; Expert Advisor Optimization</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/14/creating-an-expert-advisor-which-trades-on-a-number-of-instruments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hotspot May 2010 Forex volume over $1 Trillion…</title>
		<link>http://www.webfroster.com/2010/07/14/hotspot-may-2010-forex-volume-over-1-trillion%e2%80%a6/</link>
		<comments>http://www.webfroster.com/2010/07/14/hotspot-may-2010-forex-volume-over-1-trillion%e2%80%a6/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 07:21:46 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/hotspot-may-2010-forex-volume-over-1-trillion%e2%80%a6/?p=23634</guid>
		<description><![CDATA[I know it’s a bit late yet this hasn’t been published yet so what the   hell.
Hotspot recently released their trading volume figures and the   numbers are simply astounding. During May 2010 Hotspot transacted over   $1 Trillion total volume… May 6th was the most volatile with almost $90   [...]]]></description>
			<content:encoded><![CDATA[<p>I know it’s a bit late yet this hasn’t been published yet so what the   hell.</p>
<p>Hotspot recently released their trading volume figures and the   numbers are simply astounding. During May 2010 Hotspot transacted over   $1 Trillion total volume… May 6th was the most volatile with almost $90   billion traded in a single day.</p>
<p>From January 2009 to May 2010, Hotspot’s volume has risen over +350%.</p>
<p>All in all it seems that Hotspot at this point is the single largest   forex trading venue in the world, however watching the chart below you   can see that while EBS and Reuters lag behind CME is picking up pace.   CME’s growth in May was much higher than Hotspot’s though I’m not sure   how this even compares as CME’s business is mostly FX contracts and   futures.</p>
<p><a href="http://www.metatrader.in/wp-content/uploads/HLIC/fdc6429e234718919d0ef1a296a9dcd4.png"><img src="http://www.metatrader.in/wp-content/uploads/HLIC/fdc6429e234718919d0ef1a296a9dcd4.png" alt="may2010 hotspot Hotspot May 2010 Forex volume over $1 Trillion…" width="679" height="451" /></a></p>
<p><span><em>Source:   http://forexmagnates.com/hotspot-may-2010-forex-volume-over-1-trillion/</em></span></p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/492/retail-forex-trading-grows-by-16-in-2009-hedge-fund-volumes-decline/" rel="bookmark" title="Permanent Link: Retail forex trading grows by 16% in 2009, Hedge Fund volumes decline">Retail forex trading grows by 16% in 2009, Hedge Fund volumes decline</a></li>
<li><a href="http://www.metatrader.in/356/alpari-launches-forex-trading-platform-in-india/" rel="bookmark" title="Permanent Link: Alpari launches Forex trading platform in India">Alpari launches Forex trading platform in India</a></li>
<li><a href="http://www.metatrader.in/79/metatrader-5-next-generation-forex-trading-platform/" rel="bookmark" title="Permanent Link: MetaTrader 5 – Next Generation Forex Trading Platform">MetaTrader 5 &#8211; Next Generation Forex Trading Platform</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/14/hotspot-may-2010-forex-volume-over-1-trillion%e2%80%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing an Expert Advisor using the MQL5 Object-Oriented Programming Approach</title>
		<link>http://www.webfroster.com/2010/07/14/writing-an-expert-advisor-using-the-mql5-object-oriented-programming-approach/</link>
		<comments>http://www.webfroster.com/2010/07/14/writing-an-expert-advisor-using-the-mql5-object-oriented-programming-approach/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 07:21:19 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/writing-an-expert-advisor-using-the-mql5-object-oriented-programming-approach/?p=23633</guid>
		<description><![CDATA[Introduction
In  the first   article, we took a journey through the basic steps of creating,  debugging and  testing an Expert Advisor in MQL5.
Everything  we did was very simple and interesting; however, the new  MQL5 language has much more to offer. In this article,  we will consider  the [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>In  the <a href="http://www.mql5.com/ru/articles/100" target="_blank">first   article</a>, we took a journey through the basic steps of creating,  debugging and  testing an Expert Advisor in MQL5.</p>
<p>Everything  we did was very simple and interesting; however, the new  MQL5 language has much more to offer. In this article,  we will consider  the <a href="http://www.mql5.com/en/docs/basis/oop" target="_blank">Object  Oriented approach</a> to doing what we did in the first article. Most  people think this is difficult, but I want to  assure you that by the  time you finish reading through this article, you will  be able to write  your own Expert Advisor which is object oriented based.</p>
<p>We will not repeat some of the  things we have learned in the <a href="http://www.mql5.com/en/articles/100" target="_blank">first article</a>,  so I  suggest that you first of all read through the <a href="http://www.mql5.com/en/articles/100" target="_blank">article</a> if you have not  already done so.</p>
<h3>1. The Object-Oriented Paradigm</h3>
<p>One of the things that make  the new MQL5 much more powerful and  robust than MQL4 is its <a href="http://www.mql5.com/en/docs/basis/oop" target="_blank">OOP</a> (Object Oriented Programming) approach.</p>
<p>It  is recommended in OOP that an object should not expose any of its  implementation details. This way, its implementation can be changed   without changing the code that uses the object. This means that a class  allows a programmer to hide (and also prevents changes to) how the class  he has  written is implemented.</p>
<p>To get things clearer, let us  dwell a bit on the terms “‘class” and  “object” just mentioned.</p>
<ul>
<li>CLASS. A <a href="http://www.mql5.com/en/docs/basis/types/classes#class" target="_blank">class</a> is more like an expanded concept of a data <a href="http://www.mql5.com/en/docs/basis/types/classes" target="_blank">structure</a> but  instead of holding data only, it holds both data and functions.  A  class can contain several variables and functions, which are called the  members of the class. It  is an encapsulation of data members and  functions that manipulate the data. A  class is much more powerful, in  that you can wrap up all your Expert Advisors functions in a class. You  will only  be making reference to the functions anytime you need them in  your EA code.  By the way, this is what this article is all about.</li>
<li>OBJECT.  An object is an instance of a class. Once a class has been  created, to use the class, we must declare an instance  of the class.  This is called an object.  In order words, to create an object you need a  class.</li>
</ul>
<p><strong>1.1. DECLARING A CLASS</strong></p>
<p>A  class,<em> basically</em>, contains the description of the members  (properties and functions/methods) of an  object you want to create  from the class. Let us look at an example…</p>
<p>If we want to create an object  that will have <strong>doors, sits,  tyres, weight</strong>, etc and that can also <strong>start, changegear,  stop </strong>and<strong> horn; </strong>then we need to write a class  for it. The <strong>doors, sits, tyres, weight, start, changegear, stop </strong>and<strong> horn </strong>will be the members of the class.</p>
<p>Of course, you will observe that,  these members are categorized;  some are just what our object will have  (properties) while the others  are what our object will do (actions –  functions/methods).  To declare  our class, we need to think  of a very good and descriptive name for it.  In this <a href="http://www.webfroster.com/tag/case/" class="st_tag internal_tag" rel="tag" title="Posts tagged with case">case</a>, we will call our  class <strong>CAR</strong>. Our CAR  class will have the properties and functions stated above as its  members.</p>
<p>To declare a class, we start by typing the keyword <strong>class </strong>followed  by the name of  the class<strong> </strong>followed by a pair of braces  that contains the members of the class.</p>
<p>So, the basic format of a class is as shown below:</p>
<pre>class class_name
{
  access_keyword_1:
    members1;

  access_keyword_2:
    members2;
  ...
};</pre>
<p>Here, <strong>class_name</strong> is  a valid identifier for the  class we want to write, <strong>members1</strong> and <strong>members2</strong> are  the data members of the class.</p>
<p>The <em>access_keyword</em> specifies the access right to the members  of our class.  An access_keyword can be <strong>private</strong>, <strong>protected</strong> or <strong>public</strong>. Remember that we are trying to write a  class that can be used by  ourselves and others without actually  exposing the implementation details. That is why  access rights are  necessary.</p>
<p>There  may be some members of our class we don’t want access to from  outside of our class. These are declared within the  private access  section using the <strong>private </strong>or<strong> protected </strong>keyword.   Other members that we want access to from outside of our class will  then be declared within  the public access section using the <strong>public</strong> keyword. Now, our new <strong>CAR</strong> class will now look like  below:</p>
<pre>class CAR
{
  private:
    int        doors;
    int        sits;
    int        tyres;
    double     weight;

  public:
    bool       start();
    void       changegear();
    void       stop();
    bool       horn();
  ...
};</pre>
<p>Our <strong>CAR</strong> class is  declared using the keyword <strong>class. </strong>This class contains eighth members with four members having  private access and four members  having public access. The four members  in the private section are data members.  Three are of <em>integer </em>(int)  data type and one a double data type. These members cannot be accessed   by any other function that is declared outside of this class.</p>
<p>The four members in the public section are function members. Two  returns <em>bool</em> data type and two returns <em>void</em> type.  These are the members that are accessible to any object of this class  whenever it is created by anyone  using our class. Once an object of our  class is created, these members will be readily available for use.</p>
<p>As  you will rightly observed, the access keywords (<strong>private,  public, protected</strong>) are  always followed by a colon. The class  declaration also ended with a semi-colon.  The members are declared  using their correct data type.</p>
<p>It  should be noted that once you declare a class, all members of the  class are given  private access rights unless it is explicitly  specified as we did above. For  example, in the class declaration below:</p>
<pre>class CAR
{
    int        doors;
    int        sits;
    int        tyres;
    double     weight;

  public:
    bool       start();
    void       changegear();
    void       stop();
    bool       horn();
  ...
};</pre>
<p>All the four members  declared above the public access keyword  automatically have private access.</p>
<p>For our class to be used, an object of the class must first of all be  created. Now, let us  create an object which is a type of our class. To  do this we will use our class  name followed by the name we want to  give the object.</p>
<div>
<p>CAR <strong><em>Honda</em></strong>;</p>
</div>
<p>Or we can create another object</p>
<div>
<p>CAR <strong><em>Toyota</em></strong>;</p>
</div>
<p><strong><em>Honda</em></strong> or <strong><em>Toyota</em></strong> is now a type of a <strong>CAR </strong>and can now have access to all  the member functions of  our <strong>CAR </strong>class provided the  member functions are declared within the public access  section. We will  come back to this later.</p>
<p>You  can see that we can create as many objects of this class as we  want. This is one of the benefits of Object Oriented programming.</p>
<p><strong><em> </em></strong></p>
<p>At this point, let us consider in details, the format of a class in  MQL5.</p>
<pre>class class_name
{
  private:
    members1;
    members2;
    members3;

  public:
    class_name()  //Constructor;
    ~class_name() //Destructor;
    Members4();
    Members5();

  protected:
    members6;
    members7;
};</pre>
<p>This is a declaration of a class where <strong>class_name</strong> is  the name of the  class. This class has nine members, but out of this  nine, two are<em> special members</em>.</p>
<p><strong>The Constructor: </strong><br />
The constructor  (represented as <strong>class_name()</strong>) is a  special function that is  called automatically when a new object of the  type of the class is been  created. So in this <a href="http://www.webfroster.com/tag/case/" class="st_tag internal_tag" rel="tag" title="Posts tagged with case">case</a>, when you create an  object of the type of this class</p>
<div>
<p><strong>class_name</strong> <strong><em>object</em></strong>;</p>
</div>
<p>the constructor, <strong>class_name()</strong>, is called  automatically. The name of  the constructor must match the name of the  class, that is why we named the constructor as <strong>class_name()</strong>.  In MQL5, a constructor does not take  any input parameters and has no  return type. Memory allocations and initialization  of the class members  are normally done when the constructor is called.  Constructors cannot  be called explicitly as if they were regular member  functions. They are  only executed when a new object of that class is  created. A class in  MQL5 can only have one constructor.</p>
<p><strong>The Destructor:</strong><br />
The second  special member is represented as <strong>~class_name()</strong>.  This is the  class destructor written with a tide (<strong>~</strong>)  before the class name. It is  called automatically when a class object  is destroyed. All members of the class  that needs to be de-initialized  are de-initialized at this stage and it does  not really matter whether  you explicitly declared the destructor or not.</p>
<p><strong>Data Members:</strong><br />
Members of  a class can be any legal <em>data</em> type, a <em>class</em> type or a <em>struct</em> type. In order words, when declaring member  variables of a class, you can use any legal data type  (int, double,  string, etc), an object of another class or a type of a  structure (for  example, the MQL5 MqlTradeRequest, etc)</p>
<p><strong>Function Members:</strong><br />
These are  members of the class which are used for modifying the data  members and executing the major functions/ methods of the class. The  return type for  the function members can be of any legal return type  (bool, void, double,  string, etc).</p>
<p><strong>Private:</strong><br />
Members declared  within this section are only accessible by the  function members of the class. They cannot be accessed by any other  function outside of the  class.</p>
<p><strong>Protected:</strong><br />
Members declared within this section are  accessible to the function  members of the class and also can be accessed by the member functions of   other classes that are derived from this class. This means that we can  also  create a new class from this class. In this <a href="http://www.webfroster.com/tag/case/" class="st_tag internal_tag" rel="tag" title="Posts tagged with case">case</a>, the new class  derived from this  class (which will now become the base class) will be  able to access the  protected members of the base class. This is the  concept of inheritance in OOP. We  will soon discuss about it, just  relax…</p>
<p><strong>Public:</strong><br />
Members declared  within this section are available for usage outside of  the class by an object of the class. This is where to declare some of  the functions that  will be needed to use the class in other programs.</p>
<p>Now that we have looked at the basic format of a class, I hope you  are not  bored yet because we still have some other interesting aspect  of classes we  want to look at before we finally jump into creating a  class wrapper for our  Expert Advisor.</p>
<p><strong>1.2. INHERITANCE</strong></p>
<p>Let’s say we want to make another class from this initial class <em>base_class</em>.   The format for deriving a new class from an initial class is as  follows:</p>
<p><strong>The Base Class:</strong></p>
<pre>class base_class
{
  private:
    members1;
    members2;
    members3;

  public:
    class_name()  //Constructor;
    ~class_name() //Destructor;
    Members4();
    Members5();

  protected:
    members6;
    members7;
};</pre>
<p><strong>The Derived Class:</strong></p>
<pre>class new_class : access_keyword base_class
{
  private:
    members8;

  public:
    new_class()  //Constructor;
    ~new_class() //Destructor;
    Members9();
};</pre>
<p>A few explanations here before we proceed to explain the details.   The class <em>new_class</em> is derived from the class <em>base_class</em> using the colon and an access_keyword as shown above. Now, the  new_class  derived/made from <em>base_class</em> can now access (or  inherit) both the public and protected members of <em>base_class</em> but cannot access (or not  inherit) the private members of the <em>base_class</em>.  The <em>new_class</em> can also implement new member methods/functions  different from the <em>base_class</em>. In order words, the <em>new_class</em> can also have its own data and  function members apart from the ones it  inherits from the <em>base_class</em>.</p>
<p>If  the <strong>public</strong> keyword is used in creating the  derived class, it  means that the public and protected members of the  base class will be <a href="http://www.mql5.com/en/docs/basis/oop/inheritance" target="_blank">inherited</a> as public and protected members of the derived class. If the Protected   keyword is used, public and protected members of base class will be   inherited as protected members of the derived class. If the private   keyword is used, the public and protected members of base class will be   inherited as private members of the derived class.</p>
<div>
<p>It is important to note that when a new  object of the <em>new_clas</em>s  (the derived class) is created, the  constructor of the <em>base_class</em> is called first before the  constructor of the <em>new_class</em>;  while when the object is destroyed ,  the destructor of the <em>new_class</em> (the derived class) is called  first before the destructor of the <em>base_class</em>.</p>
</div>
<p>To better understand this concept of  inheritance, let us go back to  our initial class CAR.</p>
<pre>class CAR
{
  protected:
    int        doors;
    int        sits;
    double     weight;

  public:
    bool       start();
    void       changegear();
    void       stop();
    bool       horn();

  private:
    int        tyres;
};
</pre>
<p>We can derive another class  SALOON  from this class. Notice that I  have declared three of the data  members of the class CAR as protected.  This is to enable our new class  SALOON inherit these members.</p>
<p>Also, I want you to understand that the order in which  you place the  access keywords does not matter. What matters is that all  members  declared under an access keyword belong to that keyword.</p>
<pre>class SALOON : public CAR
{
  private:
    int        maxspeed;

  public:
    void       runathighspeed();
};</pre>
<p>Our derived class SALOON has two  members and at the same time  inherits seven members (protected and  public members) from the base  class CAR. This means that once an object  of SALOON is created, it will  be able to access the public member  functions of CAR which are <strong>start()</strong>,  <strong>changegear()</strong>, <strong>stop()</strong> and<strong> horn()</strong> together with its own public member function <strong>runathighspeed()</strong>.   This is the concept of <a href="http://www.mql5.com/en/docs/basis/oop/inheritance" target="_blank">inheritance</a>.</p>
<p>Just as some  characters/behaviours (methods) of our father/parents  (base class) show  up in us, their children (derived class), because we  inherit those  behaviours (methods/functions) from them either  genetically or  otherwise. Sorry, I am not a medical personnel, but I  believe you quite  grasp the picture I am trying to paint. By the way,  MQL5 does not  support multiple inheritance, so no need to talk about  it.</p>
<p>Hmm!!! I hope the black cloth covering the  mystical thing called OOP  or CLASS is been removed little by liitle…  don’t get tired, if you  feel at this point you are still not very clear  with what we are  discussing, you may need to relax, take a cup of coffee  and then come  back and start from the beginning. It is not as  mysterious as you  think…</p>
<p>If you are  now back at this point, I assume you are following my  explanation. I  want you to tell me how many more classes you can derive  from our base  class CAR? Please I need you answer. I am serious. Name  them and write  their declarations and mail them to me. If you can name  them all, I will  take you out for launch… (am I kidding?)</p>
<p>Now that you are set  for more, let’s continue…</p>
<p>It is true that when I write, I write  like my Dad. His hand writings  are very neat and highly stylish just  like mine. I guess it is  something I inherit from him, but guess what;  he uses his left hand to  write while I use my right hand and when you  see the writings you can  hardly differentiate because they look similar.  What is the problem  here? I inherit good hand-writing from my father  but I do not write  with my left hand like my father. This means that  even though it’s what  I inherit and it looks similar but the way I do  mine is different from  my father. Does this make sense to you? This is  an idea of what is  called Polymorphism in OOP.</p>
<p>A derived class  (myself, as in the example above) inherits a member  function  (writefine() – for my handwritng) from a base class (my Dad)  but it (I)  implements the function (writefine() ) in a different way  from the base  class (My Dad).</p>
<p>Back to our CAR  class, and the derived class SALOON;</p>
<pre>class CAR
{
  protected:
    int        doors;
    int        sits;
    double     weight;

  public:
    bool               start();
    virtual void       changegear(){return(0);}
    void               stop();
    bool               horn();

  private:
    int        tyres;
};</pre>
<pre>class SALOON : public CAR
{
  private:
    int        maxspeed;

  public:
    void               runathighspeed();
    virtual  void       changegear(){gear1=reverse; gear2=low; gear3=high;}
  };

class WAGON : public CAR
{
  private:
    bool               hasliftback;

  public:
   virtual  void       changegear(){gear1=low; gear2=high; gear3=reverse;}
};</pre>
<p>Let us look at a few changes we  have made here. First, we have  declared a new derived class from CAR  named WAGON with two members. We  have also modified the member function <strong>changegear()</strong> to  become a <a href="http://www.mql5.com/ru/docs/basis/oop/virtual" target="_blank">virtual function</a> in the base class. Why did we make <strong>changegear()</strong> a <a href="http://www.mql5.com/ru/docs/basis/oop/virtual" target="_blank">virtual  function</a>. It is simply because we want any  class that inherits the  function from the base class to be able to  implement it in its own way.</p>
<p>In other words, <a href="http://www.mql5.com/ru/docs/basis/oop/virtual" target="_blank">virtual  member  functions</a> of a class are member functions that can be  overridden or  implemented differently in any class derived from the  class where they  are declared. The member function body can then be  replaced with a new  set of implementation in the derived class. Even  though, we may not use  the word virtual again in the derived classes,  it is good programming  practice to always use it in the derived  classes.</p>
<p>From the examples above, classes SALOON and  WAGON implements the  function changegear() in their own ways.</p>
<p><strong>1.3. DEFINING CLASS METHODS (MEMBER  FUNCTIONS)</strong></p>
<p>Since we have  known, to some extent, how to declare classes; let’s  move further by  discussing how to define the member functions of a  class. After we have  declared the class, the next thing is to define  the member functions of  our class. Let us look at our CAR class again</p>
<pre>class CAR
{
  protected:
    int        doors;
    int        sits;
    double     weight;

  public:
    void       CAR() // Constructor
    bool       start();
    void       changegear();
    void       stop();
    bool       horn(){press horn;}

  private:
    int        tyres;
};

 void CAR::CAR()
{
 // initialize member variables here
}

bool CAR::start()
{
 // car start procedure here
}

void CAR::changegear()
{
// car changegear procedure here
}

void CAR::stop()
{
// car stop procedure here
}</pre>
<p>In defining the member functions, we have used a double colon (<strong>::</strong>)   operator called the <a href="http://www.mql5.com/en/docs/basis/operations/other#context_allow" target="_blank"><em>scope  operator</em></a>. This is written just like  normal functions, the only difference is the class name and the scope  operator that is added. You  will also observe that one of the functions  was already defined within the  class (member function <em>horn()</em>).  A member function can be defined in the  class declaration or outside  the class declaration as you have seen it here.</p>
<p>I think it will be of importance if we can review the concept of  functions  a little before we proceed.</p>
<p><strong>1.4. FUNCTIONS</strong></p>
<p>By the way, what is a function?</p>
<p>Sometimes in a house where you have three kids, rather than just one  of them doing  all the works in the house; one was asked to be washing  the plates every day  after supper, one was asked to be doing the  sweeping while the third was given  the task of arranging the beds every  morning.</p>
<p>There are some works to be done in the house, instead of giving all  the works to one child, we divided it  among the three of them. This  will make the task very easy and light for each  one of them rather than  been a burden to just one of them. Also, if one of the  kids did not do  his/her task, we quickly know which one of them to flog.   This is the  idea behind functions.</p>
<p>Most times we want to write a code that will do many tasks. This is  where  functions come in. We can decide to break the task into smaller  tasks and then  write a function to perform each of the smaller tasks.   A function  is a code-block that performs or implements a set of  operations. It is a group of statements that is  executed whenever it is  called from some point in a program.</p>
<p>A function can be defined as  follows:</p>
<pre>Return_type function_name (parameters1,parameters2,…)
{
  Expressions; //(actions to carry out by the function)
}</pre>
<ul>
<li><strong>Return_type</strong> : the data type returned by the  function (must be a valid data type or void if it  returns nothing)</li>
<li><strong>Function_name</strong>: the name of the function (must be a  valid name) which will be used for calling the  function</li>
<li><strong>Parameters</strong>: parameters are valid data type  variables which will act within the function as a local  variable. If a  function has more than one parameter, they are separated by commas.</li>
<li><strong>Expressions</strong>:  the body of the function that  contains block of statements</li>
</ul>
<p>Example of a function:</p>
<pre>int doaddition (int x, int y)
{
 return (x+y);
}</pre>
<p>The function return type is integer (int), doaddition is the function  name  and int x and int y are the parameters. What the function does is  to add any two  input parameters supplied it and return the result.  So  if we supply the function with two integer variables 2 and 3,  the  function will do the addition and return 5 as the result.</p>
<pre>int doaddition(2,3) // returns 5</pre>
<p>For more information about functions, please consult the MQL5  Reference  manual.</p>
<p>Now enough of the theories let us get down to work.</p>
<p>The essence of this article is to teach you how you can write a class  for  your Expert Advisor using the Object Oriented approach presented  in MQL5.</p>
<p>It is now time for action…</p>
<p>Click <a href="http://www.mql5.com/en/articles/116">here </a>to read  the rest of the tutorial.</p>
<p>Source:  http://www.mql5.com/en/articles/116</p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/506/metatrader-5-migrating-from-mql4-to-mql5/" rel="bookmark" title="Permanent Link: MetaTrader 5 – Migrating from MQL4 to MQL5">MetaTrader 5 &#8211; Migrating from MQL4 to MQL5</a></li>
<li><a href="http://www.metatrader.in/367/list-of-changes-in-the-help-for-mql5-metatrader-5/" rel="bookmark" title="Permanent Link: List of changes in the Help for MQL5 – MetaTrader 5">List of changes in the Help for MQL5 &#8211; MetaTrader 5</a></li>
<li><a href="http://www.metatrader.in/524/functions-for-money-management-in-an-expert-advisor/" rel="bookmark" title="Permanent Link: Functions for Money Management in an Expert Advisor">Functions for Money Management in an Expert Advisor</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/14/writing-an-expert-advisor-using-the-mql5-object-oriented-programming-approach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Naked Trading</title>
		<link>http://www.webfroster.com/2010/07/09/naked-trading/</link>
		<comments>http://www.webfroster.com/2010/07/09/naked-trading/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 07:21:29 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/naked-trading/?p=23221</guid>
		<description><![CDATA[I&#8217;m still using a 5 minute chart with nothing but an ema20 and pivots.
For my range charts, which I got back into the habit of using these last many months, I am now completely naked &#8212; not a single indicator.





&#8220;Look ma, no indicators!&#8221;

The only indicator that has been on these range charts for months and [...]]]></description>
			<content:encoded><![CDATA[<p><span>I&#8217;m still using a 5 minute chart with nothing but an ema20 and pivots.</p>
<p>For my range charts, which I got back into the habit of using these last many months, I am now completely naked &#8212; not a single indicator.</span><br />
<span><br />
</span></p>
<div><a href="http://4.bp.blogspot.com/_Q1Fb7lIO26M/TDagoSafgJI/AAAAAAAAAUU/IvgQk6ZJf7Y/s1600/7-8-2010+11-03-38+PM.png"><img border="0" height="261" src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/639ff_7-8-2010+11-03-38+PM.png" width="400" /></a></div>
<p><span><br />
</span></p>
<div><span><b><i>&#8220;Look ma, no indicators!&#8221;</i></b></span></div>
<p><span><br />
</span><span>The only indicator that has been on these range charts for months and months is my ADXVMA paintbar indicator. It sure was pretty. But also, more or less worthless in my opinion, at least with my trading method and style. It&#8217;s gone now!</span><br />
<span><br />
</span><br />
<span></span><span>You can check out the <a href="http://www.bigmiketrading.com/elite-circle/3506-elusive-price-action-how-trade.html">Price Action thread</a> on BMT for the method I&#8217;ve been primarily using the last six months or so.</span><span><br />
</span><span>Mike</span>
<div><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2496474927178018928-4059538083984944441?l=blog.bigmiketrading.com' alt='' /></div>
<div>
<a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=CIVZIQIO-nQ:DUVvA2Y4G6E:yIl2AUoC8zA"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/639ff_ctrlbrk?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=CIVZIQIO-nQ:DUVvA2Y4G6E:V_sGLiPBpWU"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/639ff_ctrlbrk?i=CIVZIQIO-nQ:DUVvA2Y4G6E:V_sGLiPBpWU" border="0"></img></a>
</div>
<p><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/5d441_CIVZIQIO-nQ" height="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/09/naked-trading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MetaTrader 5 – MQL5 for Beginners</title>
		<link>http://www.webfroster.com/2010/07/06/metatrader-5-%e2%80%93-mql5-for-beginners/</link>
		<comments>http://www.webfroster.com/2010/07/06/metatrader-5-%e2%80%93-mql5-for-beginners/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 07:15:08 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/metatrader-5-%e2%80%93-mql5-for-beginners/?p=22905</guid>
		<description><![CDATA[Step-By-Step Guide to writing an Expert Advisor in MQL5 for Beginners
Introduction
This article is aimed at beginners who wish to learn how to write simple Expert Advisors in the new MQL5 language. We will begin first by defining what we want our EA (Expert advisor) to do, and then move on to how we want the [...]]]></description>
			<content:encoded><![CDATA[<h2>Step-By-Step Guide to writing an Expert Advisor in MQL5 for Beginners</h2>
<h3>Introduction</h3>
<p>This article is aimed at beginners who wish to learn how to write simple Expert Advisors in the new MQL5 language. We will begin first by defining what we want our EA (Expert advisor) to do, and then move on to how we want the EA to do it.</p>
<p><img src="http://www.metatrader.in/wp-content/uploads/HLIC/dea7ab77121c089dd3eb615650d5bb55.png" alt="Figure 1. Starting a new MQL5 document" width="402" height="291" /></p>
<h3>1. Trading Strategy</h3>
<p>What our EA will do:</p>
<ul>
<li>It will monitor a particular indicator, and when a      certain condition is met (or certain conditions are met), it will place a      trade (either a Short/Sell or Long/Buy), depending on the present condition      that has been met.</li>
</ul>
<p>The above is called a trading strategy. Before you can write an EA, you must first develop the strategy that you want to automate into the EA. So in this <a href="http://www.webfroster.com/tag/case/" class="st_tag internal_tag" rel="tag" title="Posts tagged with case">case</a>, let us modify the above statement  so that it reflects  the strategy we want to develop into an EA.</p>
<ul>
<li>We will use an indicator called Moving Average with a      period of 8 ( You can choose any period, but for the purpose of our      strategy, we will use 8 )</li>
<li>We want our EA to place a Long (Buy) trade when the Moving Average-8 (for the sake of our discussion, I will refer to it as MA-8) is increasing upwards and the price is close above it and it will place a Short (Sell) when MA-8 is decreasing downwards and the price is close below it.</li>
<li>We are also going to use another indicator called      Average Directional Movement (ADX) with period 8 also to help us determine      whether the market is trending or not. We are doing this because we only      want to enter the trade when the market is trending and relax when the      market is ranging (that is, not trending). To achieve this, we will only      place our trade (Buy or Sell) when above conditions are met and the ADX value is      greater that 22. If ADX is greater that 22 but decreasing, or ADX is less      than 22, we will not trade, even though the condition B has been met.</li>
<li>We want to also protect ourselves by setting a Stop      loss of 30 pips, and for our Profit target; we will target a profit of      100 pips.</li>
<li>We also want our EA to look for Buy/Sell opportunities only when a new bar has been formed and we will also make sure we open a Buy position if the Buy conditions are met and we do not already have one opened, and open a Sell position when the Sell conditions are met and we do not already have one opened.</li>
</ul>
<p>We have now developed our strategy; it is now time to start writing our code.</p>
<p><strong>View full article at <a href="http://www.mql5.com/en/articles/100" target="_blank">http://www.mql5.com/en/articles/100</a></strong></p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/487/metatrader-5-how-to-call-indicators-in-mql5/" rel="bookmark" title="Permanent Link: MetaTrader 5 – How to call indicators in MQL5">MetaTrader 5 &#8211; How to call indicators in MQL5</a></li>
<li><a href="http://www.metatrader.in/367/list-of-changes-in-the-help-for-mql5-metatrader-5/" rel="bookmark" title="Permanent Link: List of changes in the Help for MQL5 – MetaTrader 5">List of changes in the Help for MQL5 &#8211; MetaTrader 5</a></li>
<li><a href="http://www.metatrader.in/490/metatrader-5-guide-to-using-technical-indicators-in-expert-advisors/" rel="bookmark" title="Permanent Link: MetaTrader 5 – Guide to Using Technical Indicators in Expert Advisors">MetaTrader 5 &#8211; Guide to Using Technical Indicators in Expert Advisors</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/06/metatrader-5-%e2%80%93-mql5-for-beginners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MetaTrader 5 – New Opportunities with MetaTrader 5</title>
		<link>http://www.webfroster.com/2010/07/06/metatrader-5-%e2%80%93-new-opportunities-with-metatrader-5/</link>
		<comments>http://www.webfroster.com/2010/07/06/metatrader-5-%e2%80%93-new-opportunities-with-metatrader-5/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 07:14:46 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/metatrader-5-%e2%80%93-new-opportunities-with-metatrader-5/?p=22904</guid>
		<description><![CDATA[A little bit of history
As little as 5 years ago, the MetaTrader 4 terminal was officially presented to the traders, written completely from scratch and intending to replace the existing, and already popular, third generation terminal of  MetaQuotes Software Corp. MetaTrader 4 quickly gained popularity among traders, and as a consequence, in the following [...]]]></description>
			<content:encoded><![CDATA[<h3>A little bit of history</h3>
<p>As little as 5 years ago, the MetaTrader 4 terminal was officially presented to the traders, written completely from scratch and intending to replace the existing, and already popular, third generation terminal of <a href="http://www.metaquotes.net/en" target="_blank"> </a>MetaQuotes Software Corp. MetaTrader 4 quickly gained popularity among traders, and as a consequence, in the following years, hundreds of brokers began to provide their services on the  MetaTrader 4 platform.</p>
<p>Despite this success, 3 years ago developers decided to create an informatory &#8211; trading platform of a new generation, and in November of 2009 the public testing of MetaTrader 5 had begun. We all tend to take a strong liking to the known and the familiar and take a cautious approach to changes. Traders are no exception to this behavior. Therefore we decided to help, all who desired, to understand the differences and advantages of the MetaTrader 5 platform in comparison to the well-known MetaTrader 4.</p>
<h3>New markets and instruments</h3>
<p>From the beginning, MetaTrader was intended to be a convenient and user friendly platform for trading on the Forex market. Today, it is difficult to even imagine that many years ago, in almost all other terminals, trade was conducted on demand, it was not possible to create your own technical indicators and trading robots, and opportunities for technical analysis were implemented more in words than actual actions. And so, traders who sold through other financial markets began to express a desire to sell through MetaTrader.</p>
<p><strong>View full article at <a href="http://www.mql5.com/en/articles/84" target="_blank">http://www.mql5.com/en/articles/84</a></strong></p>
<p><img src="http://www.metatrader.in/wp-content/uploads/HLIC/6e01d2c4068bab321c42ae77355d7a1e.png" alt="6e01d2c4068bab321c42ae77355d7a1e MetaTrader 5 – New Opportunities with MetaTrader 5" width="611" height="459" /></p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/79/metatrader-5-next-generation-forex-trading-platform/" rel="bookmark" title="Permanent Link: MetaTrader 5 – Next Generation Forex Trading Platform">MetaTrader 5 &#8211; Next Generation Forex Trading Platform</a></li>
<li><a href="http://www.metatrader.in/436/mql4-for-dummies/" rel="bookmark" title="Permanent Link: MQL4 for Dummies">MQL4 for Dummies</a></li>
<li><a href="http://www.metatrader.in/152/first-broker-to-use-metatrader-5-alpari-russia/" rel="bookmark" title="Permanent Link: First broker to use MetaTrader 5 – Alpari Russia">First broker to use MetaTrader 5 &#8211; Alpari Russia</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/06/metatrader-5-%e2%80%93-new-opportunities-with-metatrader-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Trading Wiki is launched</title>
		<link>http://www.webfroster.com/2010/07/06/the-trading-wiki-is-launched/</link>
		<comments>http://www.webfroster.com/2010/07/06/the-trading-wiki-is-launched/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 07:14:34 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/the-trading-wiki-is-launched/?p=22903</guid>
		<description><![CDATA[Hey guys,

For many months now I&#8217;ve been wanting to add a&#160;Wiki&#160;to the site. For the past several weeks, I&#8217;ve finally had a chance to do that, and the moderating team and myself have been working on it.

I decided we needed a wiki because we needed to bring some structure to the forum. Right now, the [...]]]></description>
			<content:encoded><![CDATA[<p><span>Hey guys,</span><span><br />
</span><span><br />
</span><span>For many months now I&#8217;ve been wanting to add a</span><span>&nbsp;</span><span><a href="http://www.bigmiketrading.com/wiki/trading-wiki/Wiki">Wiki</a></span><span>&nbsp;</span><span>to the site. For the past several weeks, I&#8217;ve finally had a chance to do that, and the moderating team and myself have been working on it.</span><span><br />
</span><span><br />
</span><span>I decided we needed a wiki because we needed to bring some structure to the forum. Right now, the forum itself is great for discussions, but not good for presenting or finding structured/organized information. It lacks the ability to present summarized information on topics. It&#8217;s not the fault of the forum, it was designed as a discussion system after all.</span><span><br />
</span><span><br />
</span><span>A wiki can fix that. A wiki will act as a repository of information. The wiki itself is not meant for discussion, rather it is meant for organization and summaries of a wide range of topics. Let me try to paint a picture for you to give an example.</span><span><br />
</span><span><br />
</span><span>Right now, many traders on</span><span>&nbsp;</span><span><acronym title="Big Mike Trading">BMT</acronym></span><span>&nbsp;</span><span>come here looking for more exotic chart types (ie: Renko, MedianRenko, SbsRenko, WickedRenko, NoGapRangeBars, etc). Sure, there is information on these chart types spread out amongst 50,000 other posts on the forum. Sure, you can do a search for &#8220;medianrenko&#8221; and find information, but you&#8217;ll get hits across hundreds of posts. It can be very difficult to find exactly what your looking for. Let&#8217;s assume you are wanting to learn more about the advantages/disadvantages of each of these chart types, where to find them, and how to install and use them. That information is spread out across dozens and dozens, maybe 100+ posts.</span><span><br />
</span><span><br />
</span><span>Enter the wiki. With the wiki, a new article can be created for each of these chart types. An article for Renko, an article for MedianRenko, SbsRenko, WickedRenko, NoGapRangeBars, and etc. Within each of these articles an overview of the chart type can be presented, including advantages and disadvantages. It can also include links to downloading the indicator (still maintaining our Elite-only hierarchy where applicable), and/or links on discussion threads on the forum.</span><span><br />
</span><span><br />
</span><span>Since each of these articles have a similar core theme of &#8220;Bar Types&#8221;, they can easily be placed in a category called &#8220;Bar Types&#8221;. This way at the bottom of each of the article pages, the Category is shown, and clicking the category shows all the other articles that are also a member of the &#8220;Bar Types&#8221; category. This makes it very easy to find all these exotic chart types very easily.</span><span><br />
</span><span><br />
</span><span>That is just one example. Hundreds more exist, and I hope your creative juices are flowing</span><span>&nbsp;</span><span><img alt="" border="0" src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/d7a2e_smile.gif" /></span><span>&nbsp;</span><span>A wiki is globally editable. That means that any member of</span><span>&nbsp;</span><span><acronym title="Big Mike Trading">BMT</acronym></span><span>&nbsp;</span><span>can create a new wiki, or edit an existing wiki that was created by someone else. A moderation queue exists to prevent any bad things from happening. The principle behind a wiki is to allow everyone to participate to improve the article and make it as good as it can be.</span><span><br />
</span><span><br />
</span><span>As articles are created within the wiki, posts on the forum that contain matching keywords (article names) will be autolinked. For example, if I were to write a post discussing</span><span>&nbsp;</span><span><a href="http://www.bigmiketrading.com/wiki/trading-wiki/Backtesting">backtesting</a></span><span>, the word backtesting is automatically linked to the wiki. When you mouse over the word, a brief description is shown, and when you click the link you are taken to the wiki article. This also helps facilitate finding information, because it is a natural extension of the posts themselves.</span><span><br />
</span><span><br />
</span><span>Here are some other key features of the wiki:</span></p>
<ul>
<li>History/version control: see the article as it existed at each point-in-time, and exact changes that were made and by whom.</li>
<li>Supports redirects. Sometimes, an article topic may be frequently described using different words, for example&nbsp;<a href="http://www.bigmiketrading.com/wiki/trading-wiki/Backtest">backtest</a>&nbsp;and backtesting. You can create a redirect so that these frequently used words redirect to the main article, just as backtest -&gt; redirects to backtesting in my example.</li>
<li>Globally editable. Find an error? Care to improve an article? It&#8217;s easy, just edit it and do fix it.</li>
<li>Watch wiki articles and receive notifications/updates if they change.</li>
<li>Autolinking: each word within a wiki that matches a keyword or phrase in the system will be autolinked to the article.</li>
<li>Searchable: you can use the same tools you use today to search posts, and they will now find wiki articles as well.</li>
<li>Discussions: you can discuss articles right from the wiki interface. The discussion feature is meant to talk about the layout or content of the article, not to talk about the topic itself. That is an important distinction.</li>
</ul>
<p><span><br />
</span><span>Guys, I look forward to your feedback on the wiki. It is a big endeavor, but I&#8217;ve never shied away from challenging projects or time consuming ones. With your help, our wiki can make the entire site exponentially better!</span><span><br />
</span><span><br />
</span><span>The wiki is public. There is no Elite and non-Elite within the wiki. However, some articles may discuss Elite-only indicators or strategies, so should that be the <a href="http://www.webfroster.com/tag/case/" class="st_tag internal_tag" rel="tag" title="Posts tagged with case">case</a> just remember to not post any attachments that you would not post out in the open. You can link to the attachments as they exist in the Elite sections of the forum, and that way only Elite members can access them.</span><span><br />
</span><span><br />
</span><span>I&#8217;ve created several videos to get you started. You can find them on the main Wiki page, which is accessible from the main navigation bar at the top of every</span><span>&nbsp;</span><span><acronym title="Big Mike Trading">BMT</acronym></span><span>&nbsp;</span><span>page.</span><span><br />
</span><span><br />
</span><span>Videos:</span><span><br />
</span><span><a href="http://www.bigmiketrading.com/wiki/trading-wiki/How-to-use-the-wiki">How-to use the wiki</a></span><span><br />
</span><span><a href="http://www.bigmiketrading.com/wiki/trading-wiki/How-to-create-a-wiki-article">How-to create a wiki article</a></span><span><br />
</span><span><a href="http://www.bigmiketrading.com/wiki/trading-wiki/How-to-attach-images-to-a-wiki-article">How-to attach images to a wiki article</a></span><span><br />
</span><span><br />
</span><span>I will be creating many more videos in the days and weeks ahead.</span><span><br />
</span><span><br />
</span><span>Please use this thread to ask questions or provide feedback on the wiki.</span><span><br />
</span><span><br />
</span><span>Thank you,</span><span><br />
</span><span>Mike</span>
<div><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2496474927178018928-4141823805826724820?l=blog.bigmiketrading.com' alt='' /></div>
<div>
<a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=CCPsM16VA-0:vYynt9OihOM:yIl2AUoC8zA"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/d7a2e_ctrlbrk?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=CCPsM16VA-0:vYynt9OihOM:V_sGLiPBpWU"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/3fb62_ctrlbrk?i=CCPsM16VA-0:vYynt9OihOM:V_sGLiPBpWU" border="0"></img></a>
</div>
<p><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/3fb62_CCPsM16VA-0" height="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/06/the-trading-wiki-is-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No shortcuts in trading</title>
		<link>http://www.webfroster.com/2010/07/06/no-shortcuts-in-trading/</link>
		<comments>http://www.webfroster.com/2010/07/06/no-shortcuts-in-trading/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 07:14:31 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/no-shortcuts-in-trading/?p=22902</guid>
		<description><![CDATA[Just a few quick words&#8230; &#160;As I was writing a bunch of replies tonight to peoples journals on the forum, one of them stuck and I wanted to share it here.
Often, I see the traders are in a hurry to make money and to be successful in trading. &#160;The simple truth is, there are no [...]]]></description>
			<content:encoded><![CDATA[<p>Just a few quick words&#8230; &nbsp;As I was writing a bunch of replies tonight to peoples journals on the forum, one of them stuck and I wanted to share it here.</p>
<p>Often, I see the traders are in a hurry to make money and to be successful in trading. &nbsp;The simple truth is, there are no shortcuts in trading. &nbsp;You cannot rush things. &nbsp;No matter how much you want to.</p>
<p>You can blow up a bridge in seconds with enough dynamite, but it can take years to build a bridge.</p>
<div><a href="http://2.bp.blogspot.com/_Q1Fb7lIO26M/TCFqtc9J1lI/AAAAAAAAAUI/0O-Kf9WGq6s/s1600/_45153808_f219bed7-9024-4e1c-af93-8885527aaa6d.jpg"><img border="0" height="225" src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/d4901__45153808_f219bed7-9024-4e1c-af93-8885527aaa6d.jpg" width="400" /></a></div>
<p>
Think of it this way. &nbsp;In very short order, you can do an enormous amount of damage to your trading account, and thus, your entire trading career. &nbsp;A few bad decisions can lead to&nbsp;devastating&nbsp;losses.</p>
<div><a href="http://3.bp.blogspot.com/_Q1Fb7lIO26M/TCFq693rBkI/AAAAAAAAAUM/ebQjNgVcyxE/s1600/ggbridging.jpg"><img border="0" height="256" src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/d4901_ggbridging.jpg" width="400" /></a></div>
<p>
Whereas building up your trading account and learning to make right decisions &#8212; this process can take years. You must do everything right or it will lead to cracks in the foundation, problems in the support infrastructure, and that will lead to disaster in the <a href="http://www.webfroster.com/tag/future/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Future">future</a>. &nbsp;There are no shortcuts.</p>
<div><a href="http://4.bp.blogspot.com/_Q1Fb7lIO26M/TCFrfH1CNqI/AAAAAAAAAUQ/ZRdjkPaCIUI/s1600/800px-Lightmatter_Golden_gate_bridge.jpg"><img border="0" height="105" src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/d4901_800px-Lightmatter_Golden_gate_bridge.jpg" width="400" /></a></div>
<p>
Mike
<div><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2496474927178018928-6018486438054241075?l=blog.bigmiketrading.com' alt='' /></div>
<div>
<a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=mR1jtpjmNls:m5Y7nmgvAvk:yIl2AUoC8zA"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/7830d_ctrlbrk?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=mR1jtpjmNls:m5Y7nmgvAvk:V_sGLiPBpWU"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/7830d_ctrlbrk?i=mR1jtpjmNls:m5Y7nmgvAvk:V_sGLiPBpWU" border="0"></img></a>
</div>
<p><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/7830d_mR1jtpjmNls" height="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/07/06/no-shortcuts-in-trading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MetaTrader 5 – Strategy Tester Released</title>
		<link>http://www.webfroster.com/2010/06/21/metatrader-5-%e2%80%93-strategy-tester-released/</link>
		<comments>http://www.webfroster.com/2010/06/21/metatrader-5-%e2%80%93-strategy-tester-released/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 07:27:36 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/metatrader-5-%e2%80%93-strategy-tester-released/?p=22372</guid>
		<description><![CDATA[Recently the beta version of MetaTrader 5 Strategy Tester was released. This program is the integral part of the MetaTrader 5 Client Terminal being designed for the purposes of testing and optimization of MQL5 Expert Advisors.
With the testing you can assess the qualities of your Expert Advisor on history data before launching it in real [...]]]></description>
			<content:encoded><![CDATA[<p>Recently the beta version of MetaTrader 5 Strategy Tester was released. This program is the integral part of the <a title="Download MetaTrader 5 Client Terminal" href="http://www.metatraderglobal.com/metatrader-5-download/">MetaTrader 5 Client Terminal</a> being designed for the purposes of testing and optimization of MQL5 Expert Advisors.</p>
<p>With the testing you can assess the qualities of your Expert Advisor on history data before launching it in real trading. Optimization allows choosing the most profitable parameters for your Expert Advisor making it a real efficient one. The Strategy Tester is an indispensable tool for developers of Expert Advisors. It is almost impossible to develop a profitable an error-free Expert Advisor without the tester.</p>
<p>As compared to the tester in MetaTrader 4, the new MetaTrader 5 Strategy Tester is a more powerful and accurate tool. It has obtained the new function of distributed optimization that will be useful in work with compound Expert Advisors. Besides that, the Strategy Tester offers efficient testing of multi-currency Expert Advisors.</p>
<p>&#8220;The Strategy Tester is the last component from the set of required tools for efficient development of Expert Advisors. This set also includes the <a title="MetaQuotes Language 5 (MQL5)" href="http://www.mql5.com/en/docs">MQL5</a>, MetaEditor, debugger and execution module in the MetaTrader 5 Client Terminal. The absence of a tester was the last obstacle to the wide possibilities provided by the MQL5 environment. We hope that together with the release of MetaTrader 5 Strategy Tester, the number of new MQL5 Expert Advisors will sharply increase&#8221;, &#8211; Stanislav Starikov, the senior developer of MetaTrader 4/5 terminals and MQL4/5, said.</p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/82/metatrader-5-client-terminal-first-screenshots-and-information/" rel="bookmark" title="Permanent Link: MetaTrader 5 Client Terminal – First Screenshots and Information">MetaTrader 5 Client Terminal &#8211; First Screenshots and Information</a></li>
<li><a href="http://www.metatrader.in/480/the-debugger-%E2%80%93-a-novelty-of-metatrader-5/" rel="bookmark" title="Permanent Link: The Debugger – a novelty of MetaTrader 5">The Debugger – a novelty of MetaTrader 5</a></li>
<li><a href="http://www.metatrader.in/351/metatrader-tips-expert-advisor-optimization/" rel="bookmark" title="Permanent Link: MetaTrader Tips – Expert Advisor Optimization">MetaTrader Tips &#8211; Expert Advisor Optimization</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/06/21/metatrader-5-%e2%80%93-strategy-tester-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>100 commission free trades to be given away from Mirus Futures</title>
		<link>http://www.webfroster.com/2010/06/15/100-commission-free-trades-to-be-given-away-from-mirus-futures/</link>
		<comments>http://www.webfroster.com/2010/06/15/100-commission-free-trades-to-be-given-away-from-mirus-futures/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 07:21:12 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Future]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/100-commission-free-trades-to-be-given-away-from-mirus-futures/?p=22084</guid>
		<description><![CDATA[As part of our ongoing 1-year anniversary on BMT, we&#8217;re giving away a ton of cool stuff. &#160;This includes one hundred commission free trades from Mirus Futures. &#160;It will breakdown as 10 free trades to 10 lucky traders.
Mirus Futures will also be holding a webinar on Big Mike Trading on Thursday, June 17th at 3:00PM [...]]]></description>
			<content:encoded><![CDATA[<p>As part of our ongoing 1-year anniversary on BMT, we&#8217;re giving away a ton of cool stuff. &nbsp;This includes one hundred commission free trades from Mirus Futures. &nbsp;It will breakdown as 10 free trades to 10 lucky traders.</p>
<p>Mirus Futures will also be holding a webinar on Big Mike Trading on Thursday, June 17th at 3:00PM Eastern Time. &nbsp;They will go over their infrastructure and service, and also include details about Zen Fire. &nbsp;There will be a Q&amp;A session at the end, so sign up to attend today!</p>
<p>To register for the webinar, go here and enter your <a href="http://www.webfroster.com/tag/email/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Email">email</a> address:<br />
<a href="http://www.bigmiketrading.com/webinars/">http://www.bigmiketrading.com/webinars/</a></p>
<p>To enter for a chance to win the commission free trades, go here and follow the directions:<br />
<a href="http://www.bigmiketrading.com/feedback-announcements/3811-big-mike-tradings-1-year-anniversary-webinars-prizes.html">http://www.bigmiketrading.com/feedback-announcements/3811-big-mike-tradings-1-year-anniversary-webinars-prizes.html</a></p>
<p>Mike
<div><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2496474927178018928-6327367422174262626?l=blog.bigmiketrading.com' alt='' /></div>
<div>
<a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=QI5iXeqeImg:ZDt2V8ue3N8:yIl2AUoC8zA"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/12841_ctrlbrk?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=QI5iXeqeImg:ZDt2V8ue3N8:V_sGLiPBpWU"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/12841_ctrlbrk?i=QI5iXeqeImg:ZDt2V8ue3N8:V_sGLiPBpWU" border="0"></img></a>
</div>
<p><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/12841_QI5iXeqeImg" height="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/06/15/100-commission-free-trades-to-be-given-away-from-mirus-futures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A word about profit targets, stops, and finding the right method</title>
		<link>http://www.webfroster.com/2010/06/15/a-word-about-profit-targets-stops-and-finding-the-right-method/</link>
		<comments>http://www.webfroster.com/2010/06/15/a-word-about-profit-targets-stops-and-finding-the-right-method/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 07:21:07 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>
		<category><![CDATA[case]]></category>
		<category><![CDATA[Future]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/a-word-about-profit-targets-stops-and-finding-the-right-method/?p=22083</guid>
		<description><![CDATA[I posted this on my forum advice thread today but wanted to copy it into the blog as well.


I primarily trade 3 targets because it fits my personality pretty well.

Target 1 is a quick winner, let&#8217;s say 6 ticks on&#160;CL. If the trade has trouble reaching target 1, then it&#8217;s a red flag for me [...]]]></description>
			<content:encoded><![CDATA[<p>I posted this on my <a href="http://www.bigmiketrading.com/psychology-money-management/1415-big-mikes-day-trading-method-advice-54.html#post45399">forum advice</a> thread today but wanted to copy it into the blog as well.</p>
<div><a href="http://1.bp.blogspot.com/_Q1Fb7lIO26M/TBV1-yYEk5I/AAAAAAAAAUE/yQlzkh5xb1s/s1600/b-erin-burnett-cnbc-49b0a3e1baba.jpg"><img border="0" height="305" src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/d151b_b-erin-burnett-cnbc-49b0a3e1baba.jpg" width="400" /></a></div>
<p>
<span>I primarily trade 3 targets because it fits my personality pretty well.</span><span><br />
</span><span><br />
</span><span>Target 1 is a quick winner, let&#8217;s say 6 ticks on</span><span>&nbsp;</span><span><acronym title="(CL) Crude Oil Futures Contract">CL</acronym></span><span>. If the trade has trouble reaching target 1, then it&#8217;s a red flag for me to look to exit the position immediately and try to minimize losses and then look to re-enter again later.</span><span><br />
</span><span><br />
</span><span>Target 2 is set based on price action so it varies a lot depending on the day and what price is doing, but I think a good average is probably around 18 ticks. I set it by looking &#8220;to the left&#8221; on my chart. Where is price likely to run into a possible problem? Target this area to get out.</span><span><br />
</span><span><br />
</span><span>Target 3 is also based on price action. It is beyond target 2. The thinking is, ok, if we didn&#8217;t encounter a problem at target 2&#8217;s level then price is actually likely to run further. I again set it based on &#8220;looking to the left&#8221;, where is the next major area of support or resistance? I would say a good average for target 3 is probably around 50 ticks.</span><span><br />
</span><span><br />
</span><span>My maximum stop is 24 ticks. Usually the stop is a bit less, but again it always depends on price action. Let&#8217;s use worst <a href="http://www.webfroster.com/tag/case/" class="st_tag internal_tag" rel="tag" title="Posts tagged with case">case</a> scenario. 3 lots @ 24 ticks = 72 ticks of risk. Using my averages above, if my targets are hit I get 6+18+50 which is 74 ticks. So let&#8217;s just call it 1:1 risk to reward after commission and a tick of slippage.</span><span><br />
</span><span><br />
</span><span>Now, my stops are rarely full stops. Usually, like I said above, if price doesn&#8217;t &#8220;pop&#8221; up to that first target almost immediately, I look to get out of the trade with a small loss usually less than 6 ticks. I will re-enter the same trade later if it still looks good. Sometimes I do get trapped and take a full stop, usually what happens is my first target is hit, but then price runs back down against me. I set my stop to the point where I would be &#8220;wrong&#8221; about the trade. If I were to get out in this scenario &#8212; target 1 was hit, so it had some momentum &#8212; but target 2 and 3 were not hit, and price is moved against me &#8212; if I were to exit here before a &#8216;full stop&#8217; then I would be doing a disservice to myself, because I would look at the signal and say &#8220;this signal is still fine, I should be in this trade&#8221;. Sometimes I do this well, sometimes I make a mistake and get out when I shouldn&#8217;t only to watch the trade not hit my stop and then turn around and run to targets. I&#8217;m not perfect</span><span>&nbsp;</span><span><img alt="" border="0" src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/d151b_smile.gif" /></span><span><br />
</span><span><br />
</span><span>Now also target 3 is not often hit. Let&#8217;s say I trade five days a week. Target 3 is hit 3 out of 5 days probably. It is those days where usually I can be done for the day in that one single trade when target 1, 2 and 3 were all hit. I set myself up for this on purpose. That is the sole reason target 3 exists for me.</span><span>&nbsp;</span><span><acronym title="(CL) Crude Oil Futures Contract">CL</acronym></span><span>&nbsp;</span><span>often moves this much in a move, and when it does, I want to be able to have the opportunity to capture that move and then be done for the day. I realize only a handful of these trades come each week, but when they come I am usually in the trade.</span><span><br />
</span><span><br />
</span><span>Trading is about probabilities, right? But it&#8217;s so much more. It&#8217;s also a constant battle with yourself. Deep down. Your desires, your demons. Every trade you put on is a calculated risk. To me, I find that I perform better by reducing the exposure. I carry a pretty good sized risk per-trade, but I do not trade often. Maybe 1-3 times a day. If I have needed to put on five or six trades in a day, usually I am having a bad day.</span><span><br />
</span><span><br />
</span><span>Hope this helps.</span><br />
<span><br />
</span><br />
<span>Mike</span>
<div><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2496474927178018928-129517465413763557?l=blog.bigmiketrading.com' alt='' /></div>
<div>
<a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=c5Wg1s8y7Bg:Ij-tlFiudWQ:yIl2AUoC8zA"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/d151b_ctrlbrk?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ctrlbrk?a=c5Wg1s8y7Bg:Ij-tlFiudWQ:V_sGLiPBpWU"><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/d151b_ctrlbrk?i=c5Wg1s8y7Bg:Ij-tlFiudWQ:V_sGLiPBpWU" border="0"></img></a>
</div>
<p><img src="http://www.webfroster.com/wp-content/plugins/wp-o-matic/cache/d151b_c5Wg1s8y7Bg" height="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/06/15/a-word-about-profit-targets-stops-and-finding-the-right-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MetaTrader 5 – Migrating from MQL4 to MQL5</title>
		<link>http://www.webfroster.com/2010/06/01/metatrader-5-%e2%80%93-migrating-from-mql4-to-mql5/</link>
		<comments>http://www.webfroster.com/2010/06/01/metatrader-5-%e2%80%93-migrating-from-mql4-to-mql5/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 07:34:13 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/metatrader-5-%e2%80%93-migrating-from-mql4-to-mql5/?p=21657</guid>
		<description><![CDATA[This article is a quick guide to MQL4 language functions, it will help you to migrate your programs from MQL4 to MQL5. For each MQL4 function (except trading functions) the description and MQL5 implementation are presented, it allows you to reduce the conversion time significantly. For convenience, the MQL4 functions are divided into groups, similar [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.metatrader.in/wp-content/uploads/HLIC/35c400f6a6aa48840392789e4716f4bc.png" alt="35c400f6a6aa48840392789e4716f4bc MetaTrader 5   Migrating from MQL4 to MQL5" width="60" height="60" />This article is a quick guide to MQL4 language functions, it will help you to migrate your programs from MQL4 to MQL5. For each MQL4 function (except trading functions) the description and MQL5 implementation are presented, it allows you to reduce the conversion time significantly. For convenience, the MQL4 functions are divided into groups, similar to MQL4 Reference.</p>
<h3>Introduction</h3>
<p>Many developers have accumulated a lot of indicators and trading strategies written in MQL4. To use them in Metatrader 5, they should be converted to MQL5. It&#8217;s not so easy to rewrite all programs in MQL5. It would be much easier to convert them, if there were a translation-reference, and better with examples.</p>
<p>In this article I would like to suggest my version of a guide to migrate from MQL4 to MQL5.</p>
<h3>Topics Covered</h3>
<ol>
<li>Chart Periods</li>
<li>Declaring Contants</li>
<li>Predefined Variables</li>
<li>Account Information</li>
<li>Array Functions</li>
<li>Checkup</li>
<li>Client Terminal</li>
<li>Common Functions</li>
<li>Conversion Functions</li>
<li>Custom Indicators</li>
<li>Date and Time Functions</li>
<li>File Functions</li>
<li>Global Variables</li>
<li>Mathematical Functions</li>
<li>Object Functions</li>
<li>String Functions</li>
<li>Technical Indicators</li>
<li>Timeseries Access</li>
<li>Chart Operations</li>
</ol>
<p><strong>Read the full article at <a href="http://www.mql5.com/en/articles/81" target="_blank">http://www.mql5.com/en/articles/81</a></strong></p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/198/custom-indicators-in-mql5/" rel="bookmark" title="Permanent Link: Custom Indicators in MQL5">Custom Indicators in MQL5</a></li>
<li><a href="http://www.metatrader.in/487/metatrader-5-how-to-call-indicators-in-mql5/" rel="bookmark" title="Permanent Link: MetaTrader 5 – How to call indicators in MQL5">MetaTrader 5 &#8211; How to call indicators in MQL5</a></li>
<li><a href="http://www.metatrader.in/204/rewrite-mql4-to-mql5-script/" rel="bookmark" title="Permanent Link: Rewrite MQL4 to MQL5 Script">Rewrite MQL4 to MQL5 Script</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/06/01/metatrader-5-%e2%80%93-migrating-from-mql4-to-mql5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MetaTrader Tips – Stop Orders</title>
		<link>http://www.webfroster.com/2010/06/01/metatrader-tips-%e2%80%93-stop-orders/</link>
		<comments>http://www.webfroster.com/2010/06/01/metatrader-tips-%e2%80%93-stop-orders/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 07:33:59 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/metatrader-tips-%e2%80%93-stop-orders/?p=21656</guid>
		<description><![CDATA[How do stop orders work in MetaTrader?
Buy stop, Sell stop and Stop loss orders do NOT guarantee an order will be filled at a certain price.  Your specified price is known as the stop price.  Once the stop price is met or exceeded, the order becomes a market order.  Market orders instruct [...]]]></description>
			<content:encoded><![CDATA[<h1>How do stop orders work in MetaTrader?</h1>
<p>Buy stop, Sell stop and Stop loss orders do NOT guarantee an order will be filled at a certain price.  Your specified price is known as the stop price.  Once the stop price is met or exceeded, the order becomes a market order.  Market orders instruct the broker to fill the order at the next available market price.</p>
<p>The execution price of a buy stop, sell stop or stop loss can vary from the stop price.  This occurs most commonly during significant market moves or gaps.  Often these price gaps are the result of economic news releases such as the US non-farm payroll report, and may also occur over a weekend when trading is closed.  Keep in mind that in a volatile market substantial losses may occur and orders may not be filled as placed.</p>
<p><span>Source: IBFX</span></p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/400/metatrader-tips-placing-pending-orders-using-charts/" rel="bookmark" title="Permanent Link: MetaTrader Tips – Placing Pending Orders Using Charts">MetaTrader Tips &#8211; Placing Pending Orders Using Charts</a></li>
<li><a href="http://www.metatrader.in/379/metatrader-tips-modify-stop-loss-andor-take-profit-orders/" rel="bookmark" title="Permanent Link: MetaTrader Tips – Modify Stop Loss and/or Take Profit Orders">MetaTrader Tips &#8211; Modify Stop Loss and/or Take Profit Orders</a></li>
<li><a href="http://www.metatrader.in/443/metatrader-tips-understanding-metatrader-charts/" rel="bookmark" title="Permanent Link: MetaTrader Tips – Understanding MetaTrader Charts">MetaTrader Tips &#8211; Understanding MetaTrader Charts</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/06/01/metatrader-tips-%e2%80%93-stop-orders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download MetaTrader 5</title>
		<link>http://www.webfroster.com/2010/06/01/download-metatrader-5/</link>
		<comments>http://www.webfroster.com/2010/06/01/download-metatrader-5/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 07:33:22 +0000</pubDate>
		<dc:creator>berny</dc:creator>
				<category><![CDATA[Trading]]></category>

		<guid isPermaLink="false">http://www.webfroster.com/download-metatrader-5/?p=21655</guid>
		<description><![CDATA[
MetaTrader 5 Beta Testing
MetaTrader 5 is at the stage of public beta testing.
Please join the testing,  and help MetaQuotes to improve the new client terminal for Forex, CFD and Futures, as well as equity markets.
To download MetaTrader 5, please visit http://www.metatraderglobal.com/metatrader-5-download/
To read more about the MetaTrader 5 beta, please visit http://www.metatraderglobal.com/183/public-beta-testing-of-the-metatrader-5-terminal/
Related posts:

MetaTrader 5 Beta [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.metatrader.in/wp-content/uploads/HLIC/746becd2d0692b310ce52cf5e699ebe5.jpg" alt="746becd2d0692b310ce52cf5e699ebe5 Download MetaTrader 5" width="300" height="233" /><img src="http://www.metatrader.in/wp-content/uploads/HLIC/e002d68171e184eb4e47515a30f4fb83.gif" alt="e002d68171e184eb4e47515a30f4fb83 Download MetaTrader 5" width="277" height="65" /></p>
<h1>MetaTrader 5 Beta Testing</h1>
<p>MetaTrader 5 is at the stage of public beta testing.</p>
<p>Please join the testing,  and help MetaQuotes to improve the new client terminal for Forex, CFD and Futures, as well as equity markets.</p>
<p>To download MetaTrader 5, please visit <a href="http://www.metatraderglobal.com/metatrader-5-download/">http://www.metatraderglobal.com/metatrader-5-download/</a></p>
<p>To read more about the MetaTrader 5 beta, please visit <a href="http://www.metatrader.in./183/public-beta-testing-of-the-metatrader-5-terminal/">http://www.metatraderglobal.com/183/public-beta-testing-of-the-metatrader-5-terminal/</a></p>
<p>Related posts:
<ol>
<li><a href="http://www.metatrader.in/177/metatrader-5-beta-download-link/" rel="bookmark" title="Permanent Link: MetaTrader 5 Beta Download Link">MetaTrader 5 Beta Download Link</a></li>
<li><a href="http://www.metatrader.in/147/public-beta-testing-of-the-metatrader-5-terminal/" rel="bookmark" title="Permanent Link: Public Beta Testing of the MetaTrader 5 Terminal">Public Beta Testing of the MetaTrader 5 Terminal</a></li>
<li><a href="http://www.metatrader.in/152/first-broker-to-use-metatrader-5-alpari-russia/" rel="bookmark" title="Permanent Link: First broker to use MetaTrader 5 – Alpari Russia">First broker to use MetaTrader 5 &#8211; Alpari Russia</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webfroster.com/2010/06/01/download-metatrader-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
