You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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