Help with multiple/basket orders for MT4 when risk zero on first basket
-
Hi,
Can anyone help me with a function to do a second basket order (if the signal hits again) after the currently open basket order moved stop loss to break even, if it is possible using fxDreema/MT4?
So i want the open risk to be max one basket order. The basket order for me is 3 different orders with different take profits but same SL.
Sequence example:
- Send three orders when signal hit first time.
- Take profit for first order is hit. Two orders from the first basket sill open.
- Trailing stop is moved to break even (or further using trail) on current basket order (2 open orders).
- Signal hits again with the two orders from the first basket order is still open.
- Second basket order of 3 orders are sent. This is the same orders as sent as basket 1 (exactly the same SL and TP) but it is only sent if the risk is zero on the first basket of orders, in this example the 2 open orders are at break even.
So this last step is what i am struggling with.
I have read the book by Andrew R. Young on Expert Advisor programming but i am not a programmer and don't understand the section on multiple orders and how i can modify it to fit my wish...
Thanks very much for any help!
-
@dalkungen You already asked this same question in another thread. Please don't duplicate threads.