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 (5) Thread Tools Display Modes
  #81 (permalink)  
Old 12-11-2006, 08:00 PM
daraknor's Avatar
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
Edit: These dicussions really belong in the Dev thread, didn't intend to release this here since I just hit reply.

It appears that we need to do MarketInfo(Symbol(),MODE_STOPLEVEL)*Point

... line 700 and 701
Code:
NewSLTrade3B=OrderOpenPrice()+NormalizeDouble(((
OrderTakeProfit() -OrderOpenPrice())/2),Digits)- MarketInfo(Symbol(), MODE_STOPLEVEL);
Changes to:
Code:
NewSLTrade3B=OrderOpenPrice()+NormalizeDouble(((
OrderTakeProfit() -OrderOpenPrice())/2),Digits)- MarketInfo(Symbol(), MODE_STOPLEVEL)*Point;
Same change on 715

That is completely my fault. The documentation listed "MODE_STOPLEVEL 14 Stop level in points." but I didn't correct for it :/ That is what weekly builds are for I suppose. Mode 1 may be stable. I'm thinking about releasing 5.6.08 with mode 1 by default, listing the build as "stable" and making Mode 2 and mode 3 labeled "unstable - testing". Might be too complicated, but mode 1 has always appeared stable aside from weird broker issues.

I'm tempted to release a "logging" version as well for testers. It shouldn't be used on a daily basis, but logging would help a lot. I did create nearly 100G of logs on a single backtest (with optimization) but by default logging would be off.

So we have 3 choices...
1) make the two line change and release 5.6.8 as is.
2) Finish the extra logging and release 5.6.8 with logging off by default
3) Change the default mode to Mode 1 (which isn't as powerful but very functional) and release 5.6.8 as stable mode 1 only.

The typical user won't change the mode unless they read the documentation. Maybe when Mode 3 is stable we would mark it by default?

Feedback please...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #82 (permalink)  
Old 12-11-2006, 08:16 PM
Senior Member
 
Join Date: Oct 2006
Location: Margarita Island - Venezuela
Posts: 315
bertbin is on a distinguished road
Arrrggggg !!!!

Where is my third trade (mode3) of USD/JPY 2006/11 dec 11:43 ???
Attached Files
File Type: htm Statement 12 dec.htm (12.9 KB, 41 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #83 (permalink)  
Old 12-12-2006, 02:23 AM
Senior Member
 
Join Date: Dec 2006
Location: Ukraine
Posts: 491
Shinigami is on a distinguished road
Yep, thats error #130 and I thought I posted it. My mistake.
Yep, i've seen *point a lot of times and always wondered what does it do.
Thanks for explanation! I'll try to backtest using modified code.
I think that you can make 5.6.8 without logging and then add a 5.6.8L version with logging. But please include default settings instead of 0. Using prefsettings is good but seeing 0 everywhere makes me confused badly. Or make a pack of the EA and settings for every currency pair.
Also is there a way for me to backtest with 2 different currency pairs with different settings? Like testing EUR and GBP at the same time... If there is, I'd love to test all 4 main pairs on a single backtest (I understand it will take a few hours to do a 2,5 year backtest)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #84 (permalink)  
Old 12-12-2006, 03:05 AM
daraknor's Avatar
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
Phoenix 5.6.08 has been released. Mode 1 is set by default, please continue to help us debug mode 3. We didn't want people loosing money because mode 3 might have errors.
Phoenix - Development+Suggestions - MQ4 in Post#1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #85 (permalink)  
Old 12-12-2006, 06:22 PM
Senior Member
 
Join Date: Oct 2006
Location: Margarita Island - Venezuela
Posts: 315
bertbin is on a distinguished road
Quote:
Originally Posted by daraknor
Phoenix 5.6.08 has been released. Mode 1 is set by default, please continue to help us debug mode 3. We didn't want people loosing money because mode 3 might have errors.
Phoenix - Development+Suggestions - MQ4 in Post#1
Switched yesterday to P5608 around 1100 PM GMT in mode 3
For now new trades openned since : +261
What it will be.. when this mode will NOT have errors !!!!
(Statement if you want)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #86 (permalink)  
Old 12-13-2006, 02:02 PM
Senior Member
 
Join Date: Oct 2006
Location: Margarita Island - Venezuela
Posts: 315
bertbin is on a distinguished road
2006.12.13 01:15:44 Phoenix_EA_v5_6_08 GBPUSD,M15: OrderModify 3 - Error # 6

2006.12.13 09:33:41 Phoenix_EA_v5_6_08 USDJPY,M15: Error Ordersend(138):
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #87 (permalink)  
Old 12-13-2006, 02:26 PM
dswk's Avatar
Senior Member
 
Join Date: Dec 2005
Posts: 281
dswk is on a distinguished road
Quote:
Originally Posted by bertbin
Switched yesterday to P5608 around 1100 PM GMT in mode 3
For now new trades openned since : +261
What it will be.. when this mode will NOT have errors !!!!
(Statement if you want)
Statement welcome... Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #88 (permalink)  
Old 12-13-2006, 05:34 PM
Senior Member
 
Join Date: Oct 2006
Location: Margarita Island - Venezuela
Posts: 315
bertbin is on a distinguished road
Quote:
Originally Posted by dswk
Statement welcome... Thanks.
Mode 3, FXDD, P5608, inside settings
Two statements of yesterday
One to day
start at openning last sunday
Attached Files
File Type: htm Statement 12 dec.htm (12.9 KB, 50 views)
File Type: htm Statement 122 dec.htm (17.8 KB, 29 views)
File Type: htm Statement 13 dec.htm (18.5 KB, 39 views)

Last edited by bertbin; 12-13-2006 at 05:44 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #89 (permalink)  
Old 12-15-2006, 05:21 PM
Senior Member
 
Join Date: Jun 2006
Posts: 248
giapel is on a distinguished road
p570 mode 3

06:35:01 Phoenix_EA_v5_7_0 EURJPY,M15: initialized
14:42:24 Phoenix_EA_v5_7_0 USDCHF,M15: open #2061924508 buy 0.10 USDCHF at 1.2129 sl: 1.2049 tp: 1.2233 ok
14:42:24 Phoenix_EA_v5_7_0 USDCHF,M15: open #2061924510 buy 0.10 USDCHF at 1.2129 sl: 1.2049 tp: 1.2259 ok
14:42:27 Phoenix_EA_v5_7_0 USDCHF,M15: open #2061924512 buy 0.10 USDCHF at 1.2129 sl: 1.2049 tp: 1.2285 ok

I am testing p570 mode 3 on fxdd, this morning and there isn't bugs

I want to thank daraknor for great work about mode 3

giapel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #90 (permalink)  
Old 12-15-2006, 05:50 PM
daraknor's Avatar
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
I should update this thread to let the people who only check here know: 5.7.0 was released last night and it fixes these trade issues. I tested 3 data sources on 5 backtests and didn't get the error any more. (I had to hunt my data collection to cause the error, so this isn't an absolute guarantee.)

Mode 3 has significant changes. I removed the history checking, the global variables and a large part of the detection routine. about 60 lines of code with strange errors and erratic behavior replaced with 3 lines of code that are consistent.

As always, MQ4 file in post #1 of Dev thread. Details in the changelog.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
ordermodify error 1, ordermodify error 130

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/4637-phoenix-faq-stable-user-support-read-post-1-a.html
Posted By For Type Date
Phoenix 2007 (new thread) - Page 60 This thread Refback 06-22-2008 11:02 PM
Phoenix 2007 (new thread) - Page 60 This thread Refback 08-06-2007 06:50 AM
Виртуальная память... - MQL4 форум This thread Refback 07-21-2007 05:50 AM
Firebird EA - fixed version - - Page 109 This thread Refback 07-10-2007 02:31 PM
Forex Factory - Phoenix 2007 (new thread) This thread Refback 07-08-2007 07:16 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to "teach" and to use the AI ("neuron") EA? danil Suggestions for Trading Systems 5 07-15-2008 05:26 PM
dose it posible to creat any function of "mql code" posting in this forum? phoenix Metatrader Programming 20 05-28-2008 04:08 PM
"Gordago Stock Optimizer" - easily generates Expert Advisors De Vinci Tools and utilities 4 05-31-2007 02:27 PM


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



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