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 |
![]() |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 09:29 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
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








Linear Mode
