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
  #61 (permalink)  
Old 01-14-2008, 07:49 PM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 2,696
ElectricSavant is on a distinguished road
I again stand corrected...shall we start a poll?

What do you call this EA if you do not use the doubling input? also how would you explain the pyramiding in the same direction if you did...

ES

Quote:
Originally Posted by sunwest View Post
I have always known the term "martingale" for betting strategy referring to "doubling your bet after each loss until a win"

Here is the wikipedia version:
Martingale (betting system) - Wikipedia, the free encyclopedia

Keep the good work Wolfe,
Sunwest
__________________
ElectricSavant Challenge™ (Ends 10/09/08)

Live Portfolio (This takes a while to download as it is a big excel spreadsheet)

Last edited by ElectricSavant; 01-14-2008 at 07:53 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #62 (permalink)  
Old 01-14-2008, 07:53 PM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 2,696
ElectricSavant is on a distinguished road
I like omy's suggestion"

"modified martingale"


what do you guys think?

ES
__________________
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
  #63 (permalink)  
Old 01-14-2008, 08:02 PM
sunwest's Avatar
Member
 
Join Date: Jan 2006
Location: London
Posts: 93
sunwest is on a distinguished road
Yes I like it too, I am also thinking at:

- Positive progression
- Positive modified martingale
- Positive progressive Lot sizing
- Positive progression Martingale lot sizing
- Positive progression modified Martingale lot sizing

Sunwest
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #64 (permalink)  
Old 01-14-2008, 08:09 PM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 2,696
ElectricSavant is on a distinguished road
Now that I am up to speed can the moderator just delete all these posts and give this poor thread author his thread back

ES
__________________
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
  #65 (permalink)  
Old 01-14-2008, 09:07 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,084
omelette is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
I like omy's suggestion"

"modified martingale"


what do you guys think?

ES
It's not my creation - this is the phrase I have often seen used to describe it...

I agree with your final post about 'uncluttering' the thread though - if a moderator would be so kind...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #66 (permalink)  
Old 01-14-2008, 10:01 PM
Junior Member
 
Join Date: Jul 2007
Posts: 3
guess121 is on a distinguished road
hi wolfe...

this is the exact EA that I have been looking... you are a god send!!!

thank you very much!

could you please do me a favour and modify the code to do the following, as I see everything else is in place.

1. i want the ea to have a start time and a end time, so the ea starts at a specific time and closes all trades at a specific time and true or false feature to use this feature.

2. based on the TP and SL the order is gone in the direction of E/MA that you already have in place, but say if the TP hit, then the EA closes off and shutdowns for the day, if you are using the timeframe feature set to true, then the EA starts again tomorrow at that time and does all the same again. If you do not hit TP and hit SL, then the order via MM that you already have, lot size doubles and the trade goes in the direction the EA got stopped out based on the first trade SL and TP again and it does this until either MAX TRADE hit or end time or TP hit and then the EA closes down and starts again tomorrow.

this is what i think works, I have been back testing and if correctly used, this will win most of the time.

if you could do this, i hope... then thank you much!!!!

regards,
guess

Quote:
Originally Posted by wolfe View Post
A few days ago I received a PM to code an EA with the following parameters:

-User decides initial trade direction (let's say long) and starting lot size (say .1 lot)
-New position would be added every time the market moves x pips (say 10 pips) up or down away from the most recent position taken. If market moves up from the original position 10 pips a new long is added. If the market moves down 10 pips from the last position a short is added (basically following the market looking to catch a trend in either direction).
-Each new position size increased by x (ex: .1 lot)
-Take profit based on account %
-Stop loss based on account %
-Max number of standard lots before EA can't taken any new positions (at this point the T/P or S/L will need to be hit when max is reached)
-Re-enter mode would start a new progression again once the prior progression has ended do to T/P or S/L being hit
-Magic number to run on multiple pairs

I did my best to code such an EA.

The expert I made uses a .mqh file that must be saved in your include folder.
The expert WILL NOT function without it.

All are welcome to critique or improve the code I wrote. PLEASE read ALL the comments in the code to understand the external variables. Default settings are just a guess, testing and optimization needs to be performed.

I'm not sure if this strategy is viable, these type of experts can get you into trouble quick! So use for testing only!

The EA starts by using a EMA for initial long or short starting direction. Just an idea. Maybe someone has a better idea?

Enjoy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #67 (permalink)  
Old 01-15-2008, 01:41 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 682
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
Now that I am up to speed can the moderator just delete all these posts and give this poor thread author his thread back

ES
Don't worry, I enjoy reading all discussion.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #68 (permalink)  
Old 01-15-2008, 01:49 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 682
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
I like omy's suggestion"

"modified martingale"


what do you guys think?

ES
Maybe Martingale EA was a bad name for the thread. Modified Martingale would have fit better. Glad to create so much controversy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #69 (permalink)  
Old 01-15-2008, 02:02 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 682
wolfe is on a distinguished road
Thank you to everyone for all your ideas and input to better the EA. You all have some great ideas.

When I get a chance I'll try to add all the great ideas to the EA. Anyone who feels they can better the EA is more than welcome.

Everyone has their own ideas as to what would make this a better EA. What I'm going to attempt to do is try to add all the ideas, and the user can decide how they want their "modified martingale" set up.

Should make for one long list of external variables.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #70 (permalink)  
Old 01-15-2008, 02:04 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 2,696
ElectricSavant is on a distinguished road
wow,

If I could enter in the high to enter and the low to enter and let the price decide which side to start...this would be an EA that I might take live and test in forward testing with your permission...

ES


Quote:
Originally Posted by wolfe View Post
Thank you to everyone for all your ideas and input to better the EA. You all have some great ideas.

When I get a chance I'll try to add all the great ideas to the EA. Anyone who feels they can better the EA is more than welcome.

Everyone has their own ideas as to what would make this a better EA. What I'm going to attempt to do is try to add all the ideas, and the user can decide how they want their "modified martingale" set up.

Should make for one long list of external variables.
__________________
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
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 12:53 AM.



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