Forex
Google

Go Back   Forex Trading > Discussion Areas > Suggestions for Trading Systems
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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 Thread Tools Display Modes
  #1 (permalink)  
Old 03-09-2006, 10:08 PM
FX-Hedger's Avatar
FX-Hedger FX-Hedger is offline
Senior Member
 
Join Date: Dec 2005
Posts: 186
FX-Hedger is on a distinguished road
Lightbulb New Experimental Expert Help!!!

Hello!

can anyone help me by making an Expert that stacks many(adjustable) Buy and sell orders one above/below the other at an adjustable distance, and takes profit when net floating profit/loss reaches a set(adjustable) dollar value.

After taking profit/loss it cancels all orders and places new buy and sell orders again at current market price.

If floating positions goes on for a week without reaching the targets then it closes all open positions and cancels all orders and places new ones.

A trailing stop may help.

This EA will probably need a few indicators. But let's do that later.

Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-09-2006, 10:34 PM
Eric Eric is offline
Senior Member
 
Join Date: Sep 2005
Location: Kailua-Kona, Hawai'i
Posts: 187
Eric is on a distinguished road
So you're saying that the EA should set up limit orders above and below the current price at a spacing set by the user. Then as the price moves around, orders are triggered, and then the EA closes all orders when a net target profit is reached? Then it would start over again at that point? I like this idea a lot (I am also a big fan of hedging-type strategies, I believe they can work)

I'm not even sure that you would need or want any indicators involved. It might be best to just let the price action trigger orders and as one side wins, you will get into a net positive situation and the EA would close all and reset.

Unfortunately, I am not a programmer. But I think that this could probably be set up. Someone could even use MakeGrid193 (which can do many of these things) as a starting point. If this EA can be created, I would gladly help in the testing, improving, etc. I think it has potential.

Last edited by Eric : 03-16-2006 at 10:39 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-09-2006, 10:48 PM
FX-Hedger's Avatar
FX-Hedger FX-Hedger is offline
Senior Member
 
Join Date: Dec 2005
Posts: 186
FX-Hedger is on a distinguished road
Talking That's correct

Hi ! eric,
you're correct. that's exactly what I'm looking for.
If someone will code it, That would be great!!!

you are welcome to test it.

I tried manualy but it requires some effort placing many orders. An EA is the best way to do it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-11-2006, 11:43 PM
FX-Hedger's Avatar
FX-Hedger FX-Hedger is offline
Senior Member
 
Join Date: Dec 2005
Posts: 186
FX-Hedger is on a distinguished road
Lightbulb Working on this?

Anyone working on this?
Please let me know.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-16-2006, 10:31 PM
Eric Eric is offline
Senior Member
 
Join Date: Sep 2005
Location: Kailua-Kona, Hawai'i
Posts: 187
Eric is on a distinguished road
FX-Hedger,

I tried to set the user inputs in the MakeGrid193 EA so that it would do this. It sets it up perfectly (see the attached image)

It sets limit orders above and below the current price, you can set the spacing betweent the orders (in this case 10 pips), and you can set a ProfitTarget where the EA will close out everything when a net profit level is reached.

The problem is, when the price starts to move, for example say it moves up and triggers the long 1.2180, 1.2190 orders, etc., when the price comes back down, it will open new orders for shorts at 1.2190, 1.2180, 1.2170, etc. but we only want it to trigger the original shorts, 1.2160, 1.2150, etc. In other words, even though the EA initially sets it up just the way we want, it will continue to set new limit orders (that we don't want) as the price moves around.

We want it to just set the original limit orders and then not set any more limit orders until the ProfitTarget feature closese everything and starts over. If I had any programming skills, I would try to modify this EA (which has much more features than we really need for this) so that it just sets the original limit orders according to the user spacing, etc. and no more, and then closes when the net profit is reached and starts over. Unfortunately, I don't have the skills to do that. If anyone does, it would be interesting to try this out.
Attached Images
File Type: gif hedge grid.gif (39.2 KB, 366 views)
Attached Files
File Type: mq4 MakeGrid193.mq4 (25.0 KB, 128 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-17-2006, 01:26 AM
FX-Hedger's Avatar
FX-Hedger FX-Hedger is offline
Senior Member
 
Join Date: Dec 2005
Posts: 186
FX-Hedger is on a distinguished road
Thumbs up Thanks

Thanks Eric,

This expert may be modifies to do that.
Igor made me new version of this system in the Elite section of the forum. But it still has some bugs.

All the coders are quite busy the last few days. But I will ask him to fix it.
if they allow me, then I will post the Expert in this section and we can all test it's progress and make it better if possible.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-17-2006, 03:13 AM
Eric Eric is offline
Senior Member
 
Join Date: Sep 2005
Location: Kailua-Kona, Hawai'i
Posts: 187
Eric is on a distinguished road
Thanks FX-Hedger! Let me know! As you know, I am very interested in this type of theory.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-17-2006, 11:21 AM
JoZo's Avatar
JoZo JoZo is offline
Senior Member
 
Join Date: Feb 2006
Location: Croatia
Posts: 409
JoZo is on a distinguished road
Thumbs up

I'm interested too!
I want to test this EA.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-18-2006, 10:09 PM
FX-Hedger's Avatar
FX-Hedger FX-Hedger is offline
Senior Member
 
Join Date: Dec 2005
Posts: 186
FX-Hedger is on a distinguished road
Talking Hi JoZo

Quote:
Originally Posted by JoZo
I'm interested too!
I want to test this EA.

Hi JoZo, can you Code?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 03-19-2006, 06:23 PM
FX-Hedger's Avatar
FX-Hedger FX-Hedger is offline
Senior Member
 
Join Date: Dec 2005
Posts: 186
FX-Hedger is on a distinguished road
Thumbs up Here's the Hedge Expert.

Hi guys!

Here is the expert! and Tresert file.
unzip the Tracert file Place it in the include folder which is located inside the Expert folder.

Then place the EA in the Expert folder. Open the Expert in Meta Editor and Press compile button. Then turn on your Metatreder and attach to chart.

Let me know how it goes.

Thanks guys,

HedgExpert_v1.mq4

Tracert.zip
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Experimental Dynamic Moving Average juanchoc Indicators - Metatrader 4 18 01-22-2007 09:31 PM
Expert Question and Expert mj10 Expert Advisors - Metatrader 4 24 03-27-2006 01:31 PM


All times are GMT. The time now is 06:32 AM.