Look in check trades, no trade/order (mt4), no position order (mt5), put this above the tree that causes trade/order to be placed. If more than one is needed you will have to use more trees with different group numbers, or other logic to prevent new trades.
M