Buy and sell are states
When a managed buy is open, buy is disabled and sell remains available to start the reversal.
In single-trade mode, switching from buy to sell means closing the session-managed position before instructing the new direction.
When a managed buy is open, buy is disabled and sell remains available to start the reversal.
The new order should be sent only after the previous position is confirmed closed; a rejection must remain visible.
A position leaves this logic only when the user explicitly marks it independent. A new session flow can then begin.