Forex
Google

Go Back   Forex Trading > Trading systems > Martingale/Average Cost and Hedging
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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
  #121 (permalink)  
Old 01-18-2008, 12:59 AM
ElectricSavant's Avatar
ElectricSavant ElectricSavant is offline
Senior Member
 
Join Date: Jun 2007
Posts: 2,387
ElectricSavant is on a distinguished road
What if I do not want to double, but instead use 0.01 increments...can I still do that?

or...

Could I get a version like that?

ES

Last edited by ElectricSavant : 01-18-2008 at 01:07 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #122 (permalink)  
Old 01-18-2008, 01:08 AM
wolfe's Avatar
wolfe wolfe is offline
Senior Member
 
Join Date: Jan 2006
Posts: 673
wolfe is on a distinguished road
Omelette,

I have a question about part of your code revision:

In the following code should the second GlobalVariableCheck be !GlobalVariableCheck("TFX_v1.2_LastSellTicket")?

PHP Code:
if (OTBM(Magic_Number) == || !GlobalVariableCheck("TFX_v1.2_LastBuyTicket")
 || !
GlobalVariableCheck("TFX_v1.2_LastBuyTicket")|| !GlobalVariableCheck("TFX_v1.2_CurrentTicket")) {
 
GlobalVariableSet("TFX_v1.2_LastBuyTicket",0);
 
GlobalVariableSet("TFX_v1.2_LastSellTicket",0);
 
GlobalVariableSet("TFX_v1.2_CurrentTicket",0); }
else { 
LastBuyTicket GlobalVariableGet("TFX_v1.2_LastBuyTicket");
 
LastSellTicket GlobalVariableGet("TFX_v1.2_LastSellTicket");
 
Ticket GlobalVariableGet("TFX_v1.2_CurrentTicket"); } 
Thanks again for the great help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #123 (permalink)  
Old 01-18-2008, 01:18 AM
wolfe's Avatar
wolfe wolfe is offline
Senior Member
 
Join Date: Jan 2006
Posts: 673
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
What if I do not want to double, but instead use 0.01 increments...can I still do that?

or...

Could I get a version like that?

ES
Do you mean like it operated before? It'll do that in v1_3. Working on v1_3 with all the operational improvements.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #124 (permalink)  
Old 01-18-2008, 01:24 AM
omelette omelette is offline
Senior Member
 
Join Date: Jan 2006
Posts: 989
omelette is on a distinguished road
Quote:
Originally Posted by wolfe View Post
Omelette,

I have a question about part of your code revision:

In the following code should the second GlobalVariableCheck be !GlobalVariableCheck("TFX_v1.2_LastSellTicket")?

PHP Code:
if (OTBM(Magic_Number) == || !GlobalVariableCheck("TFX_v1.2_LastBuyTicket")
 || !
GlobalVariableCheck("TFX_v1.2_LastBuyTicket")|| !GlobalVariableCheck("TFX_v1.2_CurrentTicket")) {
 
GlobalVariableSet("TFX_v1.2_LastBuyTicket",0);
 
GlobalVariableSet("TFX_v1.2_LastSellTicket",0);
 
GlobalVariableSet("TFX_v1.2_CurrentTicket",0); }
else { 
LastBuyTicket GlobalVariableGet("TFX_v1.2_LastBuyTicket");
 
LastSellTicket GlobalVariableGet("TFX_v1.2_LastSellTicket");
 
Ticket GlobalVariableGet("TFX_v1.2_CurrentTicket"); } 
Thanks again for the great help.
Yes it should, sorry about that. To answer your other question, yes, hopefully, this will now pick up and carry on after a reset.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #125 (permalink)  
Old 01-18-2008, 01:24 AM
lcfxtrader lcfxtrader is offline
Senior Member
 
Join Date: Feb 2007
Posts: 130
lcfxtrader is on a distinguished road
Wolfe & Omelette,

I appreciate you guys working on this EA. I hope in the end that it will be highly profitable for us.

Thanks,
LCFX
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #126 (permalink)  
Old 01-18-2008, 01:35 AM
ElectricSavant's Avatar
ElectricSavant ElectricSavant is offline
Senior Member
 
Join Date: Jun 2007
Posts: 2,387
ElectricSavant is on a distinguished road
awesome,

I am looking forward to v 1.3...doubling will blow accounts...I need 0.01 increments.

ES
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #127 (permalink)  
Old 01-18-2008, 04:59 AM
wolfe's Avatar
wolfe wolfe is offline
Senior Member
 
Join Date: Jan 2006
Posts: 673
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
awesome,

I am looking forward to v 1.3...doubling will blow accounts...I need 0.01 increments.

ES
v1_3 is coming along nicely. Thanks to omelette I have Glogal Variables figured out. v1_3 will act the same as v1_2 only better. The last order ticket, last open price, and last lot size will be saved to global variables. This means if the EA gets shut off, or power is interrupted, the EA will pick up where it left off when it's re-started. These changes should also alleviate lot size incremantation problems.

I'm also going to make order send commands print errors, and re-try if an error occurs.

Don't worry, 0.01, 0.02, 0.03, 0.04...... increments will be possible.

Hope to have v1_3 ready for market open next week.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #128 (permalink)  
Old 01-19-2008, 09:14 PM
wolfe's Avatar
wolfe wolfe is offline
Senior Member
 
Join Date: Jan 2006
Posts: 673
wolfe is on a distinguished road
v1_3 more or less is done. I would like to test when market opens a little bit before posting. To assure the functionality is working properly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #129 (permalink)  
Old 01-19-2008, 09:26 PM
ElectricSavant's Avatar
ElectricSavant ElectricSavant is offline
Senior Member
 
Join Date: Jun 2007
Posts: 2,387
ElectricSavant is on a distinguished road
wolfe,

what a relief! I have a link in my Blog to this thread. I do not like to post things in my Blog until they are tested throughly. But I feel so strongley about this EA and it's prospects for profitability that I went ahead and posted your work in my Blog.

anyways...this trader appreciates your thoughtful and consciencious work...

Stay tuned for the "log-in" info to the Demo account testing in the Blog, under the TFX page that is dedicated just to TFX..

ES




Quote:
Originally Posted by wolfe View Post
v1_3 more or less is done. I would like to test when market opens a little bit before posting. To assure the functionality is working properly.

Last edited by ElectricSavant : 01-19-2008 at 09:30 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #130 (permalink)  
Old 01-20-2008, 01:08 AM
wolfe's Avatar
wolfe wolfe is offline
Senior Member
 
Join Date: Jan 2006
Posts: 673
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
wolfe,

anyways...this trader appreciates your thoughtful and consciencious work...
ES
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB 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 05:02 AM.