File too big here is link http://www.roustech.com/download/RousMT4.zip
File too big here is link http://www.roustech.com/download/RousMT4.zip
Hi Bigpipn,
Sounds like you're referring to Ray's spread betting comparison test? If so, then one of the points of this exercise is to experiment with pending orders rather than market entries. Particularly in such circumstances, why do think "signal[ing] in the trades simultaneously" from a 3rd party feed is "fairer" than running exactly the same "robot" at two or more different brokers?
A perennial question when trading spot FX. In the absence of a centralised exchange, whose quotes should you trust?I have also attached a 3rd Party MT4 platform. The automatic feed/broker in the demo is Swiss Quote. Notice how wide the spreads get during certain times of the day and how accurate/fortuitous the intra-day gaps are. This is raw data from a LP.Spreads are wider but are good for testing because you will under-promise on your back tests but over-deliver on your live accounts. I'm not affiliated with Rous at all, they were very helpful with the extensive list of questions I had.
I have no doubt that your profit margin will increase if you go ahead and use this 3rd party MT4 platform instead of the one you download from your broker. Do NOT update when prompted.
Please bear in mind that Ray's default settings are not optimised for any particular instrument. If you discover some settings that work well in forward tests please do report back!Added your system to test and will report back with results.
Cheers,
Jim
Reality is merely an illusion, albeit a very persistent one - Albert Einstein
Hello, which program will open the file RayRobot2.mq4 ???
Hi lawserge,
The MetaTrader 4 editor (MetaEditor for short) is the option chosen by most people. It is freely downloadable from the websites of numerous brokers around the world, and also from MetaTrader4.com. Note that doing so is recommended for educational purposes only!
Alternatively the contents of any .MQ4 file can be inspected using the text editor of your choice, such as Notepad for example.
Cheers,
Jim
Reality is merely an illusion, albeit a very persistent one - Albert Einstein
Hi Jim,
i have downloaded the EA and have made some backtesting starting at 2005 on gbpusd. The EA has made 1250 trades and gained approximately 1700 pips with 50 pips stop and 70 pips target. Good results for such a simple strategy without any filter or trend recognition. I have added a little filter. We usually don't want to take long trades in strong downtrending markets und no short trades in strong uptrending markets. I like the commodity channel index indicator because it tells the deviation from a moving average with an absolute number. I know that every moving average is lagging, but in my opinion a lagging filter is better than no filter in an EA. From the backtesting of my strategies i found that the period of 50 makes valuable indication in different timeframes (1day, 4hour and 1hour) if we are in an uptrend or a downtrend. I added this filter to your strategy too. The EA now generates 950 trades makes 2600 pips with 50 pips stop and 70 pips targets. It seems that there are filtered a lot of bad trades. I didn't checked the entire code of your EA and hope that i don't have produced orphaned positions that are never closed and therefore sophiticate the backtesting results. Here are my changes in the CheckEntry() method to accept long trades only of the cci is above -60 and short trades if the cci is below +60:
Are you trading live with your EA? If so, on which pairs and which settings?Code:double cci = iCCI(Symbol(),NULL, 50, PRICE_TYPICAL,0); if(cci > -60.0) { Orders[LONG_UNIT][ORDER_NO] = PendingOrder(Symbol(), LongType, LongEntry, PositionSize(), LongEntry + Points * Target, LongEntry - Points * Stop); if (Orders[LONG_UNIT][ORDER_NO] > 0) { Print("Long entry ", LongEntry, " placed at ", TimeToStr(TimeCurrent())); Orders[LONG_UNIT][ORDER_STATUS] = ORDER_PENDING; } } cci = iCCI(Symbol(),NULL, 50, PRICE_TYPICAL,0); if(cci < 60.0) { Orders[SHORT_UNIT][ORDER_NO] = PendingOrder(Symbol(), ShortType, ShortEntry, PositionSize(), ShortEntry - Points * Target, ShortEntry + Points * Stop); if (Orders[SHORT_UNIT][ORDER_NO] > 0) { Print("Short entry ", ShortEntry, " placed at ", TimeToStr(TimeCurrent())); Orders[SHORT_UNIT][ORDER_STATUS] = ORDER_PENDING; } }
Hi forexpattern,
Thanks for the suggestion! Ray is indeed stupidly simple, and I'm sure he would benefit from some additional simple filters. We'll create RR2-CCI to give your idea a try, and let you know what we come up with in the way of test results. What timeframe were you using for your own tests?
Ray is trading live (and profitably!) on GBP/USD with a number of different brokers. For more information take a look at the live SB comparison test.Are you trading live with your EA? If so, on which pairs and which settings?
Cheers,
Jim
P.S. A new hybrid of RR2 incorporating your suggestion is now available in a thread of his very own. Please wander over there and lets us know if the new Ray behaves the way you would expect.
Last edited by Jim; 04-29-2012 at 06:20 PM. Reason: Added link to RR2-CCI
Reality is merely an illusion, albeit a very persistent one - Albert Einstein
A new version of Ray Robot II, especially for Laurence and Mintaka.
Apart from a number of cosmetic improvements, a significant change is the introduction of an "expiry time" for pending orders. This can be used to prevent the MetaTrader 4 strategy tester booking a hefty profit on a gap opening after the weekend, or overnight for indices. Unfortunately now the backtest results don't look anything like as spectacular
Here's some optimisation results for the DAX on hourly bars:
2012-04-29_RR2_DAX_Opt.png
No longer a sea of bright green I'm afraid. Here's a backtest using the best settings above:
2012-04-29_RR2_DAX_Best.png
An "optimal" profit factor of 1.39 is once again nothing to write home about. However by way of consolation take a good look at Ray's live spread betting test, where despite keeping it stupidly simple, Ray has had five winning months in a row trading daily bars of GBP/USD!
Reality is merely an illusion, albeit a very persistent one - Albert Einstein