工作已完成
指定
I would like to modify the EA to manage my positions (The EA already manages my trades to automatically close my orders and put them to breakeven)
1. if i have a market order and the trade pulls back and picks up my pending limit order I want the Take profit of the market order to move to the same place as my pending order. and I need the break even point to be the same time for both candles. so if the pending order is picked up then I need that to be the the position that the EA manages and the market order does the exact same thing as the pending order. so the break even point of the market order is based on the distance to the take profit of the pending order. ( they should go to break even at the same point even though they are different distances to the Take profit since the pending order is a larger distance.
2. if my pending limit order is not picked up and price goes half the distance (50%) from my market order to my market orders stop loss I kill the pending order. (example.. entry candle is 20 pips on a long trade (BUY), I place my stop loss 5 pips below entry candle. so distance between market order entry and stop loss is 25 pips. when price moves up 12.5 pips above the entry price and my pending order has not been picked up then I kill the pending. and I need this to be changeable, like 65% distance between entry and stop or 75%.
3. If pending order is not picked up after 2 closed candles then I kill the trade. (I need this option to be changable also)
I will send screen shots/ examples of trade management