Determine stop loss or take profit