Forex



Go Back   Forex Trading > Trading systems > Martingale/Average Cost and Hedging
Forex Forum Register More recent Blogs 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
  #371 (permalink)  
Old 02-07-2008, 02:11 PM
Senior Member
 
Join Date: May 2006
Posts: 156
waltini is on a distinguished road
Hi Wolfe

Hi Wolfe, many thanks for sharing your great EA! Having spent an unhealthy amount of time with grid trading I did add a couple of things to your ea for myself but I think they are handy for testing purposes.

In the comments I like to have the lowest equity achieved recorded

double HighestEquity=0,LowestEquity=10000000;

if(AccountEquity()>HighestEquity){HighestEquity=No rmalizeDouble(AccountEquity(),2);}

if(AccountEquity()<LowestEquity){LowestEquity=Norm alizeDouble(AccountEquity(),2);}

This tells me if I could realistically suffer that much pain in real life.

Another handy tool is a line on the chart showing where the equity close will happen.

int deinit()
{
if(ObjectFind("BreakEven")==0){
ObjectDelete("BreakEven");
}
//----

//----
return(0);
}

double UltimateLots=0,RealPipValue,OrderProfits,PipLoss,B reakEven;

if(TotalLots>BuyLots)
{UltimateLots=TotalLots-BuyLots;
RealPipValue=UltimateLots*MarketInfo(Symbol(),MODE _TICKVALUE);
OrderProfits=OpenProfit + ClosedProfit;
PipLoss=(OrderProfits-ProfitTarget)/RealPipValue;
BreakEven=(Ask + PipLoss*Point)-4*Point;}

// Spread=MarketInfo("GBPUSD",MODE_SPREAD);
// Print("Spread is ",Spread);


if (ObjectFind("BreakEven") != 0)
{
ObjectCreate("BreakEven", OBJ_HLINE, 0, Time[0], BreakEven);
ObjectSet("BreakEven", OBJPROP_COLOR, Gold);
ObjectSet("BreakEven", OBJPROP_WIDTH, 2);
}
else
{
ObjectMove("BreakEven", 0, Time[0], BreakEven);
}

Keep up the good work! (all this coding I have borrowed and is not mine)
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
  #372 (permalink)  
Old 02-07-2008, 10:08 PM
Junior Member
 
Join Date: Aug 2006
Posts: 6
bluesky is on a distinguished road
Smile Screenshots of TFXv1_1 settings

Quote:
Originally Posted by waltini View Post
Hi BlueSky, I am trying to replicate your fantastic results but am having no luck at all.

I must have something wrong as I notice you only have 35 trades opened over the testing period and that is with a 10pip next step.

I have about 300 in the first week and then the account blows up.

From my limited testing I am using a next step of 30 and a slight increment with the lots with nice results.

Anyway if you could give some more info that would be great!
Hi Waltini,

I will post the screen shots of what I have on my configuration. The only difference is that I ran this configuration on the Daily setting of the timeframe. This is also a backtest and an attempt to make the EA profitable. I have not forward tested these settings as I am running a forward test on another EA. I have experimented though with adding Aritificial Intelligence to this EA and it appears to be very interesting. Here are the screenshots as a followup to the previous post.

Thanks,
David
Attached Images
File Type: jpg tfxv1_1_screen2.jpg (17.5 KB, 298 views)
File Type: jpg tfxv1_1_screen1.jpg (18.0 KB, 289 views)

Last edited by bluesky; 02-07-2008 at 10:12 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
  #373 (permalink)  
Old 02-08-2008, 02:18 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 818
wolfe is on a distinguished road
Quote:
Originally Posted by jerezalfonso View Post
Hello! what Configurations or setting are using? And TF? M30 H1 h4? please answer!.
The results I have been posting are for a version of TFX called PH4 that uses a trailing stop as an exit. I have not posted the code yet, I am still testing. I want to perfect the best I can before testing.
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
  #374 (permalink)  
Old 02-08-2008, 02:28 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 818
wolfe is on a distinguished road
3 Day forward test results

The following is my 3 day forward test results for PH4. PH4 is a variation of TFX using a trailing stop based on highest total profit. It closes all orders if total profit is <= a set percentage (TSLoss_Percent) of the cycle's highest achieved profit.

I want to continue to refine and perfect the code before posting the EA.
Attached Files
File Type: htm 3_Day_PH4.htm (96.9 KB, 75 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
  #375 (permalink)  
Old 02-08-2008, 02:31 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 818
wolfe is on a distinguished road
Quote:
Originally Posted by waltini View Post
Hi Wolfe, many thanks for sharing your great EA! Having spent an unhealthy amount of time with grid trading I did add a couple of things to your ea for myself but I think they are handy for testing purposes.
Those are good ideas for the EA. Thanks for sharing.
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
  #376 (permalink)  
Old 02-08-2008, 02:36 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 818
wolfe is on a distinguished road
Quote:
Originally Posted by bluesky View Post
I have experimented though with adding Aritificial Intelligence to this EA and it appears to be very interesting.
I would be very interested to see what you are doing bluesky.
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
  #377 (permalink)  
Old 02-08-2008, 06:35 PM
Senior Member
 
Join Date: Jun 2006
Posts: 278
giapel is on a distinguished road
Quote:
Originally Posted by wolfe View Post
I would be very interested to see what you are doing bluesky.

hi,
i am following this thread with great interest, it seems sound very good.
i am waiting to test new version

thanks in advance
giapel
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
  #378 (permalink)  
Old 02-08-2008, 08:58 PM
Junior Member
 
Join Date: Dec 2007
Posts: 8
Spanar is on a distinguished road
Hi everyone and hi Mr Wolfe,

I having trouble with this EA. It not working on my InterbankFx demo Plaform.

Any Idea for help a newbie like me. Please Help me. I really like to test this EA.

Thanks in Advance.
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
  #379 (permalink)  
Old 02-08-2008, 11:11 PM
Junior Member
 
Join Date: Aug 2006
Posts: 6
bluesky is on a distinguished road
TFXv1_1_AI version

Quote:
Originally Posted by wolfe View Post
I would be very interested to see what you are doing bluesky.
Hi Wolfe,

Here's a version where I added a perceptron function to see if it would make any difference. It has the four variables where are numbers which range from 1 to 200 on each variable. I looked at the code from another EA and put it into this one to see if it would make any difference in the way the EA responds to the condition. Here a picture of the TFXv1_1_AI version from 1/8/2008 to 2/8/2008 on the daily frame.

Thanks,
David

Have a great weekend.
Attached Images
File Type: jpg tfxv1_1_AI.jpg (29.2 KB, 213 views)
Attached Files
File Type: mq4 TFX v1_1_AI.mq4 (7.3 KB, 75 views)
File Type: set tfxv1_1_eur_usd_daily_best_5000_ai-feb.set (1.2 KB, 59 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
  #380 (permalink)  
Old 02-09-2008, 02:18 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 818
wolfe is on a distinguished road
Quote:
Originally Posted by Spanar View Post
Hi everyone and hi Mr Wolfe,

I having trouble with this EA. It not working on my InterbankFx demo Plaform.

Any Idea for help a newbie like me. Please Help me. I really like to test this EA.

Thanks in Advance.
Which version do you have, and what external settings are you using?
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 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 07:56 AM.



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