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 (27) Thread Tools Display Modes
  #81 (permalink)  
Old 05-05-2007, 06:41 PM
Senior Member
 
Join Date: Dec 2005
Posts: 294
mikejody is on a distinguished road
Quote:
Originally Posted by zuijlen
I know that bolla created an EA combining V1 and V2, which has been posted in this thread. I have not used it myself, but wouldn't it be easier to base continued development on that one?
Yes, what we really need most are simply two EA's here:

One to work with a standard account (V1andV2) and one to work with a mini account (V1andV2Mini).

Ryan, any chance you can do you "clean up code" magic with those two EA's? That would enable everyone not to have to load settings, but could just load the EAs like normal.

I know we're asking a lot, I'm glad you're generous!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #82 (permalink)  
Old 05-05-2007, 06:52 PM
zuijlen's Avatar
Member
 
Join Date: Jan 2006
Location: Arlington, VA, USA
Posts: 92
zuijlen is on a distinguished road
Quote:
Originally Posted by mikejody
Ryan, can you explain in laymen's (non-programmer) terminology the reason we would need this "clean code" version? I am not knocking the value of it, and can see from a coder's perspective why it would be important to work with clean code, but from an end-users perspective who knows nothing about code, would there be a reason why I would not keep using the same dirty code V1andV2mini that I have been using?

Also, is the V1clean for mini accounts or standard?
Mike, the mean reason to clean up the code is that it would be easier to work with for a programmer if he/she wants to improve upon it. From an end-user perspective it doesn't make any difference. I remember cucurucu being reluctant to post the EAs beacuse the code was "dirty", so we may be grateful that he actually did post them and should not criticize the code for what it is because he never claimed anything else. That said, I do appreciate the efforts of Ryan to clean it up, as this will help further development.

V1clean is equivalent to the original V1, so would be for a standard account.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #83 (permalink)  
Old 05-05-2007, 07:32 PM
Senior Member
 
Join Date: Dec 2005
Posts: 294
mikejody is on a distinguished road
Quote:
Originally Posted by zuijlen
Mike, the mean reason to clean up the code is that it would be easier to work with for a programmer if he/she wants to improve upon it. From an end-user perspective it doesn't make any difference. I remember cucurucu being reluctant to post the EAs beacuse the code was "dirty", so we may be grateful that he actually did post them and should not criticize the code for what it is because he never claimed anything else. That said, I do appreciate the efforts of Ryan to clean it up, as this will help further development.

V1clean is equivalent to the original V1, so would be for a standard account.
Ah, now I understand perfectly. Thank you for this explanation. You coders need language that is understandable, I get it .

We end users only need an EA with V1andV2 combined, both for a standard and a mini account. By the way, would you or Ryan be able to explain to us when should one transition from a mini to a standard account?

Thank you all, it is good to see such committed work going on in this project. I saw the value of it because of the end result, you guys obviously see that as well, and are making it better.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #84 (permalink)  
Old 05-05-2007, 07:46 PM
fxgrm's Avatar
Member
 
Join Date: Mar 2007
Posts: 90
fxgrm is on a distinguished road
Thumbs up Thanks!

Quote:
Originally Posted by ryanklefas
Voila!

Settings for V1 and V2. These setting files are used by "V1 Clean" which is to be found a few posts up.
I will be forward testing the new clean version this coming week.

Thanks ryanklefas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #85 (permalink)  
Old 05-05-2007, 08:00 PM
fxgrm's Avatar
Member
 
Join Date: Mar 2007
Posts: 90
fxgrm is on a distinguished road
Quote:
Originally Posted by ryanklefas
For simplicity, put the settings files with the EA. (Actually they can be loaded from anywhere). To get the hedge that you have been using with V1 and V2
ryanklefas;

I have used other hedging EA's for trading the same pair, shouldn't there be a ReverseTrend or ReverseCondition on one of the EA's settings to get it to trade contrary to the other EA? Maybe it is in the code and not user selectable? The only difference I readily see in the 2 settings is the TakeProfit of 26 instead of 27.

Some features I would like to see is an input for changing the lot size for the first initial trade, and also an input to remove the stop loss. This way when your MaxTrades have been hit it stops buying more lots and you can then turn off the EA and manually close out trades when they hopefully come back your way.

Just some thoughts.


Thanks

Last edited by fxgrm; 05-05-2007 at 09:15 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #86 (permalink)  
Old 05-05-2007, 09:13 PM
cucurucu's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 314
cucurucu is on a distinguished road
Quote:
Originally Posted by Dr. Lemmy Kilmeister
The code for V1 and V2 positively stinks. It appears to have been written by a 6 yr. old kid. Probably was.
Thank you doc. You are so kind.

That's yesterday's news. Search the post where I first posted the EAs and read "the code is messy ...". However, MT4 uses the ex4 file.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #87 (permalink)  
Old 05-05-2007, 09:16 PM
cucurucu's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 314
cucurucu is on a distinguished road
Quote:
Originally Posted by ryanklefas
As I said earlier, V1 and V2 are actually the same EA with different settings. This setup just makes it more obvious. Also, I won't have to modify 2 or more EAs every time a new feature is needed. I'll just be modifying one EA.
They are not exactly the same EA. V1 is only opening long trades while V2 is only opening short trades.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #88 (permalink)  
Old 05-05-2007, 09:17 PM
Banned
 
Join Date: May 2007
Posts: 4
Dr. Lemmy Kilmeister is on a distinguished road
Quote:
Originally Posted by ryanklefas
Here is a cleaner version of V1. If this EA works the way I think it does, to get a "V2" all you have to do is change a few of the settings. Here is what I did

I cleaned out unnecessary variables, changed unintelligible variable and file names so that you can somewhat understand what the EA is doing, organized the code so it is easier to read, and brought out some of the external inputs that were hidden away.

I have not implemented anything new; if someone can verity that this cleaner version works as the "dirty" ones did, then I will start adding features to it. I've attached a strategy test that "V1 Clean" produced. All looks well?


PS: It is my humble honor to help the community develop this promising EA
50% modeling quality on control points is pure junk.

Last edited by newdigital; 05-06-2007 at 10:18 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #89 (permalink)  
Old 05-05-2007, 09:17 PM
Senior Member
 
Join Date: Dec 2005
Posts: 294
mikejody is on a distinguished road
Quote:
Originally Posted by cucurucu
Thank you doc. You are so kind.

That's yesterday's news. Search the post where I first posted the EAs and read "the code is messy ...". However, MT4 uses the ex4 file.
cucurucu, it is so nice to have you here. As one who has benefitted from your V1andV2 EA I want to say thank you. Whether the code is good, bad or ugly, the profits have all been good.

Looking forward to your contribution. And once again, thank you!

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #90 (permalink)  
Old 05-05-2007, 09:19 PM
Senior Member
 
Join Date: Dec 2005
Posts: 294
mikejody is on a distinguished road
"Dr" Kilmeister, please allow me to warn you that you are dangerously closed to being banned. Not because of your critical comments about the EA, but because of your childish manner of presenting them.

May I encourage you to either go elsewhere or remain silent here? Even a fool is thought wise if he remains silent, so why open your mouth and remove all doubt?

Quote:
Originally Posted by Dr. Lemmy Kilmeister
50% modeling quality on control points is pure junk.

Last edited by newdigital; 05-06-2007 at 10:19 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
v1+v2, forex hedging ea, v1+v2mini, v1 and v2, v1 v2, V1+V2 Hedge EA, forex

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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/martingale-average-cost-hedging/7436-v1andv2-hedged-ea-beautiful-equity-curve.html
Posted By For Type Date
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 07-02-2008 09:48 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 06-27-2008 08:40 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 03-16-2008 02:59 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 02-26-2008 04:08 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 02-25-2008 09:36 PM
。レForex。ロMetaTrader Part ュク。レCFD,&Futures。ロ - MetaTrader、゙、ネ、畍iki This thread Refback 12-08-2007 06:22 AM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 11-28-2007 09:32 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 10-07-2007 08:02 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 09-27-2007 06:02 PM
Interbank FX - Currency Trading, Forex Trading, Online Currency Trading This thread Refback 09-26-2007 08:46 PM
Franテァois Richir - forex hedging matingale This thread Refback 09-25-2007 10:22 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 09-21-2007 07:28 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 09-16-2007 04:13 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 09-12-2007 10:18 AM
raffaelegalbiati's bookmarks tagged with This thread Refback 09-05-2007 06:44 PM
【Forex】MetaTrader Part W【CFD,&Futures】 This thread Refback 08-23-2007 06:30 AM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 08-15-2007 05:29 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 08-05-2007 05:35 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 08-03-2007 06:56 PM
Interbank FX - Currency Trading, Forex Trading, Online Currency Trading This thread Refback 07-16-2007 08:04 AM
Interbank FX - Currency Trading, Forex Trading, Online Currency Trading This thread Refback 07-08-2007 04:55 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 07-08-2007 08:41 AM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 07-04-2007 10:56 AM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 06-24-2007 12:05 PM
HEDGE - PROSTY SYSTEM DLA KAZDEGO This thread Refback 06-22-2007 09:19 AM
Interbank FX - Currency Trading, Forex Trading, Online Currency Trading This thread Refback 06-21-2007 04:24 PM
Interbank FX - Currency Trading, Forex Trading, Online Currency Trading This thread Refback 06-21-2007 01:28 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beautiful trading video : GMMA and Pivots radicalmoses Non Related Discussions 2 02-20-2007 03:05 PM
If the current day equity is more than the repvious equity babarmughal Expert Advisors - Metatrader 4 6 12-17-2006 11:48 PM
Looking for Linear Regression Curve Paul_Morin Metatrader 4 5 05-12-2006 10:39 AM


All times are GMT. The time now is 08:22 PM.