Set a stop loss or close the operation