Stocks eke out gains in choppy week the chart for more data on stocks. By Julianne Pepitone, staff reporter

NEW YORK ( -- Stocks closed modestly higher Friday on better-than-expected earnings from Oracle and Research in Motion, but a disappointing consumer sentiment report put a cap on gains.

The Dow Jones industrial average (INDU) gained 13 points, or 0.1%, to end at 10,607.85. The S&P 500 (SPX) added 1 point, or 0.1%, to close at 1,125.59, and the tech-heavy Nasdaq (COMP) increased 12 points, or 0.5%, to end at 2,315.61.

During the rest of the week, stocks ended higher on Monday and Wednesday but closed mixed to flat for the other two days. The Dow gained 0.6% over the week, while the S&P added 0.3%, and the Nasdaq advanced 1.3%.

Upbeat tech earnings helped stocks pop at the open Friday, but an unexpectedly downbeat consumer sentiment report sent indexes in and out of negative territory. The banking and energy sectors ended mostly lower, while technology, retail and housing shares closed mixed.

Investors have been somewhat encouraged by recent signs of economic improvement. But with consumer sentiment still in the dumps and a murky outlook for job growth, stocks have been drifting without much conviction.

"We're continuing to see strong earnings, but that's not going to get us much higher with negative news on economic front," said J. Bryant Evans, portfolio manager at at Cozad Asset Management.

Friday may also have been volatile due to traders adjusting their portfolios during so-called "quadruple witching."

The term refers to the phenomenon that takes place four times a year when several derivatives contracts expire at the same time -- those tied to market index futures, market index options, stock options and stock futures.

Next week investors will be looking to a raft of data on the housing sector: reports about sales of new and existing homes, housing affordability, building permits and residential construction.

Stocks ended mixed on Thursday, with the Dow gaining and the S&P 500 ending the day flat.

Companies: After the closing bell Thursday, business software maker Oracle (ORCL, Fortune 500) reported double-digit percentage profit and sales growth in its first quarter, on the back of rising demand for business software and servers. Shares of Oracle ended 8.4% higher.

Also late Thursday, BlackBerry-maker Research in Motion issued an upbeat forecast and reported quarterly profit that beat analysts' expectations. RIM (RIMM) reported net income of $796.7 million, up sharply from $475.6 million in the year-earlier period.

Shares closed up only 0.5% Friday, after surging about 4% in premarket trade.

Economy: A report on consumer sentiment missed expectations. The University of Michigan's index was expected to show that consumers were slightly more optimistic in the early part of September, but the reading fell.

The government's consumer price index showed that prices rose 0.3% in August. Stripping out volatile food and energy prices, the core CPI was unchanged.

Later Friday, President Obama appointed Harvard law professor Elizabeth Warren as a special adviser to help create the Consumer Financial Protection Bureau, which is part of the Wall Street reform law.

Warren will advise the president and Treasury Secretary Timothy Geithner during the set-up process, but the announcement does not mean that she will run the new consumer bureau once it's up and running. However, she still remains a candidate for that job as well, sources have told CNN.

World markets: European shares closed higher Friday, though they lost steam from an earlier rally. The CAC 40 in France rose 0.4%, while Britain's FTSE 100 and Germany's DAX added 0.6%.

Asian markets closed mostly higher. Japan's benchmark Nikkei index gained 1.2%, and Hong Kong's Hang Seng index rose 1.3%. The Shanghai Composite fell 0.2%.

Currencies and commodities: The dollar edged up against the euro, but slipped versus the Japanese yen and Britain's pound.

Oil for October delivery fell 94 cents to settle at $73.63 a barrel.

Gold for December delivery settled at $1,277.50 an ounce Friday, beating the previous closing record reached on Thursday. Earlier on Friday, the precious metal also hit a new intraday trading high of $1,284.40 an ounce.

Bonds: The price on the 10-year Treasury note was slightly higher, pushing down the yield to 2.75% from 2.76% late Thursday. To top of page

Frontline troops push for solar energy
The U.S. Marines are testing renewable energy technologies like solar to reduce costs and casualties associated with fossil fuels. Play
25 Best Places to find rich singles
Looking for Mr. or Ms. Moneybags? Hunt down the perfect mate in these wealthy cities, which are brimming with unattached professionals. More
Fun festivals: Twins to mustard to pirates!
You'll see double in Twinsburg, Ohio, and Ketchup lovers should beware in Middleton, WI. Here's some of the best and strangest town festivals. Play
Overnight Avg Rate Latest Change Last Week
30 yr fixed3.82%3.80%
15 yr fixed3.05%3.01%
5/1 ARM3.19%3.17%
30 yr refi3.90%3.87%
15 yr refi3.12%3.11%
Rate data provided
View rates in your area
Find personalized rates:
Index Last Change % Change
Dow 17,678.23 -40.31 -0.23%
Nasdaq 4,863.36 -13.16 -0.27%
S&P 500 2,056.15 -4.90 -0.24%
Treasuries 2.01 0.09 4.53%
Data as of 12:30am ET
Company Price Change % Change
Bank of America Corp... 15.42 0.01 0.06%
Cisco Systems Inc 27.09 -0.37 -1.35%
Apple Inc 124.24 0.86 0.70%
Intel Corp 30.08 0.19 0.64%
Micron Technology In... 26.66 0.09 0.34%
Data as of Mar 26


Lots of attention is paid to college graduation rates of lower-income students, but many middle-class kids don't finish their bachelor's degrees either. More

Oculus chief scientist Michael Abrash uses 'The Matrix' to pitch virtual reality at F8, Facebook developer conference. More

Startup PredictifyMe's groundbreaking technology could help protect against school bombings More

The IRS has paid out more than $191 billion in refunds so far this tax season to 66.1 million filers. More