No, you cannot change the order's direction once it is open. If the trade incurred some loss, you need to close it if you want a trade in an opposite direction. Alternatively, if your country's regulation allows hedged (locked) orders, you could open a new order in an opposite direction without closing the previous one. However, this is just a more expensive version of closing the losing one and opening a new one.