Disliked{quote} I believe that it will close every trade that is open in the account regardless of how it was opened. I can give you a CloseByProfit EA that will only close trades for the pair of the chart it is applied to if you like Problem is, you can only run 1 EA per chart, so need to remove the trading EA and apply the Take Profit EA Or have a complete set of charts open in another MT4 running side by side, not as silly as it sounds As I will be trialing something along these lines for a few weeks {file} {file}Ignored
A simpler way to accomplish the "2 EA's on one chart" is simply to open a second chart on the same pair on the same MT4 platform so you'd have one chart with the TOC EA and on the other you can dump any other EA or script you want. I do this all the time with the "Close all orders after account profit reached" EA and the "Close all orders after account loss" EA. Works fine even with the main EA running on the same pair - just needs to be separate charts for each EA and in this example actually ends up being 3 EA's running on one pair - just separate charts.
Cheers and thanks so much for your input, help and great ideas on this thread!