<?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-6308762830420422327</id><updated>2011-11-28T08:38:30.010+08:00</updated><category term='olsen'/><category term='expert advisor'/><category term='speculation'/><category term='mql4'/><category term='meta'/><category term='editor'/><category term='mt4'/><category term='comment'/><category term='forex'/><category term='4'/><category term='number'/><category term='trading'/><category term='magic'/><category term='backtest'/><category term='richard'/><category term='oanda'/><category term='order'/><category term='quotes'/><category term='ea'/><category term='advisor'/><category term='trader'/><category term='stop loss'/><category term='currency'/><category term='expert'/><title type='text'>FOREX KNIGHT</title><subtitle type='html'>How much do you think it worth?</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-1482748869913349900</id><published>2010-09-14T00:36:00.004+08:00</published><updated>2010-09-14T00:39:37.478+08:00</updated><title type='text'></title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_WIwr9A0fFEY/TI5TbhTjnzI/AAAAAAAAAHU/uzCh3RGJA5A/s1600/MA+Sample.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://2.bp.blogspot.com/_WIwr9A0fFEY/TI5TbhTjnzI/AAAAAAAAAHU/uzCh3RGJA5A/s400/MA+Sample.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5516438325837406002" /&gt;&lt;/a&gt;&lt;br /&gt;Since we've created this EA, I've dump it into 1 of my demo account and test it out. So far so good. No major drawdown yet. I will update the EA again in near future. Have a look at the screenshot. I don't know how to make the picture larger in the blog post, if you know the way, kindly update me regarding this matter.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6308762830420422327-1482748869913349900?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/1482748869913349900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=1482748869913349900' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/1482748869913349900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/1482748869913349900'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2010/09/since-weve-created-this-ea-ive-dump-it.html' title=''/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_WIwr9A0fFEY/TI5TbhTjnzI/AAAAAAAAAHU/uzCh3RGJA5A/s72-c/MA+Sample.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-3051661710601853019</id><published>2010-09-01T23:35:00.006+08:00</published><updated>2010-09-02T00:15:32.967+08:00</updated><title type='text'>To change indicators</title><content type='html'>&lt;div style="text-align: left;"&gt;Sorry for not updating long. I've been having a tough time with my life lately. A lot of things going on, and the only constants I'm having right now is change! So, here I am again. I'm trying to put things together so we can continue to achieve financial freedom with our own build EA.&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I have put up some codes from our previous project. I have removed the MACD indicators and replace it with Moving Averages.&lt;/div&gt;&lt;div&gt;I myself is more comfortable playing with Moving Averages crossing instead of reading the original MACD idea from the MACD Sample.mq4 provided by Meta Trader 4.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So, here we go again. Have a look at the screenshot below to find out how I modified them.&lt;/div&gt;&lt;div&gt;&lt;img src="http://3.bp.blogspot.com/_WIwr9A0fFEY/TH51f9WndOI/AAAAAAAAAG0/982y-9dypNg/s400/ChangeMA.png" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 231px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5511972185853883618" /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;External variable has been removed and replaced with Fast EMA and Slow EMA.&lt;/div&gt;&lt;div&gt;&lt;img src="http://4.bp.blogspot.com/_WIwr9A0fFEY/TH52NnktaRI/AAAAAAAAAG8/6iCvI2SIT3A/s400/ChangeMA2.png" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 368px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5511972970281396498" /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;And here is where you remove the MACD indicators. Replace them with 4 moving averages. Now, some might ask why there is 4 moving averages instead of 2. Here, let me tell you, EA does not read the lines. Instead, it need numbers in order to form an actual logic. For example EMA8 crosses EMA20 from below, normally we see this as an uptrend. EA will have to interpret it as current EMA8 is higher than EMA20, whereas previous bar it was EMA20 higher than EMA8. Therefore, we need 4 variable to hold the correct value of a MA cross.&lt;/div&gt;&lt;div&gt;&lt;img src="http://3.bp.blogspot.com/_WIwr9A0fFEY/TH53OIFKz_I/AAAAAAAAAHE/Ns2JjH-9Dxk/s400/ChangeMA3.png" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 275px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5511974078519103474" /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;The above screenshot is changing the trading condition from MACD to Moving Averages cross. Let's have the last screenshot in changing the closing trades condition. It's simple, just change buy to sell and sell to buy from the closing trade condition.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img src="http://1.bp.blogspot.com/_WIwr9A0fFEY/TH57SAxkA8I/AAAAAAAAAHM/43acOqBrsDA/s400/ChangeMA4.png" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 250px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5511978543323808706" /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&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/6308762830420422327-3051661710601853019?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/3051661710601853019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=3051661710601853019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/3051661710601853019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/3051661710601853019'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2010/09/to-change-indicators.html' title='To change indicators'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_WIwr9A0fFEY/TH51f9WndOI/AAAAAAAAAG0/982y-9dypNg/s72-c/ChangeMA.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-7366762827017119065</id><published>2009-10-24T22:34:00.012+08:00</published><updated>2009-10-25T08:34:26.592+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='backtest'/><title type='text'>To back test</title><content type='html'>To have a legit and more accurate backtest, you got to have enough history data in your platform in order to perform a good backtest. Press F2 on your keyboard, MT4 will automatically direct you to a history centre. Select a symbol you wish you backtest, in this case we use GBPUSD as our test. Double click on GBPUSD, system will drop down several timeframe. Double click on 1 minute(M1), then hit Download button. MT4 will download as much history data as possible from Meta Quotes Corporation.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_WIwr9A0fFEY/SuOVlbL41rI/AAAAAAAAAFc/pNwfycVg6N8/s1600-h/Download.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 237px;" src="http://3.bp.blogspot.com/_WIwr9A0fFEY/SuOVlbL41rI/AAAAAAAAAFc/pNwfycVg6N8/s400/Download.jpg" alt="" id="BLOGGER_PHOTO_ID_5396321248705304242" border="0" /&gt;&lt;/a&gt;Once download completed, you'll be able to see something similar to the above. This can apply to other currency pair. If you wish to backtest with other symbol, simply repeat the procedure on other symbol's 1 minutes (M1) data. Click close button to close data center. Hold your "Control" button and press "R"(&lt;span style="font-weight: bold;"&gt;Ctrl+R&lt;/span&gt;), this will call out the tester window at the bottom of MT4.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WIwr9A0fFEY/SuOWAK-XILI/AAAAAAAAAF0/5Eubk3xkkJ8/s1600-h/backtest.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 64px;" src="http://1.bp.blogspot.com/_WIwr9A0fFEY/SuOWAK-XILI/AAAAAAAAAF0/5Eubk3xkkJ8/s400/backtest.jpg" alt="" id="BLOGGER_PHOTO_ID_5396321708210069682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Here is a brief introduction for each function in the tester:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Expert name&lt;/span&gt;: You can change any expert advisor to test with&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Symbol&lt;/span&gt;: Currency pair you wish to test with&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Model&lt;/span&gt;: Normally we use every tick as the quality of backtest is more reliable. You can choose other type of modeling, but less accurate.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Period&lt;/span&gt;: Time frame to test with (1 minute, 5 minutes, 15 minutes, 30 minutes, Hourly...etc)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Expert properties&lt;/span&gt;:  Allow you to change settings on the EA&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Symbol properties&lt;/span&gt;: To show you the testing environment of the currency pair you wish to test with&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Open chart&lt;/span&gt;: Once backtest finish, by clicking this button, you'll be able to see all the trades placed on the chart.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Modify expert&lt;/span&gt;: MT4 will call out Meta Editor and immediately open the source code of the EA for your convenient to modify codes.&lt;br /&gt;&lt;br /&gt;Below are screenshots for Expert Properties:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WIwr9A0fFEY/SuOVy2B04FI/AAAAAAAAAFk/UNaHl7Lh6_I/s1600-h/properties1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 217px;" src="http://1.bp.blogspot.com/_WIwr9A0fFEY/SuOVy2B04FI/AAAAAAAAAFk/UNaHl7Lh6_I/s400/properties1.jpg" alt="" id="BLOGGER_PHOTO_ID_5396321479249158226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The above shows Initial deposit as 10000. It means the backtest should start with initial balance of 10k. Position Long &amp;amp; Short meaning both buy and sell are allowed. You can choose either buy only or sell only.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WIwr9A0fFEY/SuOV5kMdg4I/AAAAAAAAAFs/HOIeKLv_iKo/s1600-h/properties2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 216px;" src="http://1.bp.blogspot.com/_WIwr9A0fFEY/SuOV5kMdg4I/AAAAAAAAAFs/HOIeKLv_iKo/s400/properties2.jpg" alt="" id="BLOGGER_PHOTO_ID_5396321594721010562" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Above screenshot shows the input tab in Expert Properties. You can change the parameter of the EA for this particular backtest. In this case, we change the stop loss to 200pips from original 50pips. You can Save your parameter by clicking "Save button" or load a preset you've previously saved. Once completed setting up parameter, click OK button to exit.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WIwr9A0fFEY/SuOWAK-XILI/AAAAAAAAAF0/5Eubk3xkkJ8/s1600-h/backtest.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 64px;" src="http://1.bp.blogspot.com/_WIwr9A0fFEY/SuOWAK-XILI/AAAAAAAAAF0/5Eubk3xkkJ8/s400/backtest.jpg" alt="" id="BLOGGER_PHOTO_ID_5396321708210069682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Back to tester main window. Select the date of testing. From ~ To must be complete.  Now, you can enable Visual mode. By enabling visual mode, you'll be able to view the trades on the chart whilst the tester is doing all the calculation at the background. Visual mode is obviously slower compare to non visual mode. Or you can choose to run a quick backtest without visual, and click on the Open Chart button later to view the trades offline. Click on Start button to begin backtest.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WIwr9A0fFEY/SuOWJPMrWiI/AAAAAAAAAF8/_XMpcCHp03E/s1600-h/Save+report.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 92px;" src="http://1.bp.blogspot.com/_WIwr9A0fFEY/SuOWJPMrWiI/AAAAAAAAAF8/_XMpcCHp03E/s400/Save+report.jpg" alt="" id="BLOGGER_PHOTO_ID_5396321863962679842" border="0" /&gt;&lt;/a&gt;After the test, you can go to Report tab at the bottom of the tester window. You'll be able to see the full detail of the backtest. You can right click on the report and choose Save Report to get a full HTML report with equity graph in it. If you notice, there are 2 important column in report. Mismatched charts  errors is the number of bars you downloaded from history center does not match with the visual on the chart. Many reason causes this, such as difference of brokerege firm's rollover time, data corruption, data overlapping and so on. With a bad history data, automatically your Modelling Quality will drop. Normally 90% is good enough and very acceptable. However, there are professionals that uses TICK DATA to produce 99% accuracy backtest result. There is a whole bunch of knowledge in collecting good quality tick data and how to import them into Meta Trader 4 to do backtest with Expert Advisors. I have not plan to extend our focus that far, let's just stick with this for the time being. Meanwhile, if you're interested in 99% backtest, you can search online.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_WIwr9A0fFEY/SuOWVPkc0JI/AAAAAAAAAGE/9w2nawuCFEo/s1600-h/TesterGraph.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 82px;" src="http://2.bp.blogspot.com/_WIwr9A0fFEY/SuOWVPkc0JI/AAAAAAAAAGE/9w2nawuCFEo/s400/TesterGraph.jpg" alt="" id="BLOGGER_PHOTO_ID_5396322070220820626" border="0" /&gt;&lt;/a&gt;The above equity graph are generated automatically from the backtester after I ran a 3 month backtest on GBPUSD.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6308762830420422327-7366762827017119065?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/7366762827017119065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=7366762827017119065' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/7366762827017119065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/7366762827017119065'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2009/10/to-back-test.html' title='To back test'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_WIwr9A0fFEY/SuOVlbL41rI/AAAAAAAAAFc/pNwfycVg6N8/s72-c/Download.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-2732853763806921420</id><published>2009-10-18T01:20:00.005+08:00</published><updated>2009-10-18T01:41:06.203+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='advisor'/><category scheme='http://www.blogger.com/atom/ns#' term='expert'/><category scheme='http://www.blogger.com/atom/ns#' term='forex'/><category scheme='http://www.blogger.com/atom/ns#' term='ea'/><category scheme='http://www.blogger.com/atom/ns#' term='number'/><category scheme='http://www.blogger.com/atom/ns#' term='comment'/><category scheme='http://www.blogger.com/atom/ns#' term='magic'/><category scheme='http://www.blogger.com/atom/ns#' term='order'/><category scheme='http://www.blogger.com/atom/ns#' term='mt4'/><title type='text'>Magic number</title><content type='html'>OK. Let's talk about trade handling. This EA was made to trade alone, and not suitable when there is human interference or other EA trading on the same account. When you try to place a trade on the account with MACD Sample trading at the same time, the EA will take over your position and modify your stop loss according to the TrailingStop you've declared in the EA earlier. Which is why a Magic Number is important. We need a special tag for a robot to recognize which are the trades that they should handle, instead of modify all stop losses for all the trades on the same platform. So, here we go...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WIwr9A0fFEY/Stn-yf98BfI/AAAAAAAAAEQ/zdw1m0fUqJk/s1600-h/Magic1.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 296px;" src="http://1.bp.blogspot.com/_WIwr9A0fFEY/Stn-yf98BfI/AAAAAAAAAEQ/zdw1m0fUqJk/s400/Magic1.JPG" alt="" id="BLOGGER_PHOTO_ID_5393622172281079282" border="0" /&gt;&lt;/a&gt;Place a new external variable for user to key in Magic Number for the EA to recognize it. Magic Number is a special tag that doesn't show on your trading statement because its hidden. Since we're doing Magic Number, I've take another step to pull out the trade comment. By putting the trade comment as a variable, this can help us trace our trading history. In example, while we're modifying the EA from version 001 until current version 004, we have trouble to figure out from where our EA evolved. By looking at the trading statement, scroll all the way down, all the trade comment saids the trades are triggered by "macd sample". Therefore, in the future we can change the trade comment directly from the variable everytime we modify the EA.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WIwr9A0fFEY/Stn-6fnfR-I/AAAAAAAAAEY/shJlacKhuvc/s1600-h/Magic2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="http://4.bp.blogspot.com/_WIwr9A0fFEY/Stn-6fnfR-I/AAAAAAAAAEY/shJlacKhuvc/s400/Magic2.JPG" alt="" id="BLOGGER_PHOTO_ID_5393622309625874402" border="0" /&gt;&lt;/a&gt;Magic number had taken over the original fixed magic number 16384. Meanwhile, trade comment will automatically refer to the variable we've declared earlier.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WIwr9A0fFEY/Stn_I1JFRWI/AAAAAAAAAEg/bgHDZfbKIA0/s1600-h/Magic3.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 198px;" src="http://4.bp.blogspot.com/_WIwr9A0fFEY/Stn_I1JFRWI/AAAAAAAAAEg/bgHDZfbKIA0/s400/Magic3.JPG" alt="" id="BLOGGER_PHOTO_ID_5393622555922089314" border="0" /&gt;&lt;/a&gt;Added new filter here. Whilst the EA trying to filter out all the trades from the same pair(&lt;span style="font-style: italic;"&gt;OrderSymbol()&lt;/span&gt;), we've added new Magic Number as new filter for the EA to recognize which are the trades needs to handle instead of handle all the trades from the same pair.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6308762830420422327-2732853763806921420?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/2732853763806921420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=2732853763806921420' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/2732853763806921420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/2732853763806921420'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2009/10/magic-number.html' title='Magic number'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_WIwr9A0fFEY/Stn-yf98BfI/AAAAAAAAAEQ/zdw1m0fUqJk/s72-c/Magic1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-6377526183957451822</id><published>2009-10-04T23:33:00.002+08:00</published><updated>2009-10-04T23:36:20.115+08:00</updated><title type='text'>Been busy lately</title><content type='html'>Hello there. I've been busy lately. Have not been able to update the blog. I'm sorting things out and will continue to blog as soon as possible. Here is what happened to me while I'm not around:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.instablogs.com/media/2007/04/toshiba-mounted-display_48.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 450px; height: 322px;" src="http://www.instablogs.com/media/2007/04/toshiba-mounted-display_48.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6308762830420422327-6377526183957451822?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/6377526183957451822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=6377526183957451822' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/6377526183957451822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/6377526183957451822'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2009/10/been-busy-for-recently.html' title='Been busy lately'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-4879291585783316522</id><published>2009-07-18T19:19:00.006+08:00</published><updated>2009-07-18T19:42:35.646+08:00</updated><title type='text'>An efficient way to declare SL and TP</title><content type='html'>Previously we have discussed about how to put down a stop loss in the EA. Now, it is time to further improve it. Originally, the EA came with fraction variable declared on its Take Profit column. The reason for using "double" in the code is to hold the value of market price, such as bid on EURUSD as 1.4002. Previous code explanation as below:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Ask+TakeProfit*Point = Actual take profit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1.4002 + (50pips * 0.0001) = 1.4052&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And therefore the EA will put down 1.4052 as our take profit. Here is the problem. What if we revalue the parameter of Take Profit as ZERO? Further elaboration as below:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Ask+TakeProfit*Point = Actual take profit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1.4002 + (ZERO * 0.0001) = 1.4002&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now, I doubted what is the purpose for you to trade something stupid like opening and close trade at breakeven? I even doubted whether your broker is going to allow you to do so. Most broker has the minimum 5pips limit between their order open price and their take profit/stop loss... hmmm... here is what I did. Change it from "double" to "int", add new variable as SL and TP to accommodate the actual value of the price we want to take profit and stop loss.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WIwr9A0fFEY/SmGwE8yxYhI/AAAAAAAAADw/R8Lt_aR7y5Y/s1600-h/MACD1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 277px;" src="http://4.bp.blogspot.com/_WIwr9A0fFEY/SmGwE8yxYhI/AAAAAAAAADw/R8Lt_aR7y5Y/s400/MACD1.PNG" alt="" id="BLOGGER_PHOTO_ID_5359758630632645138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Screenshot above is showing how I declare my new variable. I've added "//" to remark the old codes.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WIwr9A0fFEY/SmGwIn9O27I/AAAAAAAAAD4/ysma5hDiu04/s1600-h/MACD2.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 256px;" src="http://4.bp.blogspot.com/_WIwr9A0fFEY/SmGwIn9O27I/AAAAAAAAAD4/ysma5hDiu04/s400/MACD2.PNG" alt="" id="BLOGGER_PHOTO_ID_5359758693758852018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;2nd screenshot. I've removed the TakeProfit checking routine. We will check the take profit value later.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_WIwr9A0fFEY/SmGwQ9kP9VI/AAAAAAAAAEA/LRer42mtWAM/s1600-h/MACD3.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 219px;" src="http://2.bp.blogspot.com/_WIwr9A0fFEY/SmGwQ9kP9VI/AAAAAAAAAEA/LRer42mtWAM/s400/MACD3.PNG" alt="" id="BLOGGER_PHOTO_ID_5359758836998600018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Here is the screenshot I added the new set of codes to allow 0 stop loss and 0 take profit to the system. The logic as below:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;StopLoss=50&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;if StopLoss&gt;0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; Ask-StopLoss*Point = SL&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1.4002 - (50pips * 0.0001) = 1.3952&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Otherwise&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;SL = 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we have a real 0 Stop Loss.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WIwr9A0fFEY/SmGwXnDWV4I/AAAAAAAAAEI/_Dbv41TCDmE/s1600-h/MACD4.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 221px;" src="http://4.bp.blogspot.com/_WIwr9A0fFEY/SmGwXnDWV4I/AAAAAAAAAEI/_Dbv41TCDmE/s400/MACD4.PNG" alt="" id="BLOGGER_PHOTO_ID_5359758951214110594" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Here is the set of code I added to sell position.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6308762830420422327-4879291585783316522?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/4879291585783316522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=4879291585783316522' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/4879291585783316522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/4879291585783316522'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2009/07/efficient-way-to-declare-sl-and-tp.html' title='An efficient way to declare SL and TP'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_WIwr9A0fFEY/SmGwE8yxYhI/AAAAAAAAADw/R8Lt_aR7y5Y/s72-c/MACD1.PNG' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-7679349178308858539</id><published>2009-05-27T22:42:00.006+08:00</published><updated>2009-05-27T23:10:38.469+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='stop loss'/><category scheme='http://www.blogger.com/atom/ns#' term='expert advisor'/><category scheme='http://www.blogger.com/atom/ns#' term='ea'/><title type='text'>To put down a stop loss</title><content type='html'>MACD Sample EA is a swing trading system. However, this swing trading system doesn't come with a stop loss. Its either you get it right on your buy position, you sell off at higher price to make money; or you got it wrong on your buy position, then you get a sell signal at lower price. So, you can choose to put down a stop loss in order to limit your losses when thing goes wrong.&lt;br /&gt;&lt;div&gt;Place these codes into your MACD Sample EA.&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 152px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5340516876693343282" border="0" alt="" src="http://2.bp.blogspot.com/_WIwr9A0fFEY/Sh1TzdhJDDI/AAAAAAAAADg/Gp3EdInLK_Q/s400/extern+sl.PNG" /&gt;By adding &lt;em&gt;extern&lt;/em&gt; in the code, you'll be able to control the external panel. StopLoss is the variable name. &lt;em&gt;double&lt;/em&gt; in the code will allow the StopLoss variable to store fractional figures. We temporary put 50point as the default figure. Anytime when you load the EA on the chart, your default TakeProfit and StopLoss will be 50.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 176px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5340517693862120770" border="0" alt="" src="http://3.bp.blogspot.com/_WIwr9A0fFEY/Sh1UjBtXDUI/AAAAAAAAADo/r2og7vmAR_0/s400/OrderSend+sl.PNG" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div&gt;We have defined the parameter. Now we add an extra code into the OrderSend() function. OrderSend fucntion work with these element:&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;em&gt;Option = OP_BUY,OP_SELL,OP_BUYSTOP,OP_SELLSTOP,OP_BUYLIMIT,OP_SELLLIMIT&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;&lt;/em&gt; &lt;/div&gt;&lt;div&gt;&lt;em&gt;Lot size = Any figure your account able can trade&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;&lt;/em&gt; &lt;/div&gt;&lt;div&gt;&lt;em&gt;Order open price = Ask for buy, Bid for sell, or put down a figure if you want to use pending order&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;&lt;/em&gt; &lt;/div&gt;&lt;div&gt;&lt;em&gt;Slippage = How many point of slippage allowed&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;&lt;/em&gt; &lt;/div&gt;&lt;div&gt;&lt;em&gt;Stop loss = The price when you decided to cut loss&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;&lt;/em&gt; &lt;/div&gt;&lt;div&gt;&lt;em&gt;Take profit = The price when you liquidate your profit&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;&lt;/em&gt; &lt;/div&gt;&lt;div&gt;&lt;em&gt;Trade comment = To put down a comment on your trade in order to recognize them traded from which trading system&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;&lt;/em&gt; &lt;/div&gt;&lt;div&gt;&lt;em&gt;Magic number = Any integer figure. This is for the EA to recognize its an auto trade instead of trader's manual position&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;&lt;/em&gt; &lt;/div&gt;&lt;div&gt;&lt;em&gt;Expiry date = Trade will be close after exceeded this amount of time.&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;&lt;/em&gt; &lt;/div&gt;&lt;div&gt;&lt;em&gt;Color marking = Trade will be indicate on the chart. Choose a color to represent your buy/sell position, inorder to recognize them in the future.&lt;/em&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Original code came with 0 stop loss, so we added some code for this system to recognize a new stop loss we added earlier at the external panel.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6308762830420422327-7679349178308858539?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/7679349178308858539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=7679349178308858539' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/7679349178308858539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/7679349178308858539'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2009/05/to-put-down-stop-loss.html' title='To put down a stop loss'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_WIwr9A0fFEY/Sh1TzdhJDDI/AAAAAAAAADg/Gp3EdInLK_Q/s72-c/extern+sl.PNG' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-1082858242884161418</id><published>2009-05-26T23:00:00.003+08:00</published><updated>2009-05-26T23:11:34.962+08:00</updated><title type='text'>To do list</title><content type='html'>A back test does not mean anything, until an EA start making money in your live trading account. Again I would like to emphasize the fact that I mentioned previously, I'm not going to put my hard earned money into something I don't even know what is inside it. So, we are going to explore bit by bit in the MACD Sample EA, at the same time combine some useful codes to improve it. I'll list down our to do list here, and we are going to follow the list and modify this EA step by step to make it more stable and reliable.&lt;br /&gt;&lt;br /&gt;1) To have stop loss where MACD Sample did not build in readily&lt;br /&gt;2) To have control number of trades allowed at the same time&lt;br /&gt;3) To avoid the EA to manage human trades and or other EA's trades&lt;br /&gt;4) To include a simple money management into the EA&lt;br /&gt;5) To clean up some codes to make the EA more efficient&lt;br /&gt;6) To optimize the parameter uses by the EA&lt;br /&gt;&lt;br /&gt;Now we have a plan. We are going to follow it and improve this EA step by step&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6308762830420422327-1082858242884161418?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/1082858242884161418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=1082858242884161418' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/1082858242884161418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/1082858242884161418'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2009/05/to-do-list.html' title='To do list'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-3602622532659116089</id><published>2009-05-24T15:30:00.010+08:00</published><updated>2009-05-24T23:59:53.729+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='advisor'/><category scheme='http://www.blogger.com/atom/ns#' term='trader'/><category scheme='http://www.blogger.com/atom/ns#' term='4'/><category scheme='http://www.blogger.com/atom/ns#' term='expert'/><category scheme='http://www.blogger.com/atom/ns#' term='forex'/><category scheme='http://www.blogger.com/atom/ns#' term='ea'/><category scheme='http://www.blogger.com/atom/ns#' term='quotes'/><category scheme='http://www.blogger.com/atom/ns#' term='mql4'/><category scheme='http://www.blogger.com/atom/ns#' term='meta'/><title type='text'>FREE profitable robot?! Where?!</title><content type='html'>If you are not familiar with any of Meta Trader 4 and their FOREX automated trading system, this is a good time to start learning and understand what is actually happening. On the other hand, if you're an experienced trader, or you have very much experience in using other people's Expert Advisor(automated trading system) in the 1st place, I hope you find this is interesting because you're about to learn to develop your own system. You will never have to blackbox trading an EA you bought from ebay. Without knowing what is inside the bought EA, I have never feel comfortable to put down my hard earned money with these commercial EA.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;Here is the deal. We're going to review the MACD Sample.mq4 from Meta Trader 4. You can find it freely available after you installed MT4. You may be getting ready to pay some money to buy a new EA from ebay, please hold the horses, because we may have something really worthwhile, and the best part of it is... it is FREE. You may think there is no free lunch, neither do I think there is free lunch. Therefore, we are going to have to do some work here. I've downloaded some history data from the broker and ran some test on it. You can download history by pressing F2 to get the history center.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WIwr9A0fFEY/Shlnjw0GD6I/AAAAAAAAADA/ogpbIh-4xCM/s1600-h/poor+data.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 239px;" src="http://1.bp.blogspot.com/_WIwr9A0fFEY/Shlnjw0GD6I/AAAAAAAAADA/ogpbIh-4xCM/s400/poor+data.PNG" alt="" id="BLOGGER_PHOTO_ID_5339412697320918946" border="0" /&gt;&lt;/a&gt;Above screenshot showing bad data in USDJPY. You can notice that when you see only 1024 record existing in your computer. You'll have to click on the Download button to download history data from your broker.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WIwr9A0fFEY/ShloS-hlKLI/AAAAAAAAADI/qBkRy2a3snc/s1600-h/rich+data.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 239px;" src="http://4.bp.blogspot.com/_WIwr9A0fFEY/ShloS-hlKLI/AAAAAAAAADI/qBkRy2a3snc/s400/rich+data.PNG" alt="" id="BLOGGER_PHOTO_ID_5339413508455213234" border="0" /&gt;&lt;/a&gt;Now, once download completed, MT4 will automatically extract all the downloaded file and import them to your platform. With these downloaded history, you'll be able to backtrack history as far back as 1999. Hold your Ctrl + R to access to your Tester window. Select Expert Advisor: MACD Sample, then Symbol change to the downloaded data. My case is EURJPY because I downloaded it. This is a crusial part, you can choose different type of modelling quality. I only use Every Tick as my modelling quality, as they provide the most precise test compare to real time trading. Finally, check the Use date box, fill in the column with desired testing date. Hit the start button and wait for it to finish testing.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_WIwr9A0fFEY/ShlqS9mrbPI/AAAAAAAAADQ/fFUuOY391H8/s1600-h/tested.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 71px;" src="http://2.bp.blogspot.com/_WIwr9A0fFEY/ShlqS9mrbPI/AAAAAAAAADQ/fFUuOY391H8/s400/tested.PNG" alt="" id="BLOGGER_PHOTO_ID_5339415707231415538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Once test completed, you'll see the green indicator bar had filled up the entire column. And the Stop had changed to Start button again. Tabs at the lower tester window are for different function. You can view the tester graph, trade's detail, statistic report, and your trade journal.&lt;br /&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;-Settings is the main console to control your testing parameter.&lt;br /&gt;-Results will show the trade's detail. From what price trade got opened, trade parameter modifications, take profits and stop losses.&lt;br /&gt;-Graph will show the equity in 2D line chart&lt;br /&gt;-Report is where the statistics are.&lt;br /&gt;-Journal can be very useful to troubleshoot if an EA have error. Basically it record all trades in and out.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To generate a full report from your backtest, hit the Report tab in your tester window, right click in any column within your statistic report, select Save and report, and it will direct you to a file save window. Select your folder and it will save a copy of the tester report and open it up with your web browser as HTML format. Its very useful and handy.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_WIwr9A0fFEY/ShltjMRj0mI/AAAAAAAAADY/Snj5p-nMt-c/s1600-h/completed.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 328px; height: 400px;" src="http://3.bp.blogspot.com/_WIwr9A0fFEY/ShltjMRj0mI/AAAAAAAAADY/Snj5p-nMt-c/s400/completed.PNG" alt="" id="BLOGGER_PHOTO_ID_5339419284582158946" border="0" /&gt;&lt;/a&gt;So, here is the complete backtest of 2006 data on EURJPY with MACD Sample. Its FREE. This EA is not ready to use in my opinion. So, we're going to add in some parameter to ensure this EA is safe to use.&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/6308762830420422327-3602622532659116089?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/3602622532659116089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=3602622532659116089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/3602622532659116089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/3602622532659116089'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2009/05/free-profitable-robot-where.html' title='FREE profitable robot?! Where?!'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_WIwr9A0fFEY/Shlnjw0GD6I/AAAAAAAAADA/ogpbIh-4xCM/s72-c/poor+data.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-5483985037434999680</id><published>2009-05-23T19:48:00.004+08:00</published><updated>2009-05-23T20:04:49.252+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='advisor'/><category scheme='http://www.blogger.com/atom/ns#' term='trader'/><category scheme='http://www.blogger.com/atom/ns#' term='4'/><category scheme='http://www.blogger.com/atom/ns#' term='expert'/><category scheme='http://www.blogger.com/atom/ns#' term='editor'/><category scheme='http://www.blogger.com/atom/ns#' term='forex'/><category scheme='http://www.blogger.com/atom/ns#' term='ea'/><category scheme='http://www.blogger.com/atom/ns#' term='quotes'/><category scheme='http://www.blogger.com/atom/ns#' term='meta'/><title type='text'>Meta Editor 4</title><content type='html'>Meta Editor 4 is the official programming platform for Meta Trader 4. It uses 3rd generation programming language, and very similar to C language programming, and they named it Meta Quotes Language 4. Anyway, from what I heard, MQL4 will be replace by MQL5 in near future. For me, its still too early, until they have finalized, launched it a year or two, then I'll consider to migrate to 5.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_WIwr9A0fFEY/ShfjmXgj-lI/AAAAAAAAAC4/ThafWbkOuTM/s1600-h/1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 223px; height: 56px;" src="http://2.bp.blogspot.com/_WIwr9A0fFEY/ShfjmXgj-lI/AAAAAAAAAC4/ThafWbkOuTM/s400/1.PNG" alt="" id="BLOGGER_PHOTO_ID_5338986131556137554" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;So, how do we get into Meta Editor? Its simple, by clicking the icon shows at the above picture, you'll be able to access to programming platform. I'm currently drafting on what kind of syllabus we should cover in the coming weeks. There will be a lot of mind blowing things, and I am going to reveal them to you one by one. You'll be able to understand exactly what is worth and what is not. I'll probably start with basic programming guidelines. Then to modify a readily made Expert Advisor in Meta Editor 4. In very short time, you'll be able to understand how does an EA work. You'll be able to program your own indicator/trading discretion in a template provided by Meta Editor 4.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6308762830420422327-5483985037434999680?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/5483985037434999680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=5483985037434999680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/5483985037434999680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/5483985037434999680'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2009/05/meta-editor-4.html' title='Meta Editor 4'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_WIwr9A0fFEY/ShfjmXgj-lI/AAAAAAAAAC4/ThafWbkOuTM/s72-c/1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-2081591439881566363</id><published>2009-05-23T17:33:00.008+08:00</published><updated>2009-05-23T19:00:57.266+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='advisor'/><category scheme='http://www.blogger.com/atom/ns#' term='trader'/><category scheme='http://www.blogger.com/atom/ns#' term='4'/><category scheme='http://www.blogger.com/atom/ns#' term='expert'/><category scheme='http://www.blogger.com/atom/ns#' term='forex'/><category scheme='http://www.blogger.com/atom/ns#' term='ea'/><category scheme='http://www.blogger.com/atom/ns#' term='quotes'/><category scheme='http://www.blogger.com/atom/ns#' term='mql4'/><category scheme='http://www.blogger.com/atom/ns#' term='meta'/><title type='text'>I work with Meta Trader 4</title><content type='html'>Here is another infamous trading platform provided by &lt;a href="http://www.metaquotes.net/"&gt;Meta Quotes&lt;/a&gt;. Some of you may found this platform very useful because they also provide a platform for your iPhone and PDA. I will try to shorten the introduction for this trading platform, as they have too many function, some of them I do not even know how to use them. Basically, I like this platform because its free to use. Data feed from broker are always free. The most important is, I need their automated trading system facilities. I will be focusing on this 1 in the near future, to build a trading robot in an open blog and it will be free for the public to use it. You'll be able to understand the basic programming in automated trading system by following this blog.&lt;br /&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_WIwr9A0fFEY/ShfKx185E8I/AAAAAAAAACY/3Ykt19xzPOE/s1600-h/6.PNG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5338958840915891138" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; HEIGHT: 320px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_WIwr9A0fFEY/ShfKx185E8I/AAAAAAAAACY/3Ykt19xzPOE/s400/6.PNG" border="0" /&gt;&lt;/a&gt;The layout of MT4(Meta Trader 4) is very simple and easy to understand. The Navigator window will show you whether you're on a demo/live trading account. A demo account, the icon is in green color, or it will be gold in color if its a live account. Terminal window is where all your trade statistic situated. All your buy/sell orders will be situated here. The above screenshot shows I'm lossing 14pips. Quote board is in the Market Watch window. By double clicking the Bid/Ask price of desired trading pairs, the trading window will pop up. &lt;/p&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5338960863183393538" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; HEIGHT: 200px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_WIwr9A0fFEY/ShfMnjfCUwI/AAAAAAAAACg/4aWDF2azjoE/s400/marketorder.PNG" border="0" /&gt;&lt;br /&gt;This is a order window. You can key in your trade parameter here like lot size in Volume column, your stop loss, take profit and also comment on your trade. Finally, by clicking Sell/Buy button to execute your position instantly.&lt;/p&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5338964058656415378" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 199px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_WIwr9A0fFEY/ShfPhjjLHpI/AAAAAAAAACo/sspMyPGwATI/s400/pending.PNG" border="0" /&gt;You can choose to place pending order by changing the value in Type column to Pending Order. You can place your execution price, and other parameter just like a market order. Some of you may not understand how pending order works. I decided to touch up a little bit here:&lt;/p&gt;&lt;p&gt;&lt;em&gt;Buy stop : When current ask price is lower then your desired buy price&lt;br /&gt;Buy limit: When current ask price is higher then your desired buy price&lt;br /&gt;Sell stop: When current bid price is higher then your desired sell price&lt;br /&gt;Sell limit: When current bid price is lower then your desired sell price&lt;/em&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;There is 1 very useful column here. By ticking the Expiry column, you can also put an expiry date to your pending trade. After the expiry, trade will be automatically deleted.&lt;/p&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5338966866088286514" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 320px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_WIwr9A0fFEY/ShfSE-DF2TI/AAAAAAAAACw/5k8x0GjmS-M/s400/8.PNG" border="0" /&gt;&lt;br /&gt;The best part of Meta Trader 4 is to have an investor password. If you are having a share account, or managing other's account, you can always publish your investor password. By accessing to the account with investor password, you can see all the running trades on the chart. All statistics are available. The only thing that the investor couldn't do is to execute any transaction.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6308762830420422327-2081591439881566363?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/2081591439881566363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=2081591439881566363' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/2081591439881566363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/2081591439881566363'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2009/05/i-work-with-meta-trader-4.html' title='I work with Meta Trader 4'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_WIwr9A0fFEY/ShfKx185E8I/AAAAAAAAACY/3Ykt19xzPOE/s72-c/6.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-4290189344504758968</id><published>2009-05-21T15:16:00.006+08:00</published><updated>2009-05-22T07:40:06.010+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='olsen'/><category scheme='http://www.blogger.com/atom/ns#' term='trading'/><category scheme='http://www.blogger.com/atom/ns#' term='oanda'/><category scheme='http://www.blogger.com/atom/ns#' term='forex'/><category scheme='http://www.blogger.com/atom/ns#' term='ea'/><category scheme='http://www.blogger.com/atom/ns#' term='mt4'/><category scheme='http://www.blogger.com/atom/ns#' term='richard'/><title type='text'>What is trading platform</title><content type='html'>Trading platform is the software where you execute your buy/sell order. You can put a stop loss / take profit point for the future reference. For example if you bought some gold for the price of $50 from your local goldsmith, you intended to sell it when the price got up to $75, but the thing is, you'll have to monitor the gold price every minute, otherwise you will miss it. Good thing is, when price exceeded your expectation, you'll get more. What if price already hit $75, and you are not around / not aware? Price could fall down again, and you missed the opportunity to make a nice profit by selling the gold you bought earlier with $50 for $75. This is where the trading platform play a role. You can set your target accordingly. When the market price meet your expectation, your transaction will be auto executed in split second. You will never have to worry about missing a transaction anymore.&lt;br /&gt;&lt;br /&gt;Basically, you can have different type of trading software with you. Below is a series of screenshot I took from OANDA trading platform. Its a JAVA edition trading software. This is a very useful trading platform, offering trade from chart function.&lt;br /&gt;&lt;br /&gt;Candlesticks chart:&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 640px; CURSOR: hand; HEIGHT: 306px; TEXT-ALIGN: center" alt="" src="http://img20.imageshack.us/img20/8113/oandau.jpg" border="0" /&gt;You can add different studies in the chart to survey current market condition/trend. I have included RSI, Stochastics and MACD to it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Account statistics and quote board:&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5338186558351924770" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 163px; CURSOR: hand; HEIGHT: 400px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_WIwr9A0fFEY/ShUMZFNU3iI/AAAAAAAAABw/FYwefLnKZTc/s400/Quote+board.jpg" border="0" /&gt; &lt;p&gt;Upper part of this screenshot is my account statistics. The quote board are updating currency price real time by the data feed by broker. Green color indicate up; Red for down; Grey for unchange. &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;How to trade?&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5338422325513681170" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 228px; CURSOR: hand; HEIGHT: 132px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_WIwr9A0fFEY/ShXi0iVB-RI/AAAAAAAAACI/6_RnhiR_2BY/s400/EURUSD.jpg" border="0" /&gt; You'll need to understand the quoteboard before you make any transaction. Your tradeboard normally consist of 2 major element, Buy/Sell price, some broker preferred to use Bid/Ask price. Basically these 2 represent the price of a certain currency pairs buying and selling. At the above/side of the quote board are normally the currency name. EURUSD meaning EURO vs US Dollars. The number is representing the actual price of US Dollars exchanged with EURO. The above example shows:&lt;br /&gt;&lt;br /&gt;Buy 1 EURO with $1.38102&lt;br /&gt;Sell 1 EURO with $1.38093&lt;br /&gt;&lt;br /&gt;Meaning that, even if I buy and sell at the same time, I will still make a loss of $0.00009. Where does the money goes? You're right, my broker need that money to pay their employee, their electricity bil, and ofcourse to pay their boss &lt;a href="http://www.oanda.com/channels/investor/documents/R_OlsenFXMarket.pdf"&gt;Rich Olsen&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6308762830420422327-4290189344504758968?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/4290189344504758968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=4290189344504758968' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/4290189344504758968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/4290189344504758968'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2009/05/what-is-trading-platform.html' title='What is trading platform'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShUMZFNU3iI/AAAAAAAAABw/FYwefLnKZTc/s72-c/Quote+board.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6308762830420422327.post-1264452551693629608</id><published>2009-05-20T19:53:00.005+08:00</published><updated>2009-05-22T07:46:34.480+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='speculation'/><category scheme='http://www.blogger.com/atom/ns#' term='trading'/><category scheme='http://www.blogger.com/atom/ns#' term='forex'/><category scheme='http://www.blogger.com/atom/ns#' term='ea'/><category scheme='http://www.blogger.com/atom/ns#' term='mql4'/><category scheme='http://www.blogger.com/atom/ns#' term='currency'/><category scheme='http://www.blogger.com/atom/ns#' term='mt4'/><title type='text'>Something about my work</title><content type='html'>My name is David Lai a.k.a &lt;strong&gt;davidke20&lt;/strong&gt; in forums. I'm a part time foreign currency trader(FOREX trader). Working full time like a donkey day time, taking care of the kid after work, do some codings after family asleep. Most of the time I past out infront of my computer screen while coding some trading system.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;What is FOREX&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;FOREX is the short form of Foreign Exchange. This is the world largest financial market. According to Bank for International Settlement, the currency trading involved of daily 3.2 trillion(3,200,000,000,000.00) dollars turnover. Full article can be found &lt;a href="http://www.bis.org/press/p071219.htm"&gt;here&lt;/a&gt;. FOREX is an investing opportunity, one that can bring an investor profit or loss. FOREX is a volatile market intensified by leverage. Money is made(or lost) when investment values fluctuate. Although a market that moves up and down like a roller coaster can be nerve wracking, it also offers more trading opportunities.&lt;/p&gt;&lt;p&gt;In the 1990s. The currency markets grew more sophisticated and faster because money, and how people viewed and used it, was changing. The notion that money was not just a piece of paper, but also something that could assume electronic form, was accepted fitfully by the public. Today money has moved beyond paper. By depositing a certain amount of money to your retail broker, you can start trading one click basis in front of your desktop. The internet provides rates and price spreads virtually instantaneously, 24 hours a day, seven days a week. You can download a free trading platform, install them on your computer. Thats like having your own currency board infront of your computer, just exactly the same as the money changer you found in your local shopping mall. The only difference is, you get faster response, more accurate pricing compare to them. You can download the software &lt;a href="http://www.metatrader4.com/files/mt4setup.exe"&gt;here&lt;/a&gt;, its called &lt;a href="http://www.metatrader4.com/files/mt4setup.exe"&gt;MetaTrader4&lt;/a&gt;. Feel free to pass it around if your buddy is interested on this.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;The reason of the existence of this blog&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;To be honest, I wish to understand how blog works. Meanwhile, to earn a few penny from the clicks paid by AdSense. This blog will be maintain as a trading and on going automated trading system developement journal for my own pleasure, and possibly will be my stepping stone to my next business.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6308762830420422327-1264452551693629608?l=davidke20.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidke20.blogspot.com/feeds/1264452551693629608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6308762830420422327&amp;postID=1264452551693629608' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/1264452551693629608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6308762830420422327/posts/default/1264452551693629608'/><link rel='alternate' type='text/html' href='http://davidke20.blogspot.com/2009/05/something-about-my-work.html' title='Something about my work'/><author><name>davidke20</name><uri>http://www.blogger.com/profile/02021456433094894783</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_WIwr9A0fFEY/ShQv10gG8UI/AAAAAAAAABA/PpsnwS2OmGg/S220/te27.jpg'/></author><thr:total>3</thr:total></entry></feed>
