Forex



Go Back   Forex Trading > Trading systems > Phoenix
Forex Forum Register More recent Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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: 70
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
MasterMartingale, forex, phoenix


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Phoenix is here! Hendrick Phoenix 374 02-06-2008 04:26 PM
Phoenix optimization Prankie Phoenix 173 10-17-2007 08:24 AM
about gbp/usd chart 10 May 2007 raden mas Post and compare Trades 6 05-10-2007 12:20 PM
AUDJPY History file for 2006-2007 gee Metatrader 4 0 02-24-2007 05:54 PM


All times are GMT. The time now is 09:36 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.