Open amount + Position amount
For example, if there is $100 left in the position after partial closing, and the opening in the signal = $500, then when a closing signal arrives, an order for $600 will be created, which will close the current position and open the opposite one for $500.