If you close the MT4 trading platform, the Take Profit and Stop Loss and Pending Orders will remain in place, but when you close the MT4 trading system, the Trailing Stops (Take Profit and Stop Loss) as well as your EA trading system will be deactivated.