What does
Pip Cop do?


Go Back   Home > Forums > Forex Robot Reviews > Current Live robot Reviews

» Welcome to the Pip Cop - Forex Robot Reviews and forums.
PipCop reviews MetaTrader Forex robots (EA's) in real-time and posts detailed statements every 15 minutes.
We ONLY forward test on real accounts for the most accurate robot reviews!

Be smart! Read the Review FAQ or you WILL lose money!
If you enjoy the site, please let me know by registering or donating! Thanks! -- PipCop
P.S. This message is hidden if you register!
Current Live robot Reviews Current forward tests of MetaTrader Forex robots (Expert Advisors)
Reply
 
LinkBack Thread Tools Display Modes
Old 2010-07-01, 04:44 AM   #1 (permalink)
Rookie Pip Officer
 
Trader for 4 - 8 years
Location: Italy
Posts: 11

Default EurUsdDaily Robot

I'm the developer of this robot.
The robot performs good on the EURUSD Daily chart.
You can choose how many Lots you want to trade starting from 0.1.
In the attachments there are the test results from 2009.01.01 to 2010.06.30 with a demo fxcm account with 1:100 leverage and the executable file of the robot.
You can test the robot and post here your impressions.
Thanks in advance to everyone that will test the robot
Attached Thumbnails
EurUsdDaily Robot-testgraph.jpg  
Attached Files
File Type: ex4 EurUsdDaily.ex4 (7.1 KB, 174 views)
7pask7 is offline   Reply With Quote
   
 
Old 2010-07-01, 09:50 AM   #2 (permalink)
Site Supporter
 
rsmereka's Avatar
 
Trader for 8 - 12 years
Location: Southwestern Ontario, Canada
Posts: 1,777
My Trading Journal


Trading Live with:
Forex Hacked(Copier)
Default

Thanks and Welcome,

I ran your EA as provided through a nine year backtest on an Alpari UK demo account at the default 0.10 fixed lot size. Results as attached.

Highlights:
1. 64.63% profit total over nine years, 7.18% per year
2. 9.12% maximum DD
3. 334 total trades, 37.11 trades per year, 3.09 trades per month

In the next test, I am going to run the optimizer on the lot size.

Rick
Attached Files
File Type: pdf Strategy_Tester_ EurUsdDaily-1.pdf (117.5 KB, 128 views)
__________________
MyFXBook Live Statement Mt4Analysis

Last edited by rsmereka; 2010-07-01 at 09:52 AM.
rsmereka is offline   Reply With Quote
Old 2010-07-01, 10:21 AM   #3 (permalink)
Rookie Pip Officer
 
Trader for 4 - 8 years
Location: Italy
Posts: 11

Default

Thanks for you test

Do you calculate the profit total on the 10000€ account?
I guess that this type of result is meaningless cause with the 0.1 fixed lot size you don't use all the money on your account. For example I could do the same trades with a 1000€ account and have the same profit...

I'll wait for your optimization results on the DD and your conclusions. Thanks for your time
7pask7 is offline   Reply With Quote
Old 2010-07-01, 10:53 AM   #4 (permalink)
Site Supporter
 
rsmereka's Avatar
 
Trader for 8 - 12 years
Location: Southwestern Ontario, Canada
Posts: 1,777
My Trading Journal


Trading Live with:
Forex Hacked(Copier)
Default

You are Welcome,

Yes, the profit was calculated on the total profit.

The result is not meaningless but it highlights the fact that this EA really needs money management logic.

Here is the optimization report on the lot size. I started with 0.10 lots (which is pass 1) and increased 0.10 per pass so pass 10 is actually 1.0 lots.

The DD really increases as the lot size is increased. At 1.0 lots, the profit is about 544% over the nine years but the DD is almost 84% which I think you would agree is unacceptable.

This is a nice EA. I like the equity curve. Ideally, I would like to see this EA with:

1. A way to control the magic number
2. As I mentioned above, it really needs money management and I would also like to see the lot size not only calculated on the balance (or free margin ) but also tied into the ATR so that the lot size increases when the volatility increases.
3. I also hope that this EA plays nice with other possible EA's in the account by keeping track of it's orders and only modifying it's own orders.

Rick
Attached Files
File Type: pdf Opt_EurUsdDaily.pdf (57.2 KB, 59 views)
__________________
MyFXBook Live Statement Mt4Analysis

Last edited by rsmereka; 2010-07-01 at 11:07 AM.
rsmereka is offline   Reply With Quote
Old 2010-07-01, 11:05 AM   #5 (permalink)
Rookie Pip Officer
 
Trader for 4 - 8 years
Location: Italy
Posts: 11

Default

For the magic number I can make it an extern variable so you can change it as you want
It already modifies only the orders with his magic number. I guess that this changes are easy to do, so I'll release soon the next versions with this mods
For the money management I guess that there is a few work to do, if you have some suggestions I'll be glad to try them.
Thanks a lot for your time!
7pask7 is offline   Reply With Quote
Old 2010-07-01, 11:54 AM   #6 (permalink)
Site Supporter
 
rsmereka's Avatar
 
Trader for 8 - 12 years
Location: Southwestern Ontario, Canada
Posts: 1,777
My Trading Journal


Trading Live with:
Forex Hacked(Copier)
Default

An extern for the magic number is the way to go.

For money management , I think you should add adnother extern double called risk. Your lot size calculation would be something like:

Code:
lots = Normalizedouble(AccountFreeMargin() * risk / SL , 2);
Where risk is the extern double and SL is the stop loss in pips.

The above assumes that risk is expressed as a fraction (eg: 2% risk would be
0.02 not 2.0) and the stop loss is expressed as five decimals (not four) so 50 pips would be 500 not 50. This brings up the issue of four/five decimal brokers. The best way to deal with this is in your EA, you have the following:
Code:
// these are globals
double pt, mt;
int dg;

int init()
{
   /* Sets up three global variables dg (digits in current pair), pt (modified point 
      factor) and mt (which is a multipler). */
   dg = Digits;

   if (dg == 3 || dg == 5)
      {
      pt = Point  * 10;
      mt = 10;
      }
   else
      {
      pt = Point ;
      mt = 1;
      }

   return(0);
}
This way, the SL can be expressed properly (eg: 50 pips is 50 not 500) and your lot size calculation would work like:
Code:
lots = Normalizedouble(AccountFreeMargin() * risk / SL  / pt, 2);
If you also wanted the lot size based on the ATR, try this instead:
Code:
atr = iATR(NULL, 0, 14, 0);
lots = Normalizedouble(AccountFreeMargin() * risk / SL  / pt / (mt * 10 * atr));
This first calculates the 14 bar ATR and then uses that volatility factor in the lot size calculation.

My math may not be perfect so please debug everything before even backtesting.

Here is an interesting Blog about MQL4 and position sizing. The author does not address the issue of the four or five decimal broker .

Rick
__________________
MyFXBook Live Statement Mt4Analysis

Last edited by rsmereka; 2010-07-01 at 01:28 PM.
rsmereka is offline   Reply With Quote
Old 2010-07-02, 02:56 AM   #7 (permalink)
Rookie Pip Officer
 
Trader for 4 - 8 years
Location: Italy
Posts: 11

Default

I modified the EA, so now you can put the magic number that you prefer
In the next days I'll try to find a good money management strategy for the EA and post the new version. Have a nice day
Attached Files
File Type: ex4 EurUsdDaily.ex4 (7.2 KB, 56 views)
7pask7 is offline   Reply With Quote
Old 2010-07-02, 09:48 AM   #8 (permalink)
Rookie Pip Officer
 
Trader for 4 - 8 years
Location: Italy
Posts: 11

Default

This is the EA with some money management .
You can set the variable Risk from 1 (0.1-0.5 lots) to 10 (1-5 lots).
Try it and let me know what you think about it.
In the attachments there are the test reports for the Risk set to 1,5 and 10.
Have a nice day
Attached Files
File Type: pdf Risk1.pdf (155.2 KB, 81 views)
File Type: pdf Risk5.pdf (154.4 KB, 41 views)
File Type: pdf Risk10.pdf (155.0 KB, 55 views)
File Type: ex4 EurUsdDaily.ex4 (8.7 KB, 91 views)

Last edited by 7pask7; 2010-07-02 at 09:54 AM.
7pask7 is offline   Reply With Quote
Old 2010-07-06, 04:49 PM   #9 (permalink)
Site Supporter
 
rsmereka's Avatar
 
Trader for 8 - 12 years
Location: Southwestern Ontario, Canada
Posts: 1,777
My Trading Journal


Trading Live with:
Forex Hacked(Copier)
Default

Thanks for the updated EA.

I ran a strategy test at risk 10 which is very close to the values that you got at risk 10 with a couple of differences:

1. your test has 8 mismatched charts errors
2. the overall profit of my test is a little lower
3. the DD of my test is way higher (there was a period early in the test when the entire account was almost blown)

I am running an optimization on the risk from 5 to 10 in 0.10 increments. I will publish it here once it finishes running.

Rick
Attached Files
File Type: pdf Strategy_Tester_ EurUsdDaily_Risk_10.pdf (115.8 KB, 58 views)
__________________
MyFXBook Live Statement Mt4Analysis
rsmereka is offline   Reply With Quote
Old 2010-07-07, 04:43 AM   #10 (permalink)
Rookie Pip Officer
 
Trader for 4 - 8 years
Location: Italy
Posts: 11

Default

Thanks for your test, I guess that the DD is still to high...
Wich is, for you, an acceptable DD-profit ratio?
I'm trying to improve the ratio but it requires some good ideas and a lot of work.
Thanks again for your time
7pask7 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT -5. The time now is 06:08 AM.

Powered by vBulletin ®
Site content and design Copyright © 2010 PipCop, LLC.
Site designed, hosted, and maintained by One Web Ave
Template by vBSkinworks.
Content Relevant URLs by vBSEO 3.3.2