Forex
Google
New signals service!

Go Back   Forex Trading > Trading systems > Martingale/Average Cost and Hedging


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 (20) Thread Tools Display Modes
  #131 (permalink)  
Old 01-20-2008, 01:40 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 2,716
ElectricSavant is on a distinguished road
I have not tested that part of it yet...there was an alert screen problem...but then you fixed that and I never re-tested it...I will let you know when 1.3 is released.

for a BO entry that was a nice upgrade.

ES

Quote:
Originally Posted by wolfe View Post
Thanks for the compliment. I hope this new version will operate much more smoothly than the previous versions.

Is there anything else I should consider while I'm messing with the code? How do you like the Use_Manual_Entry option from v1_2?

I'll probably post in about 24hrs, after I can test for a while after market open on Sun.
__________________
ElectricSavant Challenge™ (Ends 10/09/08)

Live Portfolio (This takes a while to download as it is a big excel spreadsheet)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #132 (permalink)  
Old 01-20-2008, 06:09 AM
Junior Member
 
Join Date: Oct 2006
Posts: 3
Autumm is on a distinguished road
Excellent thread we are having here...i believe the way to go with this is to have small tp target and fixed steps lots increment and we should survive.

Eagerly awaiting v1_3!!

Last edited by Autumm; 01-20-2008 at 06:30 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #133 (permalink)  
Old 01-20-2008, 02:54 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 682
wolfe is on a distinguished road
Quote:
Originally Posted by Autumm View Post
Excellent thread we are having here...i believe the way to go with this is to have small tp target and fixed steps lots increment and we should survive.

Eagerly awaiting v1_3!!
Looking forward to you helping the testing process.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #134 (permalink)  
Old 01-20-2008, 04:22 PM
WNW's Avatar
WNW WNW is offline
Senior Member
 
Join Date: Feb 2006
Location: Motown, USA
Posts: 384
WNW is on a distinguished road
Quote:
Originally Posted by wolfe View Post
Looking forward to you helping the testing process.
My only concern is the apparent problem with trading orders stopping..
I've looked in the logs and journal, I see no error messages reported.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #135 (permalink)  
Old 01-20-2008, 05:44 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 682
wolfe is on a distinguished road
Quote:
Originally Posted by WNW View Post
My only concern is the apparent problem with trading orders stopping..
I've looked in the logs and journal, I see no error messages reported.
New version should hopefully fix this problem. I'll post it after a few hours of market open today. I want to test a little before posting. I'll still need help searching for bugs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #136 (permalink)  
Old 01-20-2008, 07:41 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 682
wolfe is on a distinguished road
v1_3 will print to the trade log if the following errors occur while trying to place an order:

case 4: error_string="trade server is busy";
case 6: error_string="no connection with trade server";
case 128: error_string="trade timeout";
case 134: error_string="not enough money";
case 136: error_string="off quotes";
case 137: error_string="broker is busy (never returned error)";
case 138: error_string="requote";
case 146: error_string="trade context is busy";
case 148: error_string="amount of open and pending orders has reached the limit";

It should then re-try OrderSend() a set number of times, controlled through external variable Number_Of_Tries before it gives up and prints:

Print("Error opening Additional order : ", ErrorDescription(Error));

Time will tell if these new code additions will help the functionality of TFX.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #137 (permalink)  
Old 01-20-2008, 07:53 PM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 2,716
ElectricSavant is on a distinguished road
dude... TFX rules...

will you be my guru..lol (satirically speaking )

ES


Quote:
Originally Posted by wolfe View Post
v1_3 will print to the trade log if the following errors occur while trying to place an order:

case 4: error_string="trade server is busy";
case 6: error_string="no connection with trade server";
case 128: error_string="trade timeout";
case 134: error_string="not enough money";
case 136: error_string="off quotes";
case 137: error_string="broker is busy (never returned error)";
case 138: error_string="requote";
case 146: error_string="trade context is busy";
case 148: error_string="amount of open and pending orders has reached the limit";

It should then re-try OrderSend() a set number of times, controlled through external variable Number_Of_Tries before it gives up and prints:

Print("Error opening Additional order : ", ErrorDescription(Error));

Time will tell if these new code additions will help the functionality of TFX.
__________________
ElectricSavant Challenge™ (Ends 10/09/08)

Live Portfolio (This takes a while to download as it is a big excel spreadsheet)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #138 (permalink)  
Old 01-20-2008, 08:55 PM
Senior Member
 
Join Date: Jun 2006
Posts: 235
giapel is on a distinguished road
hi,
i am following this thread with great interest, now i am back testing ea using lot increment = 0, because i accoutn must survive.
can you post .set file ? ( to setup sl_percent tp_percent ...)

thanks in advance
giapel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #139 (permalink)  
Old 01-20-2008, 09:04 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 682
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
dude... TFX rules...

will you be my guru..lol (satirically speaking )

ES
Let's hope it works the way I have envisioned it. My brain is fryed from coding.

v1_3 has twice as much code in it as v1_2.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #140 (permalink)  
Old 01-20-2008, 09:06 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 682
wolfe is on a distinguished road
Quote:
Originally Posted by giapel View Post
hi,
i am following this thread with great interest, now i am back testing ea using lot increment = 0, because i accoutn must survive.
can you post .set file ? ( to setup sl_percent tp_percent ...)

thanks in advance
giapel
Read the comments in the code for the external variables. This will help you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
martingale

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 On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/martingale-average-cost-hedging/11734-martingale-ea.html
Posted By For Type Date
ea - learn to trade forex swicki - powered by eurekster This thread Refback 06-05-2008 05:34 PM
[intraday]martingale strategy dan variasinya - Page 6 - Forexindo Forum This thread Refback 04-04-2008 02:15 AM
TFX v1.5 Expert Adviser - The Money Guru Forum - Money Making Discussions This thread Refback 03-31-2008 04:36 PM
Download 10points3 Ea - Type Your Search Here This thread Refback 03-12-2008 12:38 AM
Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo This thread Refback 03-08-2008 07:36 PM
Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo This thread Refback 03-07-2008 06:27 AM
Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo This thread Refback 03-07-2008 02:27 AM
Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo This thread Refback 03-05-2008 12:56 AM
Bright Idea's :: View topic - TFX Public EA Thread (work in progress) This thread Refback 02-29-2008 12:05 PM
Martingale Baggio Method - Page 11 This thread Refback 02-27-2008 08:59 PM
Martingale Baggio Method - Page 11 This thread Refback 02-27-2008 04:07 PM
Martingale Baggio Method - Page 11 This thread Refback 02-27-2008 04:04 PM
Martingale Baggio Method - Page 10 This thread Refback 02-25-2008 05:50 PM
Martingale Baggio Method - Page 10 This thread Refback 02-25-2008 05:07 PM
Martingale Baggio Method - Page 10 This thread Refback 02-25-2008 05:05 PM
Bright Idea's :: View topic - TFX Public EA Thread (work in progress) This thread Refback 02-23-2008 06:38 PM
Bright Idea's :: View topic - TFX Public EA Thread (work in progress) This thread Refback 02-04-2008 05:15 AM
Bright Idea's :: View topic - TFX Public EA Thread (work in progress) This thread Refback 02-03-2008 04:01 AM
Bright Ideas™ » TFX (an amazing EA) This thread Refback 01-15-2008 05:26 PM
World of Forex Trading » Martingale EA This thread Pingback 01-11-2008 01:33 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Martingale Trend EA criss73 Expert Advisors - Metatrader 4 7 11-17-2007 01:57 PM
Reversed martingale mrv Expert Advisors - Metatrader 4 6 07-26-2007 12:28 AM
Leverage for martingale frantacech Expert Advisors - Metatrader 4 0 05-22-2007 01:17 PM
Martingale EAs? icepeak Expert Advisors - Metatrader 4 5 01-18-2007 02:21 AM
Martingale EA newdigital Expert Advisors - Metatrader 3 2 05-23-2006 02:42 PM


All times are GMT. The time now is 08:36 AM.



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