<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5321694897193468857</id><updated>2011-04-21T13:19:48.634-07:00</updated><category term='expert advisor forex'/><category term='expert advisor'/><category term='live trading expert advisor'/><category term='forex expert advisor'/><category term='broker'/><category term='version'/><category term='forex expert advisor MBTraing'/><category term='MBTrading'/><title type='text'>Expert advisor developer's blog</title><subtitle type='html'>This blog describes the efforts of developing a profitable expert advisor.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-4547558086339881101</id><published>2008-12-01T14:47:00.000-08:00</published><updated>2008-12-01T14:53:27.600-08:00</updated><title type='text'>Version 8</title><content type='html'>After watching my expert advisor in live mode, I had a few thoughts about modifying the take profit calculation, whick became the 8'th version. &lt;div&gt;a report is available &lt;a href="http://http//www.forex-expert-builders.com/myp8_BT.htm"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;An analysis of the results in terms of monthly profit factor and amount of trades is given:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_ZV3wYZfd9U8/STRqbzb2vNI/AAAAAAAAEO8/QDYZPWPlVxI/s1600-h/image002.gif"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 218px;" src="http://4.bp.blogspot.com/_ZV3wYZfd9U8/STRqbzb2vNI/AAAAAAAAEO8/QDYZPWPlVxI/s320/image002.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5274958089453747410" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;img src="http://1.bp.blogspot.com/_ZV3wYZfd9U8/STRqQxrjIdI/AAAAAAAAEO0/vh-H4myzCu0/s320/image001.gif" style="text-align: center;float: right; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 10px; cursor: pointer; width: 320px; height: 218px; " border="0" alt="" id="BLOGGER_PHOTO_ID_5274957900004139474" /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-4547558086339881101?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/4547558086339881101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=4547558086339881101&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/4547558086339881101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/4547558086339881101'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/12/version-8.html' title='Version 8'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_ZV3wYZfd9U8/STRqbzb2vNI/AAAAAAAAEO8/QDYZPWPlVxI/s72-c/image002.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-6476188629154907356</id><published>2008-11-28T16:48:00.000-08:00</published><updated>2008-11-28T16:56:01.359-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='expert advisor forex'/><title type='text'>Second week summary</title><content type='html'>This week the opened trade from last week was closed  in profit, and another trade was opened with low risk. The low risk mechanism is used to detect low risk situations, and then the expert advisors uses the low risk in the money management considerations. The low risk trade is still open.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-6476188629154907356?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/6476188629154907356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=6476188629154907356&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/6476188629154907356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/6476188629154907356'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/11/second-week-summary.html' title='Second week summary'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-1344347831782087093</id><published>2008-11-21T13:51:00.000-08:00</published><updated>2008-11-21T13:55:54.158-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='live trading expert advisor'/><title type='text'>First live week summary</title><content type='html'>Due to money transfers the expert advisor started only on Wedensday night. It started with two positive trades, which lasted about 36 hours. Afterwards another trade was opend.&lt;div&gt;The trading week is over.&lt;/div&gt;&lt;div&gt;Initial deposit: 21K$.&lt;/div&gt;&lt;div&gt;Status: Balance=23.3K$, equity= 24K$.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-1344347831782087093?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/1344347831782087093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=1344347831782087093&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/1344347831782087093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/1344347831782087093'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/11/first-live-week-summary.html' title='First live week summary'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-7053861233807592018</id><published>2008-11-09T10:47:00.000-08:00</published><updated>2008-11-09T12:23:22.896-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forex expert advisor'/><title type='text'>New version - 7</title><content type='html'>While I am getting ready to the live activation of my expert advisor I performed a few last (so I thought) optimizations, and a settings mistake led me to different settings with completely different results. The setting result was large targets. Since my expert advisor has special logic for closing the trade it compensates in cases of targets that are too far.&lt;div&gt;Since the change is far targets, I understood that trailing stop loss is  essential. That's how version 7 was born.&lt;/div&gt;&lt;div&gt;The new results are available &lt;a href="http://www.forex-expert-builders.com/blog/MYP7_BT.htm"&gt;here&lt;/a&gt;. Those results are remarkable, and I wish it will stay like that. &lt;/div&gt;&lt;div&gt;Since I need more time to fine tune the settings, next week I will start live trading.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-7053861233807592018?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/7053861233807592018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=7053861233807592018&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7053861233807592018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7053861233807592018'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/11/new-version-7.html' title='New version - 7'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-8010191538376710041</id><published>2008-11-04T15:34:00.000-08:00</published><updated>2008-11-04T15:47:09.567-08:00</updated><title type='text'>Last descisions before moving to live trading</title><content type='html'>&lt;div style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 3px; PADDING-LEFT: 3px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 3px; MARGIN: 0px; FONT: 100% Georgia, serif; WIDTH: auto; PADDING-TOP: 3px; TEXT-ALIGN: left; BORDER-RIGHT-WIDTH: 0px"&gt;I  decided that I am going to run my expert advisor in live mode to trade  automatically, without MBTrading. Why? I found a bug related to MBTraing API and  it looks suspicious. If I, a simple API user, found a bug, it might be a sign  for the future to come. I have a problem with Metatrader brokers (for  example &lt;a href="http://www.forexfactory.com/showthread.php?t=70582"&gt;read it&lt;/a&gt;), but  since my expert advisor has long targets it will be very difficult to bypass the  market rates in order to make me lose.  &lt;div&gt;Also I chose an American broker since there are a few new limitations that  protect the customers. I added a Skype dll to my expert advisor that will SMS me  each time a trade was made or closed. I added global variables support in order  to recover from shutdowns. &lt;/div&gt; &lt;div&gt;That's it. I opened an account at the chosen broker, and I am going to  start trading one week from now.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-8010191538376710041?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/8010191538376710041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=8010191538376710041&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/8010191538376710041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/8010191538376710041'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/11/last-descisions-before-moving-to-live.html' title='Last descisions before moving to live trading'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-8683983639179504280</id><published>2008-10-31T07:02:00.000-07:00</published><updated>2008-10-31T07:07:18.461-07:00</updated><title type='text'>Launching in ten days...</title><content type='html'>It appears that there is a bug with MBTrading demo accounts, which was related to my problem. They SDK support guy told me how to bypass it and it works. The robot is working. I added a Skype plug-in to my robot, in order to send me SMS every time an order is closed, or being opened.&lt;div&gt;I decided to use Alpari at the moment as my signal supplier, and an optimization is being run in order to find the best set.&lt;/div&gt;&lt;div&gt;Next week will be used to final tests and checks, and afterwards the robot will be launched for the first time.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-8683983639179504280?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/8683983639179504280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=8683983639179504280&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/8683983639179504280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/8683983639179504280'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/launching-in-ten-days.html' title='Launching in ten days...'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-3959554549156776286</id><published>2008-10-29T15:13:00.000-07:00</published><updated>2008-10-29T15:20:54.559-07:00</updated><title type='text'>Metatrader platform difficulties</title><content type='html'>In the last 3 days I was busy debugging the MBTrading robot application. I had a problem related to closing the trades, and I am still in touch with their support team. Except that, the robot is ready.&lt;div&gt;I noticed a problem related to back test with Metatrader platforms - The Metatrader platform from Metaquotes is very fast, and very comfort to back test, unlike the Alpari platform. I compared them and Alpari is much slower. The second problem is that Alpari has different performance with the same data.&lt;/div&gt;&lt;div&gt;I need a signal supplier which is reliable, and it's platform will be able to conduct my optimizations rapidly. I am examining different brokers in order to find a good signal supplier for my robot.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-3959554549156776286?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/3959554549156776286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=3959554549156776286&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/3959554549156776286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/3959554549156776286'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/metatrader-platform-difficulties.html' title='Metatrader platform difficulties'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-1198382152297239080</id><published>2008-10-22T14:46:00.001-07:00</published><updated>2008-10-22T14:57:31.970-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='version'/><category scheme='http://www.blogger.com/atom/ns#' term='expert advisor'/><title type='text'>Version 6</title><content type='html'>This week started with two successful trades, and no more. While observing the expert advisor's performance, an idea for a filter came to me, and I decided to check it out. It seems that the new version (from now on it will be version 6) makes the same net profit, with half the trades, and with half the drawdown as well. The back test's results are available &lt;a href="http://www.forex-expert-builders.com/blog/StrategyTester_MYP6.htm"&gt;here&lt;/a&gt;.&lt;div&gt;The robot that trades with MBTrading is robust to logic changes, and will continue working with any version that I will choose. So, it seems that we will continue with version 6.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-1198382152297239080?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/1198382152297239080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=1198382152297239080&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/1198382152297239080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/1198382152297239080'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/version-6.html' title='Version 6'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-6639916499763970893</id><published>2008-10-17T15:49:00.000-07:00</published><updated>2008-10-17T15:56:12.463-07:00</updated><title type='text'>Week's summary</title><content type='html'>The robot software (which trades via MBTrading) worked well today, made 2 trades according to the expert advisor's orders. The software is stable and simple.&lt;div&gt;I had a problem this week that the forward testing of version 5 did not match exactly the back test's. I suspected that since I ran two different versions in parallel it might be the reason. So since yesterday only version 5 is being tested on that platform, and the results match at the moment - there were 3 trades since then.&lt;/div&gt;&lt;div&gt;What's next? I have to make a small addition to the expert advisor that will store global variables in case of Metatrdare platform shutdown. I will continue the robot's testing, and if it will be fine, maybe I'll start live trading two weeks from now.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-6639916499763970893?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/6639916499763970893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=6639916499763970893&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/6639916499763970893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/6639916499763970893'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/weeks-summary.html' title='Week&apos;s summary'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-3794997917929551989</id><published>2008-10-16T12:26:00.000-07:00</published><updated>2008-10-16T12:32:35.109-07:00</updated><title type='text'>Progress report</title><content type='html'>The robot started working, and it's stable. I had a few trades executed, but it needed a manual confirmation. I fixed it. I will have to check carefully the orders execution, and compare it to my expert advisor, since MBTrading works differently. In order to make a buy order, you have to place a position, and against it an open order with the limits. It's more complicated, and therefore it requires extra care.&lt;div&gt;I noticed that with the Alpari platofm, the forward testing did not match exactly the back test's results of this week. I suspect that since I ran versions 4 and 5 together on the same platform might be the cause. I left only version 5 for the forward testing.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-3794997917929551989?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/3794997917929551989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=3794997917929551989&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/3794997917929551989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/3794997917929551989'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/progress-report.html' title='Progress report'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-4799645199246671514</id><published>2008-10-13T15:51:00.000-07:00</published><updated>2008-10-13T16:01:28.459-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forex expert advisor MBTraing'/><title type='text'>Robot in demo mode</title><content type='html'>Well, the settings of the new version is set for forward test in this week. I still need to check the risks again, since it was changed due to logic changes. The back test of the new version is available &lt;a href="http://www.forex-expert-builders.com/blog/StrategyTester_MYP5.htm"&gt;here&lt;/a&gt;. The results are much better: the P.F changed to 2.31, 77% profit trades, with a little bit smaller drawdown.&lt;div&gt;I finished fixing the robot application. This application embeds the MBTrading API, and receives orders from the Metatrader expert advisor. I used a DLL I wrote in the past for communication between the two different applications.&lt;/div&gt;&lt;div&gt;Right now two versions are in forward testing: MYP4 and the last one - MYP5.&lt;/div&gt;&lt;div&gt;The robot is triggered from MYP5.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-4799645199246671514?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/4799645199246671514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=4799645199246671514&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/4799645199246671514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/4799645199246671514'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/robot-in-demo-mode.html' title='Robot in demo mode'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-9180923359575778700</id><published>2008-10-11T14:14:00.001-07:00</published><updated>2008-10-11T14:36:02.466-07:00</updated><title type='text'>New version - MYP5</title><content type='html'>After watching my expert advisor in live, I tried a few ideas to minimize the loss trades. I checked a mechanism of rescue, when the trade is profitable, to set the stop loss to a profitable level. This idea did not achieve better results. Afterwards I tried a few conventional filters, which did not do any better. &lt;div&gt;At last,  I had an idea for a filter, with three levels:&lt;/div&gt;&lt;div&gt;1. High risk trades&lt;/div&gt;&lt;div&gt;2. Low risk trades&lt;/div&gt;&lt;div&gt;3. No trading at all&lt;/div&gt;&lt;div&gt;I tried it, and it had better results.&lt;/div&gt;&lt;div&gt;The results are for the period 19/9/07-18/9/08 GBPJPY H1:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table style="text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Profit&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;P.F&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Drawdown (%)&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Trades&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;19697&lt;/td&gt;&lt;td style="text-align: center;"&gt;1.96&lt;/td&gt;&lt;td style="text-align: center;"&gt;26.95&lt;/td&gt;&lt;td style="text-align: center;"&gt;128&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;23061&lt;/td&gt;&lt;td style="text-align: center;"&gt;2.21&lt;/td&gt;&lt;td style="text-align: center;"&gt;26.67&lt;/td&gt;&lt;td style="text-align: center;"&gt;109&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;23660&lt;/td&gt;&lt;td style="text-align: center;"&gt;2.83&lt;/td&gt;&lt;td style="text-align: center;"&gt;26.17&lt;/td&gt;&lt;td style="text-align: center;"&gt;87&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The risk is as it was the same (4% for the first and 6% for the second) with a small modification: the filter determines the risk of the first trade: 4% is considered as the high risk and 2% for the low risk.&lt;/div&gt;&lt;div&gt;What's next? I am going to continue with the third result and make a small risk optimization around that setting since the drawdown settings is changed.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-9180923359575778700?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/9180923359575778700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=9180923359575778700&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/9180923359575778700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/9180923359575778700'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/new-version-myp5.html' title='New version - MYP5'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-2611179482113523200</id><published>2008-10-10T05:47:00.000-07:00</published><updated>2008-10-10T05:57:29.568-07:00</updated><title type='text'>Daily progress report</title><content type='html'>I have opened two MBTrading accounts, and linked them together. By the way, they have a great support. I have the skeleton of my robot from a project I made in the past. This skeleton receives commands from the Metatrader, and executes them with MBTrading.&lt;div&gt;A few enhancements should be made: two accounts instead of one, and to integrate the MBTrading communication module into the expert advisor.&lt;/div&gt;&lt;div&gt;The forward testing continues, and it seems fine. It's almost ten days bug-free, and the back-test matches the forward testing.&lt;/div&gt;&lt;div&gt;I am trying to improve the expert advisor by adding a rescue mechanism for profitable trades that end up at the stop loss. It is in the middle of optimizing, but it seems worse.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-2611179482113523200?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/2611179482113523200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=2611179482113523200&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/2611179482113523200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/2611179482113523200'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/daily-progress-report.html' title='Daily progress report'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-8862256517695768374</id><published>2008-10-08T04:59:00.000-07:00</published><updated>2008-10-08T05:47:33.448-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MBTrading'/><title type='text'>Forward testing - updtae</title><content type='html'>The expert advisor keeps working, and its results match completely the back test. I am starting preparing to live trading.&lt;div&gt;What does it mean? Since I do not know a reliable Metatrader broker, which is very important, I am going to work with MBTrading.  This company is actually a gateway, and has no interest in your transactions. &lt;/div&gt;&lt;div&gt;So, MBTrading offers an API to trade, and I am going to develop a small application that will receive trade signals from the Metatrader, and execute them with MBTrading.&lt;/div&gt;&lt;div&gt;There are a few disadvantages with that method:&lt;/div&gt;&lt;div&gt;1. MBTrading does not allow opposite trades (longs and shorts at the same time), but I may open a sub account for this purpose.&lt;/div&gt;&lt;div&gt;2. The small application requires QA.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-8862256517695768374?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/8862256517695768374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=8862256517695768374&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/8862256517695768374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/8862256517695768374'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/forward-testing-updtae.html' title='Forward testing - updtae'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-7681264537908008831</id><published>2008-10-06T11:13:00.001-07:00</published><updated>2008-10-06T11:15:03.536-07:00</updated><title type='text'>Second week forward testing</title><content type='html'>The week started with 6 winning trades :)&lt;div&gt;The most important thing is that it matches the back test of today(until now), and no bugs found.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-7681264537908008831?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/7681264537908008831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=7681264537908008831&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7681264537908008831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7681264537908008831'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/second-week-forward-testing.html' title='Second week forward testing'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-5746233521009580397</id><published>2008-10-03T14:49:00.000-07:00</published><updated>2008-10-03T14:57:29.621-07:00</updated><title type='text'>First forward test week</title><content type='html'>This week there were two bugs, which were solved. Due to the forward testing they were discovered. I can't compare the results to the week's back test because of the bugs. Consider the fact that the original platform has a few disconnections per day which affect the results, and forced me to change the broker, I will have to wait to the next weekend to compare the results to the back test hopefully with no bugs, and ready to start live.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-5746233521009580397?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/5746233521009580397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=5746233521009580397&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/5746233521009580397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/5746233521009580397'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/first-forward-test-week.html' title='First forward test week'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-7804753757300573627</id><published>2008-10-01T13:09:00.001-07:00</published><updated>2008-10-01T13:12:16.615-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='broker'/><title type='text'>Day's summary</title><content type='html'>Today the expert advisor traded according to the logic, and won one trade. Since I am going migrate to other broker (Alpari instead of OLD), I check the performance with the Alpari's data and it seems fine. No bug found today, and it is a good sign. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-7804753757300573627?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/7804753757300573627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=7804753757300573627&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7804753757300573627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7804753757300573627'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/10/blog-post.html' title='Day&apos;s summary'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-7553408560188240598</id><published>2008-09-30T14:12:00.000-07:00</published><updated>2008-09-30T14:22:49.660-07:00</updated><title type='text'>Forward tesing - update</title><content type='html'>Today the expert advisor won one trade in forward testing.&lt;div&gt;Now it should have open a new trade, but the connection is lost to the server. I checked Alpari's server, and it's fine.  Since I intend to trade the strategy on a real account, I should do it with another broker, and make the fine tuning of the setup before. I experienced troubles with different Metatrader brokers in the past, and that's the reason that I will probably work with a non-Metatrader broker company. I tried "MBTrading", and they were fine so far.&lt;/div&gt;&lt;div&gt;What's left before engaging the real account? First, I should insert the state logic into the expert advisor. It means that if the Metatrader shuts down, the expert advisor will be able to recover. Second, I have to continue the forward testing at least for the next week and a half.&lt;/div&gt;&lt;div&gt;In the operational form, the Metatrader will be the signal supplier to manual trading, or for the application that I will have to develop as well, which will be based on the broker's API.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-7553408560188240598?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/7553408560188240598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=7553408560188240598&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7553408560188240598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7553408560188240598'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/forward-tesing-update.html' title='Forward tesing - update'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-7354465064815684510</id><published>2008-09-30T03:54:00.000-07:00</published><updated>2008-09-30T03:55:11.744-07:00</updated><title type='text'>Second bug fix - version 4</title><content type='html'>On forward testing a bug related to long positions found. I fixed it and checked the performance - it got a little bit better. The new version will be MYP4.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-7354465064815684510?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/7354465064815684510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=7354465064815684510&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7354465064815684510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7354465064815684510'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/second-bug-fix-version-4.html' title='Second bug fix - version 4'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-4632975327887277656</id><published>2008-09-29T10:36:00.000-07:00</published><updated>2008-09-29T10:38:50.981-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='expert advisor'/><title type='text'>First win</title><content type='html'>After the bug fix yesterday, the expert advisor traded on a demo acoount two winning trades today. I will continue the forward testing, and compare it to the back test of this week, at the weekend in order to verify that it behaves the same.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-4632975327887277656?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/4632975327887277656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=4632975327887277656&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/4632975327887277656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/4632975327887277656'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/first-win.html' title='First win'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-7591030602962571134</id><published>2008-09-28T15:34:00.001-07:00</published><updated>2008-09-28T15:37:57.682-07:00</updated><title type='text'>First bug fix</title><content type='html'>Well, I found the annoying bug from Friday night. It was a simple rounding problem. If the takeprofit or stoploss are not rounded, the Metatrader returns an error, which wasn't in back test.&lt;div&gt;I verified also that the performance didn't change. It shouldn't but we must know it for sure. Since there was a softwrae change, it will be named "MYP3".&lt;/div&gt;&lt;div&gt;The forward testing continues with thta version.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-7591030602962571134?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/7591030602962571134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=7591030602962571134&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7591030602962571134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/7591030602962571134'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/first-bug-fix.html' title='First bug fix'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-5937559653623248593</id><published>2008-09-27T11:45:00.000-07:00</published><updated>2008-09-27T14:17:35.674-07:00</updated><title type='text'>Second version - MYP2</title><content type='html'>The second round enhancement from the last post was added to the expert advisor. This version will be "MYP2" (The first version is MYP1).  The results are better! The best result in my opinion is profit factor of 1.91, 155 trades, and draw down of 15% with risk of 2% for the first trade, and 3% for the second round. The profit was 11290$.&lt;div&gt;The number of trades raised in 50%, the profit factor improved.&lt;/div&gt;&lt;div&gt;Let's define risk2 as the second round risk.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Since I am interested in higher profit, I checked the setup with different risks, with the same risks ratio: &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;table style="text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Risk&lt;/span&gt;&lt;/td&gt;&lt;td style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Risk2&lt;/span&gt;&lt;/td&gt;&lt;td style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Profit&lt;/span&gt;&lt;/td&gt;&lt;td style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;PF&lt;/span&gt;&lt;/td&gt;&lt;td style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Trades&lt;/span&gt;&lt;/td&gt;&lt;td style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Drawdown&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;2&lt;/td&gt;&lt;td style="text-align: center;"&gt;3&lt;/td&gt;&lt;td style="text-align: center;"&gt;11290&lt;/td&gt;&lt;td style="text-align: center;"&gt;1.91&lt;/td&gt;&lt;td style="text-align: center;"&gt;155&lt;/td&gt;&lt;td style="text-align: center;"&gt;15.10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;4&lt;/td&gt;&lt;td style="text-align: center;"&gt;6&lt;/td&gt;&lt;td style="text-align: center;"&gt;31930&lt;/td&gt;&lt;td style="text-align: center;"&gt;1.83&lt;/td&gt;&lt;td style="text-align: center;"&gt;155&lt;/td&gt;&lt;td style="text-align: center;"&gt;30&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;5&lt;/td&gt;&lt;td style="text-align: center;"&gt;7.5&lt;/td&gt;&lt;td style="text-align: center;"&gt;46142&lt;/td&gt;&lt;td style="text-align: center;"&gt;1.8&lt;/td&gt;&lt;td style="text-align: center;"&gt;155&lt;/td&gt;&lt;td style="text-align: center;"&gt;35.12&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;The back test short report is available &lt;a href="http://www.forex-expert-builders.com/blog/StrategyTester_risk_4_risk1_6_short.htm"&gt;here&lt;/a&gt; for the setup of risk=4%, risk2= 6%.&lt;/div&gt;&lt;div style="text-align: left;"&gt;The actual risk of each setup is the sum of the two risks.&lt;/div&gt;&lt;div style="text-align: left;"&gt;MYP2 yields higher profit factor, lower draw down, and much trades compared to MYP1. For example, let's have a look at the results of the setup risk=5%, risk1= 7.5%. It is equal to a risk of 12.5%. The same profit is &lt;a href="http://www.forex-expert-builders.com/blog/OptimizationReport_MM.htm"&gt;achieved&lt;/a&gt; with the first version (MYP1) with risk of 11%.  The difference is that the drawdown is lower (35% vs. 43%), and the profit factor is higher (1.8 vs. 1.45). &lt;/div&gt;&lt;div style="text-align: left;"&gt;The conclusion is that MYP2 is better, and it is going to be my main effort right now.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-5937559653623248593?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/5937559653623248593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=5937559653623248593&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/5937559653623248593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/5937559653623248593'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/second-version-myp2.html' title='Second version - MYP2'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-4933678477235221226</id><published>2008-09-26T15:35:00.000-07:00</published><updated>2008-09-26T15:44:05.111-07:00</updated><title type='text'>Forward test first problem</title><content type='html'>I started the expert advisor in real time yesterday, and it missed a trade which exists in back test of that day. Right now I don't know why it happened. Full logging mechanism was embedded, and I am going to understand the problem on Monday morning since the conditions for trade are still relevant. &lt;div&gt;I am going to continue developing the strategy in paralel. In order ro enlarge the amount of trades, and the profit of course, I am going to add trades to a successful move. Since the winning trads statistics is excellent (around 82%) it might be a good idea.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-4933678477235221226?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/4933678477235221226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=4933678477235221226&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/4933678477235221226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/4933678477235221226'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/forward-test-first-problem.html' title='Forward test first problem'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-5531885800567983998</id><published>2008-09-25T14:13:00.000-07:00</published><updated>2008-09-25T14:19:37.905-07:00</updated><title type='text'>Forward test</title><content type='html'>The expert advisor is being tested, with 5% risk. &lt;div&gt;My goal is to verify two things:&lt;/div&gt;&lt;div&gt;1. The statistics of the farward testing is similiar to the back test's.&lt;/div&gt;&lt;div&gt;2. The expert advisor works fine in real-time.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Of course it's a demo account. &lt;/div&gt;&lt;div&gt;There is another optimization process running in the background, whick should find the best setup for 12% risk. I do that since I intend to trade in the future with that level of risk.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-5531885800567983998?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/5531885800567983998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=5531885800567983998&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/5531885800567983998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/5531885800567983998'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/forward-test.html' title='Forward test'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-6925133193649952872</id><published>2008-09-25T09:24:00.000-07:00</published><updated>2008-09-25T14:12:09.031-07:00</updated><title type='text'>Money management</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style="color:black;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;One more thing before launching the expert advisor in real-time mode, is determining the risk. The risk defined as the maximal portion (in percents) of the account that will be in japery every trade. Actually, the stop loss is derived from it. &lt;/span&gt;&lt;a href="http://www.forex-expert-builders.com/blog/OptimizationReport_MM.htm"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Here&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; we can see the back test parametesr vs. the risk. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="color:black;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;I noticed that the performance changed a little bit, and it might be due to the model type, which is based on tick modeling with a random ingredient.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style=""&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Since I am &lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span style=";color:black;"&gt;&lt;span class="Apple-style-span" style=""&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;interested &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style=""&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;in a high risk, I might perform one more optimization for higher risk (the profit factor changes as the risk changed). &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-6925133193649952872?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/6925133193649952872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=6925133193649952872&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/6925133193649952872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/6925133193649952872'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/money-management.html' title='Money management'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-2286800439787600202</id><published>2008-09-24T15:36:00.000-07:00</published><updated>2008-09-24T15:57:19.317-07:00</updated><title type='text'>Checking the statistics</title><content type='html'>Until now the results seem pretty good. The next thing we have to do is to check if the statistics is reliable or not. One way to do it is to perform a back test on a same period of time. Since the optimization time was 19/9/2007-19/9/2008, I decided to check how my strategy handled the period 19/9/2006-18/9/2007.&lt;div&gt;The results are available &lt;a href="http://www.forex-expert-builders.com/blog/MYP_BT_check_stat.htm"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;div&gt;It did half the trades (50 instead of 108), with a higher profit factor (2.02 instead of 1.64). Since there were less trades, I expect a higher profit factor. The drawdown is the same (around 16%), the portion of profitable trades is the same(72%) , and the average winning trades vs. losing trades is a little bit better (4:1 instead of 3:1), which is expected since there were less trades.&lt;/div&gt;&lt;div&gt;In conclusion it seems that the statistics remains through out that period, and it is a good indicator that it will carry on in the same way in the future.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-2286800439787600202?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/2286800439787600202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=2286800439787600202&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/2286800439787600202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/2286800439787600202'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/checking-statistics.html' title='Checking the statistics'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-6529779998981595411</id><published>2008-09-24T09:07:00.001-07:00</published><updated>2008-09-24T15:20:31.496-07:00</updated><title type='text'>Last optimization</title><content type='html'>I ran one more optimization in order to verify that there are no better setups for my expert advisor. The &lt;a href="http://www.forex-expert-builders.com/blog/OptimizationReport3_.htm"&gt;results&lt;/a&gt; were almost the same, and it indicates that we are through with the optimizations at this stage.&lt;div&gt;The chosen setup's report summary may be viewed &lt;a href="http://www.forex-expert-builders.com/blog/MYP_BT.htm"&gt;here&lt;/a&gt;. First, the trades are scattered along the time axis uniformly. This is a good sign that shows us that the strategy is not depended on rare occasions. Second, the report's parameters are positive: average of 3 winning trades against 1 average loss,  71.3% winning trades, and the amount of short and long positions are in the same scale.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-6529779998981595411?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/6529779998981595411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=6529779998981595411&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/6529779998981595411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/6529779998981595411'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/last-optimization.html' title='Last optimization'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-1847665188073357295</id><published>2008-09-23T14:10:00.000-07:00</published><updated>2008-09-23T14:48:18.276-07:00</updated><title type='text'>Second optimization</title><content type='html'>&lt;p class="MsoNormal"&gt;After the first optimization, I had to make a finer optimization. In order to make an efficient optimization, the first one covered a big range of options, with a big step between them, and the finer optimizations should sharpen the results around the most promising results of the last optimization.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The starting point of the second optimization was the one that was noted in the last post.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The risk stays the same, as well as the testing period.&lt;/p&gt;&lt;p class="MsoNormal"&gt;Right now the best result is 17149$ profit, PF 1.64, 108 trades and DD of 16.58%.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Less trades, but the results are better in all other means. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;It seems that I will have to continue the optimization process, since a few variables reached their limit in the best result.&lt;/p&gt;&lt;p class="MsoNormal"&gt;The optimization report is available &lt;a href="http://www.forex-expert-builders.com/blog/Optimization2.htm"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-1847665188073357295?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/1847665188073357295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=1847665188073357295&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/1847665188073357295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/1847665188073357295'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/second-optimization.html' title='Second optimization'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-1721949413046480512</id><published>2008-09-20T16:15:00.000-07:00</published><updated>2008-09-20T16:25:04.368-07:00</updated><title type='text'>First results</title><content type='html'>&lt;div&gt;The first optimization with 90% accuracy yielded pretty good results. I have to make a few finer optimizations in order to focus.&lt;/div&gt;&lt;div&gt;The currency is GBPJPY, H1.&lt;/div&gt;&lt;div&gt;Initial account - 10,000$.&lt;/div&gt;&lt;div&gt;I tested it on the last 12 months, with 5% risk per trade.&lt;/div&gt;&lt;div&gt;The best results are 11,240 $ profit, PF (profit factor) 1.5, DD (drawdown) 22.3%, and 114 trades.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Right now I have to continue the optimization with a finer search, in order to find a set with bigger PF, and smaller DD.&lt;/div&gt;&lt;div&gt;I am pleased with the amount of trades.&lt;/div&gt;&lt;div&gt;I also backtested the winning results to verify that the trades are uniformly scatterd on the time axis - and it was fine.&lt;/div&gt;&lt;div&gt;Bac tets results will be in one of the next posts.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_ZV3wYZfd9U8/SNWEwlG82RI/AAAAAAAAC7s/YlCh0Bd-Muk/s1600-h/OptimizationReport.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5248246910900033810" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_ZV3wYZfd9U8/SNWEwlG82RI/AAAAAAAAC7s/YlCh0Bd-Muk/s320/OptimizationReport.gif" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-1721949413046480512?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/1721949413046480512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=1721949413046480512&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/1721949413046480512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/1721949413046480512'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/first-results.html' title='First results'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_ZV3wYZfd9U8/SNWEwlG82RI/AAAAAAAAC7s/YlCh0Bd-Muk/s72-c/OptimizationReport.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-8512708999271744547</id><published>2008-09-19T04:04:00.001-07:00</published><updated>2008-09-19T16:22:28.312-07:00</updated><title type='text'>First optimization</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Georgia;color:black;"&gt;Last week I've started developing my expert advisor. Since I am experienced with that issue, I decided to start with a simple idea I had in mind.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Georgia;color:black;"&gt;A few principles led me in the way:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Georgia;color:black;"&gt;1. The strategy may open only one long trade and one short trade at the same time.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Georgia;color:black;"&gt;2. Money management – the ability to define the account’s portion that may be in risk in one trade.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Georgia;color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Georgia;color:black;"&gt;After a few on going modifications I had positive results in back test. But, I have mismatch errors in my data, and it’s not 90% accurate. I downloaded data from “Metatrader” data center, and I have to start over.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Georgia;color:black;"&gt;A new optimization process with the new data…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-8512708999271744547?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/8512708999271744547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=8512708999271744547&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/8512708999271744547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/8512708999271744547'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/first-optimization.html' title='First optimization'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5321694897193468857.post-1552746576377855035</id><published>2008-09-19T04:04:00.000-07:00</published><updated>2008-09-24T16:05:03.867-07:00</updated><title type='text'>The goal</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;What is an expert advisor?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;An expert advisor is an automated trading strategy, executed by a trading platform called “Metatrader”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;This platform enables the developer to back test the coded strategy, in order to evaluate its performance.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;How do I determine whether an expert advisor is worthy?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;First of all, we need an accurate tick database, which will be used through the stage of back testing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;A good expert advisor should yield a lot of trades, be profitable in a long time period. The trades themselves should be uniformly scattered on the time axis. Why? These terms guarantee a good and reliable statistics through time.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;My goal is to develop an expert advisor which will yield in a year profit factor of 1.5 or higher, an average of 1 trade per trading day, with a drawdown of 15% or lower. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;After that stage, forward testing will be needed before live trading.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5321694897193468857-1552746576377855035?l=expert-advisor-developer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expert-advisor-developer.blogspot.com/feeds/1552746576377855035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5321694897193468857&amp;postID=1552746576377855035&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/1552746576377855035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5321694897193468857/posts/default/1552746576377855035'/><link rel='alternate' type='text/html' href='http://expert-advisor-developer.blogspot.com/2008/09/goal.html' title='The goal'/><author><name>AL</name><uri>http://www.blogger.com/profile/13388820440338040237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
