Forex



Go Back   Forex Trading > Trading systems > Phoenix
Forex Forum Register More recent Blogs 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

 
 
Thread Tools
 
Old 03-17-2007, 12:10 AM
Junior Member
 
Join Date: Oct 2006
Posts: 15
ejlamarque is on a distinguished road
Bertbin

I am runing Phoenix 6 Alpha and Phoenix 6 Alpha Easy
I just post Expert and Journal report regard today in Live post.
It is ok or ...? Tell me please.
Good weekend
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!
 
Old 03-17-2007, 04:20 AM
Senior Member
 
Join Date: Oct 2006
Location: Margarita Island - Venezuela
Posts: 324
bertbin is on a distinguished road
Quote:
Originally Posted by ejlamarque
I am runing Phoenix 6 Alpha and Phoenix 6 Alpha Easy
I just post Expert and Journal report regard today in Live post.
It is ok or ...? Tell me please.
Good weekend

Yes and have a good we...
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!
 
Old 03-18-2007, 03:57 AM
Pcontour's Avatar
Senior Member
 
Join Date: Nov 2006
Location: Canada
Posts: 176
Pcontour is on a distinguished road
Is these little Bugs

Quote:
case 1440:
W_Trade_PERIOD="D1"; break;
case 10080:
W_Trade_PERIOD="D1"; break; //xox D7
case 43200:
W_Trade_PERIOD="D1"; break; //xox D30
Should the last two D1 entries be D7 and D30?
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!
 
Old 03-18-2007, 04:01 AM
Pcontour's Avatar
Senior Member
 
Join Date: Nov 2006
Location: Canada
Posts: 176
Pcontour is on a distinguished road
Clarification

Daraknor

This code is correct
if (!disableBuy && !disableSell)
But I would rather not see a double negative. People will have trouble with it.
if (enableBuy || enableSell)
I will send you the code by email
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!
 
Old 03-18-2007, 04:14 AM
Pcontour's Avatar
Senior Member
 
Join Date: Nov 2006
Location: Canada
Posts: 176
Pcontour is on a distinguished road
Daraknor

The section followed by

//it looks funny, but it above statement is properly closed.

It is properly closed but I think is actually not doing what you want, I added a few brackets and will send you the code.

Last edited by Pcontour; 03-18-2007 at 04:36 AM.
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!
 
Old 03-18-2007, 04:35 AM
Pcontour's Avatar
Senior Member
 
Join Date: Nov 2006
Location: Canada
Posts: 176
Pcontour is on a distinguished road
Quote:
bool OrderModify( int ticket, double price, double stoploss, double takeprofit, datetime expiration, color arrow_color=CLR_NONE)
Modification of characteristics for the previously opened position or pending orders. If the function succeeds, the returned value will be TRUE. If the function fails, the returned value will be FALSE. To get the detailed error information, call GetLastError() function.
So
int results= OrderModify ( ticket, OrderOpenPrice(), sl, OrderTakeProfit(), 0, Red );

if(results!=(-1)) return(true);
else return(false);
could be coded

bool result= OrderModify ( ticket, OrderOpenPrice(), sl, OrderTakeProfit(), 0, Red );

return (result)
or the best perhaps - this will reduce a few CPU cycles
return ( OrderModify ( ticket, OrderOpenPrice(), sl, OrderTakeProfit(), 0, Red ) );
Daraknor
Which one will have less instruction?
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!
 
Old 03-19-2007, 02:56 PM
Senior Member
 
Join Date: Nov 2006
Posts: 289
autumnleaves is on a distinguished road
EASY signal misfiring

I figured out why the EASY signal is not working properly. It is currently taking the haClose value from the very first bar and sticking with it. haClose has to be defined so that it updates on every bar. Any suggestions.
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!
 
Old 03-19-2007, 11:17 PM
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 Pcontour
So
int results= OrderModify ( ticket, OrderOpenPrice(), sl, OrderTakeProfit(), 0, Red );

if(results!=(-1)) return(true);
else return(false);
could be coded

bool result= OrderModify ( ticket, OrderOpenPrice(), sl, OrderTakeProfit(), 0, Red );

return (result)
or the best perhaps - this will reduce a few CPU cycles
return ( OrderModify ( ticket, OrderOpenPrice(), sl, OrderTakeProfit(), 0, Red ) );
Daraknor
Which one will have less instruction?
I changed my style for order modify to this:

if(OrderModify(ticket,OrderOpenPrice(),sl,OrderTak eProfit(),0,Red)!=(-1)) LogError();

No variables needed, and the intended consequence is handled in line next to the event, instead of in a different chunk of code. LogError() basically does a GetLastError() and then write it to a log file.
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!
 
Old 03-19-2007, 11:32 PM
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 autumnleaves
I figured out why the EASY signal is not working properly. It is currently taking the haClose value from the very first bar and sticking with it. haClose has to be defined so that it updates on every bar. Any suggestions.
Old way is:
Code:
double haClose1 = (PRICE_OPEN + PRICE_HIGH + PRICE_LOW + PRICE_CLOSE)*(0.25);
But I'd recommend (and I think PContour might have as well):
Code:
double haClose1 = (Open[1] + High[1] + Low[1] + Close[1])*0.25;
The second one will give you the previous bar data. You can use Open[0] but it is the current bar and hasn't been completely written. To save a little on computing time if you are doing a lot of bar related activities is to only compute when a new bar is drawn:
Code:
int barcount; //Global variable at the top of the EA
double haClose1; //Global variable
init()
{ //... all of the normal init information
   barcount=Bars;
}
//Indicator code:
if(Bars>barcount) 
{
  haClose1 = (Open[1] + High[1] + Low[1] + Close[1])*0.25;
  barcount=Bars;
}
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!
 
Old 03-20-2007, 12:04 AM
Senior Member
 
Join Date: Nov 2006
Posts: 289
autumnleaves is on a distinguished road
EASY signal fix

Darak or anyone, do you have an idea how to fix the EASY signal? haClose needs to be defined on the current bar so that the result will be meaningful.
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!
 

Bookmarks

Tags
ffcall, forex
Thread Tools

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 - Development+Suggestions - MQ4 in Post#1 daraknor Phoenix 435 10-18-2009 08:08 PM
Phoenix 2007 (new thread) Hendrick Phoenix 1329 08-30-2009 03:16 PM
Phoenix is here! Hendrick Phoenix 374 02-06-2008 04:26 PM
Phoenix optimization Prankie Phoenix 173 10-17-2007 08:24 AM
Expert Advisor Upgrader - Turn Simple Into Superb Scorpion Tools and utilities 7 04-13-2007 02:01 AM


All times are GMT. The time now is 02:30 PM.



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