No. MetaTrader 4 and MetaTrader 5 do not natively support one-cancels-the-other (OCO) orders or pending partial close orders.
To achieve similar functionality, traders may use Expert Advisors (EAs) or third-party tools designed to automate these order management features.
Related Articles
How Can I Start Using ActivTrader?
Please help me understand the different Pending Orders
Can I use ActivTrader on a mobile device?