Job finished
Specification
Hello,
I looking for an EA which is placing an Order in Terminal if this other Order is xPips Minus, an Hedge order with same lots, or Multipieler lots. Every open Order in Terminal should be manged from this new EA.
I Want to have 4 differen Minus Levels were this Hedge orders should be opend.
In commentar should Ordern number from Original Order be written.
TP and SL
If order was Xpips in Minus TP should be changed to xpips.
If order was Xpips in Minus Order should be closed xpips worser entry price of order. So order should close in Minus. Hier I want 2 possibilities.
Reopen Function - should be set activ or inactiv - If inactiv each level will be just opend once
I want for the open Hedge orders an Reopen function – This Reopen function should only work of cours if order is closed and if there is no other open order from other Level from this hedged Order.
Means if an Hedge was opend ad 40 pips minus and this order
is closed and new Hedge is opend with 80 pips minus. If Price goes now to 40
and the Hedge from 80 is still open. EA does not open an Hedge for this order.
But if Hedge 80 is closed and order goes back to 40 than the Hedge with 40 pips
can be opend.
For each order ins system can be only one Hedge open.
Every next Hedge should be placed as Pending. So start with the first Hedge as pending on Distance place with Hedge. If pending Hedge is executed EA shold place next Hedge as pending.
Pending is good till original order is in the Market.
Parameter:
Multipiler
Open Hedge order if an order is x pips (example 40) in Minus - every Order from other EA (not own orders of EA) in Terminal should be hedged if this order is 40 pips in Minus
Open Hedge order if an order is x pips (example 80) in Minus "
Open Hedge order if an order is x pips (example 100) in Minus "
Open Hedge order if an order is x pips (example 140) in Minus "
TP – for each Order
SL – for each 0rder
Order mangement:
If order was Xpips in Minus change TP to xpips in profit
If order was xpips in Minus – close Xpips worser than entry price – order will be closed xpips in minus
If order was xpips in Minus – close Xpips worser than entry price – order will be closed xpips in minus
Reopening activ/inactiv
Place next Order as Pending activ/inactiv
Magic Number
Note: Hedge will be only as long es original order is open. No more Hadge when orignal order is not anymore open.