Forex



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
 
Thread Tools Display Modes
  #141 (permalink)  
Old 01-20-2008, 10:15 PM
Neo Neo is offline
Member
 
Join Date: Jun 2006
Posts: 46
Neo is on a distinguished road
Has version 1.3 been posted somewhere and I've overlooked it?
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
  #142 (permalink)  
Old 01-20-2008, 10:27 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by Neo View Post
Has version 1.3 been posted somewhere and I've overlooked it?
Not posted yet. I'm going to test for 3 - 4 hours with live market before posting. I will post tonight.
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
  #143 (permalink)  
Old 01-21-2008, 01:59 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
v1_3

Here is v1_3.

This version should hopefully prove to be more stable.

v1_3 MUST have TFX_Include_v1_2.mqh saved to your include folder to operate.
v1_3 also uses stdlib.mqh which should already be in your libraries folder.

I have only let this run live for about 3 hours. So far I haven't had any problems. It will take much longer testing to work out any potential bugs in the code.

One thing I noticed is that if a bar runs away VERY fast, your next trade will probably not get hit where you set Next_Trade to activate. This may be a limitation in mq4. The only way around this that I can think of is setting pending orders. I never liked pending orders because they let the broker know exactly what you're up to. Next_Trade is coded to activate at >= or <= your pip parameter.

Please make sure to read ALL external variable comments in the code.

If you want to see the stored Global Variable info for the last order placed press f3, or go to tools/Global Variables.

Happy testing.
Attached Files
File Type: mq4 TFX v1_3.mq4 (20.3 KB, 226 views)
File Type: mqh TFX_Include_v1_2.mqh (2.5 KB, 178 views)

Last edited by wolfe; 01-21-2008 at 02:12 AM.
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
  #144 (permalink)  
Old 01-21-2008, 02:17 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,354
ElectricSavant is on a distinguished road
wolfe,

nice touch in the upper left...I wanted to report I loaded the EA effortlessly and all seems to be functioning in the early minutes..

This EA is a class act and running like a swiss watch! (so far )

I will be providing a "log in" to the Demo on the very hard USD/JPY in my Blog as soon as I can discover this is well running enough.

ES

Quote:
Originally Posted by wolfe View Post
Here is v1_3.

This version should hopefully prove to be more stable.

v1_3 MUST have TFX_Include_v1_2.mqh saved to your include folder to operate.
v1_3 also uses stdlib.mqh which should already be in your libraries folder.

I have only let this run live for about 3 hours. So far I haven't had any problems. It will take much longer testing to work out any potential bugs in the code.

One thing I noticed is that if a bar runs away VERY fast, your next trade will probably not get hit where you set Next_Trade to activate. This may be a limitation in mq4. The only way around this that I can think of is setting pending orders. I never liked pending orders because they let the broker know exactly what you're up to. Next_Trade is coded to activate at >= or <= your pip parameter.

Please make sure to read ALL external variable comments in the code.

If you want to see the stored Global Variable info for the last order placed press f3, or go to tools/Global Variables.

Happy testing.

Last edited by ElectricSavant; 01-21-2008 at 02:20 AM.
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
  #145 (permalink)  
Old 01-21-2008, 02:22 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
wolfe,

nice touch in the upper left...I wanted to report I loaded the EA effortlessly and all seems to be functioning in the early minutes..

This EA is a class act and running like a swiss watch! (so far )

I will be providing a "log in" to the Demo on the very hard USD/JPY in my Blog as soon as I can discover this is well running enough.

ES
Upper left courtesy of omelette. I liked what he did.

Lets hope all is well with TFX!
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
  #146 (permalink)  
Old 01-21-2008, 02:39 AM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by wolfe View Post
.....One thing I noticed is that if a bar runs away VERY fast, your next trade will probably not get hit where you set Next_Trade to activate. This may be a limitation in mq4. The only way around this that I can think of is setting pending orders. I never liked pending orders because they let the broker know exactly what you're up to.....
You could set the 'Slippage' parameter in Ordersend to a bigger value, or try successively increasing it after each failure until you are 'successful' - not a recommendation 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
  #147 (permalink)  
Old 01-21-2008, 03:37 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by omelette View Post
You could set the 'Slippage' parameter in Ordersend to a bigger value, or try successively increasing it after each failure until you are 'successful' - not a recommendation though.....
That's a thought. Why not a recommendation? Because your slippage would be out of control?
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
  #148 (permalink)  
Old 01-21-2008, 03:49 AM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by wolfe View Post
That's a thought. Why not a recommendation? Because your slippage would be out of control?
Because widening the spread is often one of the brokers little games designed to lose you money. It couldn't hurt to try out on a demo 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
  #149 (permalink)  
Old 01-21-2008, 08:01 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,354
ElectricSavant is on a distinguished road
wolfe,

So far so good...

A cosmetic little picky thing...to make this EA more aesthetic.

CloseByLoss should not require a minus sign...you should be able to code the value entered in the input to ALWAYS be a negative and do not even allow the minus sign character to be entered there.

As you know...If the user does not put the minus sign there and he is using CloseByLoss (not percent) then he will get the trades opening and closing immediatley.

Now I could be weird about this and many users may not find this change necessary and may not agree.

ES

P.S. wolfe, I also agree with you about using market orders...The dealer has no way to know what this EA is doing the way you coded this...

P.P.S. by the way.... wolfe, LCFX and omelette Thank You for this EA. This is just awesome how everybody worked on this public EA together.

Stay tuned in my Blog for TFX trading...

ES

Last edited by ElectricSavant; 01-21-2008 at 08:13 AM.
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
  #150 (permalink)  
Old 01-21-2008, 09:54 AM
Senior Member
 
Join Date: Feb 2007
Posts: 176
lcfxtrader is on a distinguished road
Wolfe,

It looks like the last trade progression for the EUR/USD is incorrect. Please see pic and advise. Thanks for the updated EA.

LCFX
Attached Images
File Type: bmp progression size error.bmp (480.1 KB, 401 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
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

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 02:56 AM
Reversed martingale mrv Expert Advisors - Metatrader 4 6 07-26-2007 01:28 AM
Leverage for martingale frantacech Expert Advisors - Metatrader 4 0 05-22-2007 02:17 PM
Martingale EAs? icepeak Expert Advisors - Metatrader 4 5 01-18-2007 03:21 AM
Martingale EA newdigital Expert Advisors - Metatrader 3 2 05-23-2006 03:42 PM


All times are GMT. The time now is 11:05 PM.



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