After you click Close smart trade, all unfilled or partially filled orders will be cancelled. An exit order will then be placed with quantity equal to the sum of filled quantities on your entry orders.