Stocks edge higher amid focus on Greece U.S. stocks traded edged higher on Tuesday as investors awaited the outcome of discussions on a bailout package for Greece that would help the country avoid a chaotic default. Greek officials worked on the draft of a text on the 130-billion-euro bailout plan that will be put to political leaders for approval as strikers protesting against more austerity tussled with police outside parliament. A light U.S. economic calendar this week shifted investor focus back to the euro zone. With the S&P 500 up 6.6 percent this year the market has grown cautious before Greek leaders put pen to paper on the terms of the deal. Michael Sheldon, chief market strategist at RDM Financial in Westport, Connecticut, said the market was holding up well despite some profit taking as investors bet a deal would be completed. "If investors thought the Greek talks were going to collapse, financial markets will be a lot weaker than they are," he said. But "a lasting solution continues to be something that is hard to come by." Cyclical areas of the market that led the recent rally were the weakest on Tuesday. The S&P energy and industrial indexes fell 0.8 percent. Boeing Co was the biggest drag on the Dow industrials, dropping 1.3 percent to $74.46. A disorderly Greek debt default would almost certainly lead to increased fiscal problems for weaker members of the euro zone and risks wreaking havoc in credit markets. The impact could also dampen the U.S. recovery. "On the equities side, we've come a long way, and we are getting into overbought territory, so most of us are expecting a bit of a pullback or a period of consolidation," said Frank Lesh, a futures analyst and broker at FuturePath Trading LLC in Chicago. The depth of the pullback really depends on Greece and the European debt problems. The benchmark S&P 500 index had risen for five straight weeks on the back of improving U.S. economic data, capped by the Friday payrolls report. Accommodative monetary policy around the world has also helped to fuel the rally. Coca-Cola Co rose 1.5 percent to $69.05 after the soft-drink maker reported better-than-expected quarterly results and announced a new cost-savings program. Emerson Electric Co dipped 2.9 percent to $51.76 after it reported lower quarterly sales and earnings as last year's floods in Thailand disrupted supply chains and weak European economies hurt demand. In a troubling sign for the banking sector, UBS predicted more weakness in investment banking after a restructuring of the business failed to prevent an earnings hit from the euro-zone debt crisis and worries about the global economy. Shares dipped 1.7 percent to $14.12 in New York trade. U.S.-listed shares of the world's largest steelmaker rose 1.6 percent to $21.83. European shares fell on the Greece talks and after disappointing results from investment bank UBS AG and engineering firm Alfa Laval AB. Federal Reserve Chairman Ben Bernanke on Tuesday renewed a pledge to prevent Europe's financial crisis from damaging the U.S. economy in testimony before Congress that mirrored remarks he made last week.