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
  #201 (permalink)  
Old 01-24-2008, 03:43 AM
Senior Member
 
Join Date: Nov 2006
Posts: 230
teldon is on a distinguished road
you are one hell of a wolfe, good job and thanks for your help in this forum, guys like you are what keeps this stuff going....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #202 (permalink)  
Old 01-24-2008, 07:15 AM
Senior Member
 
Join Date: Jun 2006
Posts: 114
Cijas is on a distinguished road
Talking No errors (except comments) and i began to win a little

Quote:
Originally Posted by wolfe View Post
Glad you like the EA. A little surprised you're trading live, it's still in development. I'm glad you are using with low risk settings. Good luck, I wish you success.

Have you had any errors?
Hi again, i have no patience so i don't take many times before trading live with a system which seems good (good EA, good logic behind).

I had no errors except the wrong comments.

Curently i have about 1 078 $ so i had about 4 % of increasing of my balance yesterday ith your EA.

Anyway i just change some settings : 150 pips between trades, 2 % TP, 10 % SL.

i did it cause i want to avoid at maximum the up and down trades and i guess 150 pips is a good way to catch the trend.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #203 (permalink)  
Old 01-24-2008, 12:04 PM
Junior Member
 
Join Date: Jan 2008
Location: Brooklyn
Posts: 22
bdht is on a distinguished road
Wow. Did I not read the instructions correctly? Attached is my experience w/ a period of 2 days w/ M5, EURUSD and FXDD.
Attached Files
File Type: htm TFX_v1.3_M5_EURUSD.htm (145.6 KB, 78 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #204 (permalink)  
Old 01-24-2008, 12:16 PM
Junior Member
 
Join Date: Oct 2007
Posts: 10
Almos is on a distinguished road
I must admit that this is the most promising and exciting (and working) EA I've ever seen in my lifetime. At last an EA that needs just marketmovings - anywhere.
I'm actually playing with optimising "Next trade".
Thank you for the great job, wolfe!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #205 (permalink)  
Old 01-24-2008, 12:21 PM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 2,716
ElectricSavant is on a distinguished road
almos,

If you find something that works can you post your set file?

ES

Quote:
Originally Posted by Almos View Post
I must admit that this is the most promising and exciting (and working) EA I've ever seen in my lifetime. At last an EA that needs just marketmovings - anywhere.
I'm actually playing with optimising "Next trade".
Thank you for the great job, wolfe!
__________________
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
  #206 (permalink)  
Old 01-24-2008, 12:23 PM
Junior Member
 
Join Date: Oct 2007
Posts: 10
Almos is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
almos,

If you find something that works can you post your set file?

ES
Of course, I'm following the topic since it's start.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #207 (permalink)  
Old 01-24-2008, 12:35 PM
Junior Member
 
Join Date: Oct 2007
Posts: 10
Almos is on a distinguished road
Quote:
Originally Posted by bdht View Post
Wow. Did I not read the instructions correctly? Attached is my experience w/ a period of 2 days w/ M5, EURUSD and FXDD.
Do I see well that you changed the "Next trade" parameter to 5?
This is too low, imagine how many times moves the market as low as 5 pips.
Try to set it at least to 10-15-20 or above to reduce the risk and make it accurate.
Or if you want it to open positions after 5 pips moving, it would be better to increase your closing profit/loss rate - be the loss rate much more than the profit.

Last edited by Almos; 01-24-2008 at 04:01 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #208 (permalink)  
Old 01-24-2008, 02:15 PM
Neo Neo is offline
Junior Member
 
Join Date: Jun 2006
Posts: 26
Neo is on a distinguished road
Wink

Hi, Wolfe - congrats on what you've done and thought these few points might help...

1) you have lots of code replication in v1_3 - you should be able to get a 50% reduction in the number of code lines and do away with the header file in the process - that will also simplify installation/updates for users. If you'd like some help with changing the code then PM me.

2) you don't need to use any global variables at all if you include an open orders checking routine at the beginning of the file - it would actually simplify things and speed up the processing as your routines in the header file are called multiple times during each pass and are replicating the work.

3) you certainly don't need to be changing magic numbers - just check for a combination of magic number and Symbol()

4) to prevent "context busy" issues, you're best to include a wait loop checking for server availability - something like this...

while (!IsTradeAllowed() && !IsStopped())
{
Sleep(1000);
}

if (IsTradeAllowed() && !IsStopped())
{
RefreshRates();
Put order code here.....
}

...and ensure that you use RefreshRates() nearby any order placement command to minimise/prevent requotes

5) your CBM routine will fail if it encounters an order in the order list where no magic numbre was used - some EAs do this and all manually entered orders

6) for any interrogation of the orders list, it's good practice to traverse a known number of entries (use OrdersTotal() - 1 to get the current count)...

...if you are closing / deleting orders then run your loop from the highest to lowest entry. If just reading the information then direction doesn't matter unless your code depends on it for instance, here is some code from one of my other EAs which could be placed at the top of your start() routine and would collect all the information you need in one fell swoop and allow you to dispose of the global variables too...

Orders = OrdersTotal() - 1;
for (Order = 0; Order < Orders; Order++)
{
if (OrderSelect(Order, SELECT_BY_POS))
{
if (OrderMagicNumber() == Reference && OrderSymbol() == Symbol())
{
LastTicket = OrderTicket();
LastPrice = OrderOpenPrice();
LastLots = OrderLots();
Count++;
Profit = Profit + OrderProfit() + OrderSwap() + OrderCommission();
if (OrderType() == OP_BUY)
{
Count_B++;
Profit_B = Profit_B + OrderProfit() + OrderSwap() + OrderCommission();
}
if (OrderType() == OP_SELL)
{
Count_S++;
Profit_S = Profit_S + OrderProfit() + OrderSwap() + OrderCommission();
}
}
}
else
{
Print("Unable to select order in list position: ", Order);
Trade_Allowed = false;
return(0);
}
}


Hope that helps,

Neo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #209 (permalink)  
Old 01-24-2008, 08:15 PM
Junior Member
 
Join Date: Jan 2008
Location: Brooklyn
Posts: 22
bdht is on a distinguished road
Quote:
Originally Posted by Almos View Post
Do I see well that you changed the "Next trade" parameter to 5?
This is too low, imagine how many times moves the market as low as 5 pips.
Try to set it at least to 10-15-20 or above to reduce the risk and make it accurate.
Or if you want it to open positions after 5 pips moving, it would be better to increase your closing profit/loss rate - be the loss rate much more than the profit.
Ok, thanks, Almos. I'll certainly try this method. I usually read the instructions thoroughly. Must've skipped something this time...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #210 (permalink)  
Old 01-24-2008, 09:35 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 682
wolfe is on a distinguished road
Quote:
Originally Posted by teldon View Post
you are one hell of a wolfe, good job and thanks for your help in this forum, guys like you are what keeps this stuff going....
Thanks for the compliments and encouragement teldon.
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 05:48 AM.



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