Stocks End Higher, But Log Worst Weekly Drop in 2013; IBM Skids 8%

Stocks reversed a two-day slump to close out the week on a positive note, with the S&P 500 rebounding after finishing below it 50-day moving average for the first time this year, but all three major averages still logged their worst weekly drop this year.

(Read More: IBM's Ominous Earnings Sign to the Stock Market)

U.S. Major Index Performance

Last Change Today's % Change 1 Week % Change YTD % Change
Dow 14,547.51 10.37 0.07% -2.14% 11.01%
S&P 500 1555.25 13.64 0.88% -2.11% 9.05%
NASDAQ 3206.06 39.7 1.25% -2.70% 6.18%
Russell 2000 912.5 10.98 1.22% -3.22% 7.44%
CBOE VIX 14.97 -2.59 -14.75% 24.13% -16.93%

The Dow Jones Industrial Average eked out a gain of 10.37 points to close at 14,547.51, after falling nearly 100 points at the open, boosted by Microsoft. IBM and GE led the laggards. IBM's sharp decline single-handedly put more than 100 points of downward pressure on the blue-chip index.

The S&P 500 gained 13.64 points to end at 1,555.25. And the Nasdaq bounced 39.70 points to finish at 3,206.06. The CBOE Volatility Index (VIX), widely considered the best gauge of fear in the market, dropped below 15.

For the week, all three major averages dropped more than 2 percent each. IBM was the biggest decliner, while Coca-Cola advanced.

Among the key S&P sectors, energy was the worst performer for the week, while telecoms gained.

"Volume's been light—there's no real economic news, nothing out of Washington, Fed's quiet and no more real earnings until Monday," said Alan Valdes, director of floor operations at DME Securities. "Most people are watching what's happening in Boston, although it's not really moving the markets."

The two suspects in the Boston Marathon bombing killed an MIT police officer and hurled explosives at police in a car chase and gun battle overnight that left one of them dead and his brother on the loose. Thousands of officers swarmed the streets in a manhunt that all but paralyzed the Boston area. Residents in the Boston area have been told to stay inside while police search for the suspect.

With no major economic news on tap Friday, the focus remained largely on corporate earnings.

General Electric reported results that beat on profit and revenue, but weakness in the company's European operations dimmed optimism, sending shares lower.

McDonald's edged lower after the fast-food chain missed earnings expectations by a penny and said global comparable sales were down 1 percent for the quarter, with China and Japan weakness helping drive sales in the Asia/Pacific, Middle East, and Africa (APMEA) region down 3.3 percent.

IBM tumbled sharply after the computer hardware and software company posted quarterly results that fell short of consensus estimates and issued a full-year earnings forecast below estimates. In addition, the tech firm said it will accelerate the pace of job cuts after sales of software and mainframe computers slowed.

Also among techs, Microsoft gained after the software giant topped earnings expectations. Separately, the company announced that CFO Peter Klein will leave in June. And Google easily beat earnings estimates, while revenue fell slightly short of forecasts.

Chipotle Mexican Grill surged to lead the S&P 500 gainers after the fast-casual restaurant chain posted a jump in quarterly earnings.

To date, 104 S&P 500 companies have reported results this quarter with 67 percent of firm topping earnings expectations. Meanwhile, only 43 percent have exceeded revenue estimates.

Next week, about 170 of the S&P 500 companies and 10 Dow stocks are on schedule to report earnings. Notable companies includeCaterpillar, Apple, Qualcomm and ExxonMobil.

"Earnings, I would argue are coming in better than expected. Underneath the surface is something that's not quite so healthy.They're struggling on the top line, the revenue side. That is indicative of a global economy growing below trend," said Bill Stone, chief investment strategist at PNC Wealth Management.

SeaWorld rallied in its market debut on the New York Stock Exchange after the company priced its IPO at $27 per share on Thursday, at the high end of its expected range. (Read More: SeaWorld IPO Hopes to Make a Splash)

Apple slumped to close near $390 a share, breaking below $400 for the first time since December 2011 earlier this week. Apple tumbled 9 percent this week alone and has erased more than 40 percent since hitting its all-time high of $705 a share in September, The iPhone maker also lost its title of the world's most valuable company by market cap to oil giant ExxonMobil on Wednesday.

(Read More: Wall Street Turns Viciously Against Apple)

Vertex Pharmaceuticals skyrocketed after the drugmaker reported a successful trial for its experimental cystic fibrosis drug.

Meanwhile, GlaxoSmithKline traded lower after the pharmaceutical giant was accused of market abuse by the U.K.'s Office of Fair Trading on Friday. The regulator alleged that Glaxo paid generic firms to delay launching cheap copies of its top-selling anti-depressant Seroxat.

—By CNBC's JeeYeon Park (Follow JeeYeon on Twitter: @JeeYeonParkCNBC)

On Tap Next Week:

MONDAY: Chicago Fed nat'l activity index, existing home sales; Earnings from Caterpillar, Halliburton, Hasbro, Netflix, STMicro, Texas Instruments, Zions Bancorp
TUESDAY: PMI manufacturing index, FHFA home price index, new home sales, Richmond Fed mfg index, 2-yr note auction, Wells Fargo annual mtg, PNC annual mtg; Earnings from DuPont, Travelers, United Tech, Delta Airlines, Discover Financial, Amgen, Apple, AT&T, Broadcom, Cree, Panera Bread, Yum Brands
WEDNESDAY: MBA mortgage applications, durable goods orders, oil inventories, 5-yr note auction, AB InBev shareholder mtg, Caesar Entertainment shareholder mtg, Citi shareholder mtg, Coca-Cola shareholder mtg, DuPont shareholder mtg, GE shareholder mtg; Earnings from Barclays, Boeing, Credit Suisse, Ford, Eli Lilly, GlaxoSmithKline, P&G, Sprint Nextel, Qualcomm, Aflac, Akamai, Cabot Oil & Gas, Zynga
THURSDAY: Jobless claims, natural gas inventories, 7-yr note auction, Fed balance sheet/money supply, Barclays annual mtg, Herbalife shareholder mtg, Intuitive Surgical annual mtg, J&J shareholder mtg, NYSE Euronext shareholder mtg, Pfizer shareholder mtg; Earnings from Altria, AstraZeneca, Bristol-Myers, ConocoPhillips, ExxonMobil, 3M, UPS, Altera, Baidu, Expedia, Starbucks, Coinstar
FRIDAY: GDP, consumer sentiment, AT&T shareholder mtg; Earnings from Chevron, Honda, DR Horton

More From