The Dow and S&P 500 ended with a fourth straight week of wins, while the S&P closed at yet another record high Friday.
The Nasdaq finished lower for the week, down 0.3%, after three positive weeks. The index was dragged down by poor quarterly results from Google and Microsoft.
Friday's modest pullback didn't take much away from the mega-rally.
All three indexes are up sharply for the year. The Dow and S&P 500 have gained nearly 19%, while the Nasdaq has rallied almost 20%. (Click here for more on stocks, bonds, commodities and currencies.)
The Dow and S&P added between 0.5% and 0.7% this week, boosted by better-than-expected earnings from the major banks. The Nasdaq
Investors were also comforted by statements by Fed chairman Ben Bernanke on Wednesday. Bernanke said he would keep the Fed's stimulus policies in place for as long as necessary.
Tech gets trounced: Google ( and )Microsoft ( reported disappointing )quarterly numbers after Thursday's closing bell, sending their shares sharply lower.
Microsoft was hit by a big write-down on its Surface tablet.
Good economic indicators from GE, Honeywell: Results from two of the world's biggest industrial companies -- General Electric and Honeywell -- pointed to continuing strength in the global economy.
Honeywell ( raised its outlook for the year, after the company reported better-than-expected earnings. )
General Electric ( reported earnings and sales roughly in line with estimates, and said it saw strong growth in U.S. orders. )
Whirlpool ( raised its guidance for the year as the appliance maker reported a significant gain in quarterly sales and profit. )
Schlumberger's ( stock rose after the energy company reported a bump in sales and profit, driven by drilling successes on land and deepwater. )
Burrito Boost: Chipotle Mexican Grill's ( stock soared after the restaurant chain reported a jump in same-store sales and profits. )
In international markets, European indexes ended the day slightly lower.