Forex
Google
New signals service!

Go Back   Forex Trading > Trading systems > Phoenix


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (40) Thread Tools Display Modes
  #491 (permalink)  
Old 11-05-2006, 04:06 AM
Junior Member
 
Join Date: Sep 2006
Posts: 18
corner_h is on a distinguished road
Goooood job

really good job Hendrick in all directions
First position in ATC new Phoenix developments and I'm sure a lot of friends
too
just wanted to say that there's nothing wrong with "goodlooking secretary...." idea
And
anything I can do for you......as a neibourgh??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #492 (permalink)  
Old 11-05-2006, 05:36 AM
scout's Avatar
Junior Member
 
Join Date: Oct 2006
Posts: 23
scout is on a distinguished road
Quote:
Originally Posted by eooojj
manual? wow...that means you sit infront of the computer 24hrs for 6 days ?

hehe, of course not, in the day time i work in a company and after work i could watch MT4 and make some trades of live account. GMT time is 8 hours slower than Beijing(china) time, between 20:00 to 23:00 of Beijing time is the most active time frame of world forex market, so i can make some trades after work, drinking some tea, watching tv...and thanks for phoenix system, it doesn't make too many trades in a week, about 3-5 trades per week. definitely we could make it manually with other forex trading client software than MT3,MT4.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #493 (permalink)  
Old 11-05-2006, 05:40 AM
Junior Member
 
Join Date: Oct 2005
Location: Costa Rica
Posts: 5
lgvh is on a distinguished road
Thumbs up Maybe some code correction

I just want to add my seed to your great job Mr. Hendrick and of course congrats for your actual 1st place in the competition.

I found that when using the MicroAccount=true, the LotsOptimized() function are not returning the properly value. Follows the original code:
double LotsOptimized()
{
if(MM==false) return(Lots);
double lot=Lots;
int orders=HistoryTotal();
int losses=0;

lot=NormalizeDouble(AccountFreeMargin()*MaximumRis k/1000.0,1);
if(DecreaseFactor>0)
{
for(int i=orders-1;i>=0;i--)
{
if(OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)==fals e) { Print("Error in history!"); break; }
if(OrderSymbol()!=Symbol() || OrderType()>OP_SELL) continue;
//----
if(OrderProfit()>0) break;
if(OrderProfit()<0) losses++;
}
if(losses>1) lot=NormalizeDouble(lot-lot*losses/DecreaseFactor,1);
}

if(lot<0.1) lot=0.1;
if(MicroAccount==true) {lot=lot/10;}
if(lot>99) lot=99;
return(lot);
}
My solution to correct the problem is the following code:
double LotsOptimized()
{
if(MM==false) return(Lots);
double lot=Lots;
int orders=HistoryTotal();
int losses=0;
int decimalPlaces=1;

if(MicroAccount==true) decimalPlaces=2;
lot=NormalizeDouble(AccountFreeMargin()*MaximumRis k/1000.0,decimalPlaces);
if(DecreaseFactor>0)
{
for(int i=orders-1;i>=0;i--)
{
if(OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)==fals e) { Print("Error in history!"); break; }
if(OrderSymbol()!=Symbol() || OrderType()>OP_SELL) continue;
//----
if(OrderProfit()>0) break;
if(OrderProfit()<0) losses++;
}
if(losses>1) lot=NormalizeDouble(lot-lot*losses/DecreaseFactor,decimalPlaces);
}

if(lot<0.1 && MicroAccount==false) lot=0.1;
if(lot<0.01 && MicroAccount==true) lot=0.01;
if(lot>99) lot=99;
return(lot);
}
Hope to see you in the first winners place !!!

Last edited by lgvh; 11-05-2006 at 05:44 AM. Reason: Edited to change the uppercase of one variable
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #494 (permalink)  
Old 11-05-2006, 06:06 AM
Hendrick's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 501
Hendrick is on a distinguished road
Quote:
Originally Posted by lgvh
I just want to add my seed to your great job Mr. Hendrick and of course congrats for your actual 1st place in the competition.

I found that when using the MicroAccount=true, the LotsOptimized() function are not returning the properly value. Follows the original code:
double LotsOptimized()
{
if(MM==false) return(Lots);
double lot=Lots;
int orders=HistoryTotal();
int losses=0;

lot=NormalizeDouble(AccountFreeMargin()*MaximumRis k/1000.0,1);
if(DecreaseFactor>0)
{
for(int i=orders-1;i>=0;i--)
{
if(OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)==fals e) { Print("Error in history!"); break; }
if(OrderSymbol()!=Symbol() || OrderType()>OP_SELL) continue;
//----
if(OrderProfit()>0) break;
if(OrderProfit()<0) losses++;
}
if(losses>1) lot=NormalizeDouble(lot-lot*losses/DecreaseFactor,1);
}

if(lot<0.1) lot=0.1;
if(MicroAccount==true) {lot=lot/10;}
if(lot>99) lot=99;
return(lot);
}
My solution to correct the problem is the following code:
double LotsOptimized()
{
if(MM==false) return(Lots);
double lot=Lots;
int orders=HistoryTotal();
int losses=0;
int decimalPlaces=1;

if(MicroAccount==true) decimalPlaces=2;
lot=NormalizeDouble(AccountFreeMargin()*MaximumRis k/1000.0,decimalPlaces);
if(DecreaseFactor>0)
{
for(int i=orders-1;i>=0;i--)
{
if(OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)==fals e) { Print("Error in history!"); break; }
if(OrderSymbol()!=Symbol() || OrderType()>OP_SELL) continue;
//----
if(OrderProfit()>0) break;
if(OrderProfit()<0) losses++;
}
if(losses>1) lot=NormalizeDouble(lot-lot*losses/DecreaseFactor,decimalPlaces);
}

if(lot<0.1 && MicroAccount==false) lot=0.1;
if(lot<0.01 && MicroAccount==true) lot=0.01;
if(lot>99) lot=99;
return(lot);
}
Hope to see you in the first winners place !!!
Hi,

I've tried your code but still have the same problem: lot size will not get any lower than 0.1 with MicroAccount=true. I think this is caused by the fact that my demo-account don't allow lot sizes less than 0.1. If it's working for you then please let me know which broker you're using for your demo-account. Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #495 (permalink)  
Old 11-05-2006, 06:19 AM
Junior Member
 
Join Date: Oct 2005
Location: Costa Rica
Posts: 5
lgvh is on a distinguished road
Wink

There are three brookers I know that let you trade micro accounts with EA in Metatrader:

http://www.RealTrade.lv
http://www.interbankfx.com
http://www.neuimex.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #496 (permalink)  
Old 11-05-2006, 07:12 AM
Hendrick's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 501
Hendrick is on a distinguished road
Quote:
Originally Posted by fikko
Dear Hendrick,

About the lot calculation for Money Management, I think if Phoenix run for USDJPY for risk 0.3 and GBPJPY for risk 0.3, then the trade amount for $10,000 account is 3 Lot for each. Currently Phoenix 5 doesn't open the same lot for second trade. It is true, it is not based on free margin.

But there is one thing should be taken into consideration is Leverage.

I copy and paste the code from Cyberia EA, which is actually quite good in determining number of lots open. You can place Phoenix into many Currencies, but perhaps only 2 order open at the same time. (SymbolCounts=2)

The code is using OrderTotal(), however this may need to be changed, because Phoenix may open 5 trades for 1 currency!!

And I think you may need more "Risk" variables for each of classic, double trade and 123.
Fikko,

I'm not sure what you mean with "Phoenix may open 5 trades for 1 currency". If that's the case then I think you have more than 1 Mode set as True. You have to set only one of the three modes set as True.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #497 (permalink)  
Old 11-05-2006, 08:55 AM
HerbertH's Avatar
Member
 
Join Date: May 2006
Posts: 88
HerbertH is on a distinguished road
Quote:
Originally Posted by Hendrick
Fikko,

I'm not sure what you mean with "Phoenix may open 5 trades for 1 currency". If that's the case then I think you have more than 1 Mode set as True. You have to set only one of the three modes set as True.
Hendrick,

May I suggest to have the code changed to set Phoenixmode=1, 2 or 3 instead of the 3 booleans for mode switching, which can be set to true at the same time by accident or without knowing?

Regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #498 (permalink)  
Old 11-05-2006, 09:00 AM
Hendrick's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 501
Hendrick is on a distinguished road
Quote:
Originally Posted by HerbertH
Hendrick,

May I suggest to have the code changed to set Phoenixmode=1, 2 or 3 instead of the 3 booleans for mode switching, which can be set to true at the same time by accident or without knowing?

Regards
Great idea Herbert! Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #499 (permalink)  
Old 11-05-2006, 09:08 AM
daraknor's Avatar
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
Quote:
Originally Posted by Hendrick
Hi,

In the first place I strongly believe in sharing knowledge. Suppose you are my neighbour and you have a problem with, let's say, your pc. As it happens I know a lot about PC's and I not only solve your problem within minutes but I also teach you how to deal with these problems in the future. And the next time you will help me with my broken lawn mower because you know all about these machines! And that's the basic of sharing knowledge; Helping each other!!!

You are not my neighbour, but now we have the Internet and all the people in the world (if they can connect to the Internet) became suddenly neighbours and can help each other with all kind of problems by just sharing their knowledge (Internet will be described in the history books as one of the greatest revolutions of this century). So this is what I'm doing. I can make Expert Advisors and share my knowledge with other people. No more, no less.

On the other hand I have my limits. I have to be honest about that. If there's a big spender over there that's offering me a job as a developer with a nice office, the best pc in the world, a nice looking secretary and with the restriction to not make my products publicly available, I think I will accept that (just dreaming now!). But it will never change my thoughts about the concept of sharing knowledge! Never!
You might enjoy reading "Ishmael" by Daniel Quinn, talking about Tribal businesses and communities Don't believe Quinn's math, but the concepts and ideas are rather similar to what you are saying above. I too am a strong believer in sharing of knowledge. I'm doing what I can to keep the sharing happening in this community, and you are doing the same. You are doing more inspirational work than I am by far though! Great job!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #500 (permalink)  
Old 11-05-2006, 12:14 PM
wilson1668's Avatar
Member
 
Join Date: Nov 2006
Location: Hong Kong
Posts: 65
wilson1668 is on a distinguished road
Red face

Quote:
Originally Posted by saltcafe
FXDD told me that their demo & live feeds are identical as well, however I don't have a live account to validate their claim.
If you go to have a look of the trading platform's directly, (fxdd-metatrader)\config\***.srv, you may see 2 *.srv files, one is *-live.srv and the other is *-demo.srv. Therefore, it is hard to say the datafeed for the Live & Demo are the same.

Of course, many other brokers do the same.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
MasterMartingale

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/phoenix/4012-phoenix-2007-new-thread.html
Posted By For Type Date
MEGA PORTAL - FOREX PIVOTS BRASIL - Frum de Discusso: Automated Trading Championship 2006 This thread Refback 09-17-2008 08:41 PM
TSDΥեؤΥ | 1ߤܻؤ This thread Refback 02-20-2008 04:47 PM
Diskuzn frum Financnik.cz :: Se Sidem o Forexu :: MetaTrader 4 This thread Refback 02-07-2008 02:05 PM
forexinvestimentos.com :: Verificar tpico - Phoenix 2007 This thread Refback 02-05-2008 02:06 PM
Phoenix 2007 (new thread) - Page 44 This thread Refback 01-30-2008 08:38 AM
ƾ << axhc123ղؼ << ղؼ This thread Refback 01-25-2008 03:22 AM
Campeonato de experts Metatrader 2006 This thread Refback 12-27-2007 05:51 AM
Phoenix 2007 This thread Refback 12-14-2007 10:43 AM
Phoenix 2007 (new thread) - Page 45 This thread Refback 12-08-2007 12:44 AM
Phoenix 2007 This thread Refback 11-27-2007 05:02 PM
Phoenix 2007 (new thread) - Page 59 This thread Refback 11-19-2007 01:25 AM
Forum De l'or en barre, impressionant !! sur Daily-Bourse.fr This thread Refback 11-13-2007 07:42 PM
Новости - Automated Trading Championship 2006 This thread Refback 11-10-2007 05:26 PM
forexinvestimentos.com :: Verificar tpico - Phoenix 2007 This thread Refback 11-06-2007 01:18 PM
Phoenix 2007 This thread Refback 11-04-2007 01:29 PM
zykem's bookmarks tagged with This thread Refback 11-01-2007 09:44 AM
Phoenix 2007 (new thread) - Forex Trading << ղؼ This thread Refback 10-26-2007 04:04 AM
Phoenix 2007 This thread Refback 10-16-2007 12:03 PM
Profile Hendrick - Automated Trading Championship 2006 This thread Refback 10-05-2007 05:41 PM
Diskuzn frum Financnik.cz :: Se Sidem o Forexu :: MetaTrader 4 This thread Refback 09-29-2007 10:02 AM
Профиль Hendrick - Automated Trading Championship 2006 This thread Refback 09-21-2007 04:45 PM
Phoenix 2007 (new thread) - Page 59 This thread Refback 09-17-2007 09:02 PM
Phoenix 2007 This thread Refback 09-11-2007 09:17 AM
forexinvestimentos.com :: Verificar tpico - Phoenix 2007 This thread Refback 09-07-2007 07:37 AM
forexinvestimentos.com :: Verificar tpico - Phoenix 2007 This thread Refback 08-15-2007 11:21 AM
forexinvestimentos.com :: Verificar tpico - Campeonato de experts Metatrader 2006 This thread Refback 07-24-2007 05:08 PM
Interview with Alexander Egorov (Aver) - Automated Trading Championship 2006 This thread Refback 07-23-2007 08:50 AM
Profile Hendrick - Automated Trading Championship 2006 This thread Refback 07-22-2007 02:56 AM
Профиль Hendrick - Automated Trading Championship 2006 This thread Refback 07-19-2007 05:40 AM
Профиль Hendrick - Automated Trading Championship 2006 This thread Refback 07-19-2007 05:39 AM
Profile Hendrick - Automated Trading Championship 2006 This thread Refback 07-18-2007 05:15 PM
Interview with Alexander Egorov (Aver) - Automated Trading Championship 2006 This thread Refback 07-17-2007 08:40 PM
Profile Hendrick - Automated Trading Championship 2006 This thread