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
  #21 (permalink)  
Old 01-12-2008, 05:27 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by lcfxtrader View Post
Any suggestions? Your progression is exactly what I was trying to achieve.
I have re-arranged the code to try and fix your problem. This may or may not fix the problem. Try v1_1.

Don't forget to save the Include.mqh file in your include folder
Attached Files
File Type: mq4 TFX v1_1.mq4 (6.8 KB, 303 views)
File Type: mqh TFX_Include.mqh (2.2 KB, 249 views)

Last edited by wolfe; 01-13-2008 at 05:52 AM. Reason: Re-posting the Include file
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
  #22 (permalink)  
Old 01-13-2008, 03:01 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Take this for what it's worth. Which probably isn't much. Here is one optimized back test for v1_1 run on FXDD data for only 1 month. This was the month I was able to achieve 90% modeling quality.
Attached Files
File Type: htm TFX v1_1 backtest.htm (105.5 KB, 339 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
  #23 (permalink)  
Old 01-13-2008, 08:23 PM
Junior Member
 
Join Date: Jan 2008
Posts: 4
Alextr is on a distinguished road
Downloaded the results, noticed that:
Short positions (won %) 72 (44.44%) Long positions (won %) 80 (77.50%)

Great result for Long posiitions I'll take a look at the expert...
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
  #24 (permalink)  
Old 01-13-2008, 08:37 PM
Junior Member
 
Join Date: Jan 2008
Posts: 4
Alextr is on a distinguished road
What am I making wrong???
I tested the expert for the same period with same settings but i got completely different results:
Attached Images
File Type: gif StrategyTester.gif (9.8 KB, 1400 views)
Attached Files
File Type: htm StrategyTester.htm (76.9 KB, 43 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
  #25 (permalink)  
Old 01-13-2008, 10:35 PM
WNW's Avatar
WNW WNW is offline
Senior Member
 
Join Date: Feb 2006
Location: Motown, USA
Posts: 394
WNW is on a distinguished road
First, thanks for your work and the EA.

I've been fooling around with this idea for a long time using cobbled-together EA's.

What I've learned is that this can be a very profitable strategy, but if you use any lot multiplier you can quickly get in trouble in a ranging market. No lot multiplier (meaning a lot multiplier of "1") works best, meaning using the same size lot for each trade. Leave all trades open until you have a net profit and then close all open and pending trades.
Another problem with a multiplier is that as you add lots, you're adding leverage. This can work both for and against you in that you may hit your profit target, but by the time you've closed out your positions you may have a loss in a fast market. Being highly leveraged can cause a profit to turn to a loss quickly if volatility is up.

I would also like to suggest the option for "no indicator", meaning a pure grid system based on price action alone.
I may be speaking out of turn as I haven't tried the EA yet, but another suggestion is that the EA leave all existing trades open when the indicators suggest a trend change.

I'm eager to try your EA.
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
  #26 (permalink)  
Old 01-13-2008, 11:22 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by Alextr View Post
Downloaded the results, noticed that:
Short positions (won %) 72 (44.44%) Long positions (won %) 80 (77.50%)

Great result for Long posiitions I'll take a look at the expert...
You just have different historical data than I do. Your test was run on a different server. This is why I said take it for what it's worth. (which probably isn't much)

The strategy tester is a nice tool to use, but not reliable. How else do you explain 2 separate tests run with the same parameters with such different results?

The strategy tester is great to see if an EA is running properly, and to help zero in on the proper external variables to use. Unfortunately, that is probably all it's good for.
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
  #27 (permalink)  
Old 01-13-2008, 11:35 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by WNW View Post
First, thanks for your work and the EA.

I've been fooling around with this idea for a long time using cobbled-together EA's.

What I've learned is that this can be a very profitable strategy, but if you use any lot multiplier you can quickly get in trouble in a ranging market. No lot multiplier (meaning a lot multiplier of "1") works best, meaning using the same size lot for each trade. Leave all trades open until you have a net profit and then close all open and pending trades.
Another problem with a multiplier is that as you add lots, you're adding leverage. This can work both for and against you in that you may hit your profit target, but by the time you've closed out your positions you may have a loss in a fast market. Being highly leveraged can cause a profit to turn to a loss quickly if volatility is up.

I would also like to suggest the option for "no indicator", meaning a pure grid system based on price action alone.
I may be speaking out of turn as I haven't tried the EA yet, but another suggestion is that the EA leave all existing trades open when the indicators suggest a trend change.

I'm eager to try your EA.
The way the "multiplier" works is this:

if Double_Lotsize=false, then first order will = Start_Lot_Size, each additional order will ADD Lot_Size_Increment to the last order's lot size.

if Double_Lotsize=true, then first order will = Start_Lot_Size, each additional order will be DOUBLE the previous order, and Lot_Size_Increment is ignored.
(A risky way to go)

If you want to have the same lot size every trade set Double_Lotsize=false, and Lot_Size_Increment=0.

As the EA works now, ALL the indicator does is decide which direction the first trade starts. After the first trade it does nothing, until all trades close, then the indicator is used for direction of the new progression.

Any and ALL ideas are welcomed. Thanks for your input.
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
  #28 (permalink)  
Old 01-14-2008, 12:51 AM
WNW's Avatar
WNW WNW is offline
Senior Member
 
Join Date: Feb 2006
Location: Motown, USA
Posts: 394
WNW is on a distinguished road
Thanks!

This backtests just fine and I'm demoing it on the Euro.

Lot size = 0.1, no incrementing, MA=1 on 1H. TP = .01.
Already showing profit in less than an hour.

If you could add MM as an option that would make it even better..!

Thanks again.

Last edited by WNW; 01-14-2008 at 01:09 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
  #29 (permalink)  
Old 01-14-2008, 02:24 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by WNW View Post
This backtests just fine and I'm demoing it on the Euro.

Lot size = 0.1, no incrementing, MA=1 on 1H. TP = .01.
Already showing profit in less than an hour.

If you could add MM as an option that would make it even better..!

Thanks again.
Like to see your forward test after a day.

You want MM for lot sizing?
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
  #30 (permalink)  
Old 01-14-2008, 05:49 AM
WNW's Avatar
WNW WNW is offline
Senior Member
 
Join Date: Feb 2006
Location: Motown, USA
Posts: 394
WNW is on a distinguished road
Quote:
Originally Posted by wolfe View Post
Like to see your forward test after a day.

You want MM for lot sizing?
Yes, especially as you already have a TP based on equity %.

I'll post results after it's run for a few days.
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 03:25 AM.



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