View Single Post
Mountain Valley EA
  #1 (permalink)  
Old 01-24-2007, 08:54 PM
Alfa Alfa is offline
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

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

Main Menu

Economic Forecast