İş Gereklilikleri
Either manual or robot initiates A pending buy position is opened at 10:00.00Hrs order /ticket number 312098 lot 0.01 price 1.23400 expiration time 13:00.00Hrs
Market price is 1.23080 at 10:00.00Hrs
Fifteen minutes later 10:15.00Hrs market price reaches and activates pending buy position entry price.
The EA being requested should be able to do as follows to when an example of the above happens:
The EA should be able to place a maximum of five pending orders. The five pending orders that can be placed should be subdivided into two categories. Category A having ability for placing two pending orders and Category B having ability for placing three pending orders.
EA should have input parameter for each pending order to be opened.
1- Distance in pips from initial buy position in our example order/ticket number 312098
2- Stop Loss Take Profit Break Even for the pending order
3- Lot
4- Timing
Category A pending orders should be placed at once or immediately that the initial manual pending order is placed. Category A pending order should close also if the initial manual pending order expires or closes.
Category B pending orders should wait for market price to activate the initial manual pending order. Once the initial pending order is activated, Category B pending orders should be placed thirty or sixty seconds from the initial buy pending order having been activated by market price.
FOLLOWING THE PENDING BUY ORDER EXAMPLE STATED ABOVE, BELOW PARAMETERS ARE INPUT INTO EA
Example pending order No.1 is to 4 pips with SL 14 TP20 BE 12 lot0.02 CATEGORY B
Pending order No.2 is be 5 pips with SL 17 TP20 BE 12 lot0.02 CATEGORY B
Pending order No.3 is to be 7pips with SL20 TP 20 BE 12 lot0.02 CATEGORY B
PendingorderNo4 is to be 60pip with SL20 TP 150 BE 0 lot 0.01 CATEGORY A
PendingorderNo5 is to be 90pip with SL20 TP 150 BE 0 lot 0.01 CATEGORY A
Following our example set
PO 1 =1.23440 lot 0.02 SL 1.23300 to be placed at10:15.30
PO 2=1.23450 lot 0.01 SL 1.23280 to be placed at 10:15.30
PO 3=1.23470 lot 0.03 SL 1.23170 to be placed at 10:15.30
PO 4 =1.24000 LOT 0.01 SL 1.23980 to be placed at 10:00.00
PO 5=1.24300 lot 0.01 SL 1.24280 to be placed at 10:00.00
Should market price Retraces sharply and going below the entry price of order number 312098 and knocking out the Stop Losses of the activated PO1/2/3/4/5. The EA should place new pending orders in the same price the earlier ones have been knocked out from. Let us say the time the above PO’s knocked out is 11:22.13
Example the above Pending Orders are repeated.
PO 1 =1.23440 lot 0.02 SL 1.23300 to be placed at11:22.43
PO 2=1.23450 lot 0.01 SL 1.23280 to be placed at 11:22.43
PO 3=1.23470 lot 0.03 SL 1.23170 to be placed at 11:22.43
If PO4/5 were activated and stopped they should be placed
If market price continues retracing until it also knocks out the initial buy position order number 312098 then any pending orders relating to this order number should also close.