Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4


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 02-03-2007, 10:08 PM
Junior Member
 
Join Date: Feb 2007
Posts: 6
Alfa is on a distinguished road
Mountain Valley EA

Hi!
I have a trading strategy I would like to try out. Maybe somebody here can code this into an EA: (quite new to this)

Buy:

1. "a" higher closings (last tick each bar) within "b" bars triggers a buy signal. The EA goes long.

2. If the price drops more than "c" pips another long position is taken, until "d" no of positions are opened.

3. On the other hand, if price keep climbing the first position is held until stopped out by trailing stop.

4. All open orders have a trailing stoploss of "e" pips, and a T/P of "f" pips



Sell:

1. "a" lower closings (last tick each bar) within "b" bars triggers a sell signal. The EA goes short.

2. If the price rises more than "c" pips another short position is taken, until "d" no of positions are opened.

3. On the other hand, if price keep falling the first position is held until stopped out by trailing stop.

4. All open orders have a trailing stoploss of "e" pips, and a T/P of "f" pips

The EA should not close any open positions itself, but rather leave it to the
traling stoploss and T/P.
This enables it to have hedge positions open, letīs say if the opposite entry condition becomes true.
All the variables above should be accessible for optimization, and the EA should be able to work in any time frame.

I would very much like to here what you think of this. Thanks in advance.

Best regards, Alfa
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-04-2007, 12:05 AM
Member
 
Join Date: Jan 2007
Posts: 76
team_geo_fxsignal is on a distinguished road
what is a b c?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-04-2007, 09:11 AM
Junior Member
 
Join Date: Feb 2007
Posts: 6
Alfa is on a distinguished road
The letters are all custom variables that would be interesting to optimize.

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

Bookmarks

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


All times are GMT. The time now is 09:38 AM.



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