View Single Post
try this one
  #2 (permalink)  
Old 07-31-2010, 09:31 AM
cupu2kecil cupu2kecil is offline
Currency Trader
 
Join Date: Jul 2010
Posts: 1
cupu2kecil is on a distinguished road
Default try this one

Quote:
Originally Posted by jeffkerwin View Post
Hi Team,

Would someone be kind enough to code this simple EA. Without any coding knowledge it should be pretty simple and quick so I dont take much of anyones time.

Here are the rules. Open a buy and Sell order simultaneously for the same currency pair. When both orders have been filled (by either TP or SL) then the EA needs to re-open another order until the number of orders has reached the input variable "NumberTrades." For example if I enter 10 into NumberTrades input then the EA will place 10 orders consecutively one after another until it has placed 10 buys and sells in total. Only one buy and sell should be open on one chart at any time.

Inputs:

Lots
TakeProfit
StopLoss
NumberTrades

Lots, TakeProfit and StopLoss is pretty self explanatory. I hope NumberTrades is explained ok above.

Thanks in advance

Jeff
Attached Files
File Type: ex4 Hedging Jeff.ex4 (4.3 KB, 9 views)
Reply With Quote