Mountain Valley EA
  #1 (permalink)  
Old 01-24-2007, 07:54 PM
Freshman
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Alfa is on a distinguished road
Default Mountain Valley EA

Hi!
I have a trading strategy I would like to try out. Maybe somebody here can code 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.
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.

Best regards, Alfa
Reply With Quote
  #2 (permalink)  
Old 02-03-2007, 05:07 PM
gazuz's Avatar
Senior Trader and Moderat
 
Join Date: Aug 2004
Posts: 768
Thanks: 1
Thanked 8 Times in 5 Posts
gazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to all
Default

sounds like the coinflip theory almost.. Kepp increasing the number of trades until you win or hit the trailing stop.. Many people have been working on that...
__________________
____________________________\¦/
___________________________(ò ó)
______________________o0o___(_)___o0o__
___¦_____¦_____¦_____¦_____¦_____¦_____¦
¦_____¦_____¦_____¦_____¦_____¦_____¦__
___¦_____¦_____¦_____¦_____¦_____¦_____¦
¦_____¦_____¦_____¦_____¦_____¦_____¦__
Reply With Quote
  #3 (permalink)  
Old 02-04-2007, 08:22 AM
Freshman
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Alfa is on a distinguished road
Default

That´s just meant to be a MM-feature. The main strategy is using climbing or falling closes to determine the trend.
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



All times are GMT. The time now is 03:56 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now

Main Menu

Economic Forecast