NEW YORK (AP) -- Stocks ended the week on a high note Friday, breaking a two-day slump.
The Dow Jones industrial average finished up 119.95 points or 0.86% to 14,000.57; the Standard & Poor's 500 stock index was up 13.18 points or 0.88% to 1,515.60; the Nasdaq composite index was up 30.33 points or 0.97% to 3,161.82.
Strong earnings reports from big companies helped buoy the market.
Hewlett-Packard had the biggest gain in the Dow Jones industrial average and the Standard & Poor's 500 index. It posted fiscal first-quarter earnings late Thursday that beat all forecasts, a relief after months of bad news for the computer maker. H-P rose $2.11, or 12%, to $19.21.
Cabot Oil & Gas was the S&P 500's second-best performer, jumping a day after reporting earnings that beat analysts' expectations. It rose $5.95, or 11%, to $59.81.
American International Group rose after its fourth-quarter operating results exceeded forecasts. The company's net loss was $4 billion, mainly because of claims related to Superstorm Sandy, in the first full quarter after it finished repaying its $182 billion government bailout. Its stock rose $1.17, or 3%, to $38.45.
All three U.S. indexes remain down for the week. The S&P 500 is on track for its first weekly loss of the year.
Bill Stone, chief investment strategist with PNC Wealth Management, said he expects stocks to hold up despite this week's volatility.
"You're going to get bumps and bruises along the way, but we do believe things are actually getting better, so I think there's underlying demand" for stocks, Stone said.
Stocks plunged Wednesday afternoon after minutes from the Federal Reserve's latest policy meeting spooked investors. The minutes revealed disagreement at the Fed over how long to keep buying bonds in an effort to boost the economy. The slide continued Thursday.
Many analysts believe that the Fed's bond-buying and resulting low interest rates have driven this year's stock rally, which lifted indexes to their highest levels since the 2008 financial crisis.
U.S. stocks followed European stocks higher after a survey of German business optimism rose sharply, adding to evidence that the country will avoid a recession. Germany's economic vitality is crucial for the beleaguered region, offsetting economic contraction in surrounding countries.
"Germany is really the bedrock" of the region's economy, Stone said. "If it gives way, then you have real problems."
France's CAC-40 closed up 2.2%, Germany's DAX 1%.
Among the other corporate news moving markets:
- Abercrombie & Fitch sank after a key sales metric declined in the all-important holiday quarter. Its stock fell $2.22, or 4.5%, to $46.83.
- WebMD Health Corp. soared after the health website operator reported better-than-expected revenue and an optimistic outlook for 2013. The stock rose $4.14, or 25%, to $20.44.
- Texas Instruments rose strongly after saying it will increase its dividend by one-third and buy back up to $5 billion more of its own stock. TI rose $1.70, or 5%, to $34.18.
Tolong Share ya ^^