Men I try to code my EA after one order was closed by TP to shut all of the remaining orders and start over again. Because this EA is dominated on martingale but it opens in both directions orders. If someone can help it will be much appreciated.