Go Back   Forex-TSD > Trading systems > Martingale/Average Cost and Hedging
Forex Forum Register More recent 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

Reply
 
Thread Tools Display Modes
  #331 (permalink)  
Old 02-02-2008, 07:30 PM
ajk's Avatar
ajk ajk is offline
Senior Member
 
Join Date: Dec 2005
Posts: 261
ajk is on a distinguished road
The programming can be challenging to allow in a martingale. -- I have not reviewed this ea yet... are your orders are individually closed? if so, it is doable.
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!
Reply With Quote
  #332 (permalink)  
Old 02-02-2008, 07:41 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 830
wolfe is on a distinguished road
Quote:
Originally Posted by lcfxtrader View Post
Wolfe,

Let me know when you are up to the task on the correlation grid ea.

LCFX
O.K.
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!
Reply With Quote
  #333 (permalink)  
Old 02-02-2008, 07:44 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 830
wolfe is on a distinguished road
Quote:
Originally Posted by ajk View Post
The programming can be challenging to allow in a martingale. -- I have not reviewed this ea yet... are your orders are individually closed? if so, it is doable.
TFX v1_5 has a Double_Lotsize option in the external variables. Select true if you want each lot size double the previous order.

Pretty risky to do this though.
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!
Reply With Quote
  #334 (permalink)  
Old 02-02-2008, 09:19 PM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,560
ElectricSavant is on a distinguished road
wolfe,

read the reply you quoted...the word was DOable not double..

ES

Quote:
Originally Posted by wolfe View Post
TFX v1_5 has a Double_Lotsize option in the external variables. Select true if you want each lot size double the previous order.

Pretty risky to do this though.
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!
Reply With Quote
  #335 (permalink)  
Old 02-02-2008, 09:29 PM
ajk's Avatar
ajk ajk is offline
Senior Member
 
Join Date: Dec 2005
Posts: 261
ajk is on a distinguished road
You can probably change the 2 to 1.5 on the lot size.
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!
Reply With Quote
  #336 (permalink)  
Old 02-02-2008, 09:37 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 830
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
wolfe,

read the reply you quoted...the word was DOable not double..

ES
Woops! You're right!

Well to answer the actual question:

TFX closes all the orders in a close all loop. Such as this:

PHP Code:
int CBM(int intMagic)//CloseByMagic
{
int intOffset=0;
int Count OTBM(intMagic);

while(
OTBM(intMagic)>&& Count 0)
{
OrderSelect(intOffset,SELECT_BY_POS);
if(
OrderMagicNumber()==intMagic)
{
if(
OrderType()==OP_BUYOrderClose(OrderTicket(),OrderLots(),MarketInfo(OrderSymbol(),MODE_BID),999,Red);
else if(
OrderType()==OP_SELLOrderClose(OrderTicket(),OrderLots(),MarketInfo(OrderSymbol(),MODE_ASK),999,Orange);
Count--;
}
else {
intOffset++;
}
}
return(
0);

Don't know if that's exactly what ajk was asking, but that's how the EA closes orders.
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!
Reply With Quote
  #337 (permalink)  
Old 02-02-2008, 09:50 PM
ajk's Avatar
ajk ajk is offline
Senior Member
 
Join Date: Dec 2005
Posts: 261
ajk is on a distinguished road
Martingales when they hit the tp usually combine a bunch of open orders and close them and "tie them together:. Ea's like bilksem for example
allowes the orders to be managed individually. The weekness of martingales, is basically what you described... letting your profits run. I like this type of ea.. .I just don't know yet on what to do with it.
Also, with Bilksem or with an ea like predator,,, it was only a martingale on the negative after the entry. This is a positive.
These martingales are "beast" and typically blow out---its just the way it is. ..You always have a loser and it goes against you so somehow you have to entend your wins. The programming of that is very, very hard.

Last edited by ajk; 02-02-2008 at 10:09 PM.
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!
Reply With Quote
  #338 (permalink)  
Old 02-02-2008, 09:50 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 830
wolfe is on a distinguished road
Another back test to illustrate the implementation of a trailing stop used to close the cycle.

In this test after your profit was >= $10.00, a trailing stop was initiated, and would close all orders if you lost more than 50% of your HIGHEST total orders positive profit.

Should be fun to test, still have some work to do. Notice the HUGE draw down spike towards the end.
Attached Images
File Type: gif PH4.gif (10.3 KB, 215 views)
Attached Files
File Type: htm PH4.htm (373.2 KB, 30 views)
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!
Reply With Quote
  #339 (permalink)  
Old 02-02-2008, 10:26 PM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,560
ElectricSavant is on a distinguished road
I do not mean to be a downer here...I have toi first find something that goes positive to EVEN consider a TS..

I like the indicator dependent entry idea better..

ES


Quote:
Originally Posted by wolfe View Post
Another back test to illustrate the implementation of a trailing stop used to close the cycle.

In this test after your profit was >= $10.00, a trailing stop was initiated, and would close all orders if you lost more than 50% of your HIGHEST total orders positive profit.

Should be fun to test, still have some work to do. Notice the HUGE draw down spike towards the end.
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!
Reply With Quote
  #340 (permalink)  
Old 02-02-2008, 10:30 PM
ajk's Avatar
ajk ajk is offline
Senior Member
 
Join Date: Dec 2005
Posts: 261
ajk is on a distinguished road
well, you put a lot of work and time into it. so.. kudos for everyone ... I think you have somewhat of a winner... to early to tell however as like I would preach... the martingale is death trap. please shar if you get that ts to work.
the indicator entry is better. not that hard to modify what is there. Good entries are always hard to comeby.

Last edited by ajk; 02-02-2008 at 10:56 PM.
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!
Reply With Quote
Reply

Bookmarks

Tags
Baggio, best martingale ea, digitrend_gyro, ea martingale, forex martingale, grid martingale, martingale, martingale ea, martingale ea download, martingale ea forex, martingale expert advisor, martingale forex, Martingale mt4, tfx v1_8


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Martingale Trend EA criss73 Expert Advisors - Metatrader 4 8 11-20-2008 01:56 AM
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 10:05 AM.



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