Stocks finish April sharply higher the chart for more market data. By Ken Sweet, contributing writer

NEW YORK(CNNMoney) -- Stocks posted gains Friday to finish their best month this year, as investors got a confidence boost from strong earnings out of Caterpillar.

"The market feels a little on the high side, but these good earnings figures are keeping stocks slowly moving higher," said Frank Davis, director of sales and trading at LEK Securities.

The Dow Jones industrial average (INDU) rose 47 points, 0.4%, to finish at 12,811, closing at a fresh multi-year high. The Dow ended the week up 2.4% and finished the month with a gain of 4.3%.

Economic bellwhether Caterpillar (CAT, Fortune 500) helped lift the Dow, after the company said its bottom line got a boost due to strong demand for bulldozers and other heavy machinery. Shares closed up 2.5%.

The S&P 500 (SPX) closed up 3 points, or 0.2%, to end at 1,365. The index finished the week up 2% and the month with a gain of 3.3%. The Nasdaq Composite (COMP) rose 1 point, or less than 0.1%, to 2,874, closing up 1.9% for the week and adding 4.2% in April.

The tech-heavy Nasdaq was weighed down by shares of Research in Motion (RIMM), which plummeted 14% after the BlackBerry maker warned of weaker sales.

Investors remain nervous about the economy and inflation. The Fed has been pretty clear that interest rates aren't likely to budge this year. Meanwhile, gold and silver continue to hit new highs as the U.S. dollar keeps sliding, falling to a three-year low against the euro.

Despite the nervousness, April was the best month for the three indexes since December.

On Thursday, U.S. stocks rose to multi-year highs, as investors looked beyond a series of mixed earnings reports and disappointing GDP and jobless claims reports.

Companies: Dow components Chevron (CVX, Fortune 500) and Merck (MRK, Fortune 500) reported better-than-expected earnings before the opening bell.

Merck's quarterly profit tripled on strong drug sales, while Chevron reported a 26% jump in quarterly net income, driven by higher energy prices. Shares of both companies closed up roughly 0.5%

Late Thursday, Microsoft reported a 31% surge in quarterly profit, on strong Office and Kinect sales. But not all the news was good, as netbook sales fell 40%. Microsoft's (MSFT, Fortune 500) stock slipped 4% - its worst daily performance since 2009.

Goodyear Tire shares jumped 12% after the company reported better than expected results, mostly because the company was able to raise prices.

Economy: The Commerce Department said Friday that U.S. personal spending rose 0.6% in March, slightly better than the 0.5% expected by economists. Personal incomes rose 0.5% compared with economists' forecast of a rise of 0.4%.

Currencies and commodities: The dollar fell against the euro, the Japanese yen and the British pound.

Oil for June delivery closed up 84 cents at $113.71 a barrel.

Gold futures for June delivery settled at a new record high of $1,569.80 an ounce.

Gold prices are benefiting from weakness in the dollar, said David Wyss, chief economist for Standard & Poor's.

"You have to put your money somewhere," he said. "Right now people are afraid because of low interest rates and unsustainable budget deficits."

Bonds: The price on the benchmark 10-year U.S. Treasury slipped, pushing up the yield slightly to 3.32%.

World markets: On Friday, the London Stock Exchange was closed for the royal wedding.

European markets closed mixed. The DAX in Germany added 0.4% and France's CAC 40 closed mostly unchanged, down less than 0.1%.

Asian markets ended the session mixed. The Shanghai Composite rose 0.8%, while the Hang Seng in Hong Kong slipped 0.4%. Japan's Nikkei was closed for holiday. 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 fixed4.01%4.03%
15 yr fixed3.12%2.97%
5/1 ARM3.11%2.99%
30 yr refi4.04%4.09%
15 yr refi3.15%3.05%
Rate data provided
View rates in your area
Find personalized rates:
Index Last Change % Change
Dow 17,804.80 26.65 0.15%
Nasdaq 4,765.38 16.98 0.36%
S&P 500 2,070.65 9.42 0.46%
Treasuries 2.18 -0.03 -1.27%
Data as of 8:53pm ET
Company Price Change % Change
Bank of America Corp... 17.62 0.09 0.51%
Apple Inc 111.78 -0.87 -0.77%
General Electric Co 25.62 0.48 1.91%
Intel Corp 36.37 -0.65 -1.76%
Microsoft Corp 47.66 0.14 0.29%
Data as of Dec 19


New York Magazine reporter Jessica Pressler, who has been caught up in controversy this past week, will not be moving on to a new job at Bloomberg News. More

Investors beware: These 5 global crises are likely to rattle the stock market and world economy. More

Forums in dark corners of the web sell the kinds of hacks that befell Sony. More

Unilever sued Hampton Creek over its egg-free mayonnaise spread Just Mayo. But the company behind Best Foods and Hellman's mayonnaise has now dropped the lawsuit. More

The income of the top 1% jumped significantly in 2012, far outpacing inflation. Not only did this group make a larger share of the country's income, their share of total taxes also jumped from 35% to 38%. More

Most stock quote data provided by BATS. Market indices are shown in real time, except for the DJIA, which is delayed by two minutes. All times are ET. Disclaimer.

Morningstar: © 2014 Morningstar, Inc. All Rights Reserved.

Factset: FactSet Research Systems Inc. 2014. All rights reserved.

Chicago Mercantile Association: Certain market data is the property of Chicago Mercantile Exchange Inc. and its licensors. All rights reserved.

Dow Jones: The Dow Jones branded indices are proprietary to and are calculated, distributed and marketed by DJI Opco, a subsidiary of S&P Dow Jones Indices LLC and have been licensed for use to S&P Opco, LLC and CNN. Standard & Poor's and S&P are registered trademarks of Standard & Poor’s Financial Services LLC and Dow Jones is a registered trademark of Dow Jones Trademark Holdings LLC. All content of the Dow Jones branded indices © S&P Dow Jones Indices LLC 2014 and/or its affiliates.