open opposite order if order don't take profit

 
Hi,
I'm looking to get this function;

Say that I have an open Buy order and it not picks the takeprofit level, when price bounces back x pips then a Sell order will be open and the buy order should still open.
If this Sell order closes buy takeprofit or trailing stop then all orders should be closed. The same should happen if the start order is a Sell.

Thanks 
Luis
 

Hi,

Yes but have you a code?

if not, if you want someone program it,  go there:

https://www.mql5.com/en/job

 
luisneves:
Hi,
I'm looking to get this function;

Say that I have an open Buy order and it not picks the takeprofit level, when price bounces back x pips then a Sell order will be open and the buy order should still open.
If this Sell order closes buy takeprofit or trailing stop then all orders should be closed. The same should happen if the start order is a Sell.

Thanks 
Luis
Please do not double post !  https://www.mql5.com/en/forum/142441
 
luisneves: I'm looking to get this function;...
Since there are no slaves here, there are only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt and the nature of your problem.
Reason: