The Dow and S&P 500 Tuesday bolted to fresh records after Federal Reserve Chair Janet Yellen pledged a cautious approach to raising interest rates.
The Dow Jones Industrial Average rose 92.35 points (0.51 percent) to 18,209.19, besting Friday's record by about 70 points, and the broad-based S&P 500 gained 5.82 (0.28 percent) at 2,115.48, inching up to a new all-time close.
The tech-rich Nasdaq Composite Index advanced 7.15 (0.14 percent) to 4,968.12.
Yellen, opening two days of congressional testimony, signaled that the Fed is deep in preparation for a rate hike this year, even as she essentially ruled out the move until June at the earliest.
Yellen said the US labor market still showed cyclical weakness and inflation continued to fall, necessitating significant policy accommodation.
"There was a little something for everybody and no indication that a rate hike is coming soon," said Art Hogan, chief market strategist at Wunderlich Securities.
European stocks also rose strongly after eurozone finance ministers backed an extension of Greece's bailout, due to expire Saturday.
London's FTSE 100 index reached a new record and equity markets in France and Germany also gained.
Dow member Home Depot surged 4.0 percent as fourth-quarter earnings jumped 36 percent to $1.4 billion -- results that bested analyst expectations. The company also unveiled a dividend increase and a new stock repurchasing program.
JPMorgan Chase, a Dow component, rose 2.5 percent after unveiling a plan to significantly pare back deposits from institutional clients that have become costly under new regulations.
Department store chain Macy's fell 3.2 percent on its 2015 earnings projection of $4.70-$4.80 per share, below the analyst forecast of $4.84 per share.
First Solar and SunPower, two solar companies, both jumped after announcing plans to form a so-called yieldco, a joint vehicle of selected solar generation assets from each company. First Solar rose 10.2 percent, while SunPower gained 18.0 percent.
Bond prices rose. The 10-year US Treasury fell to 1.98 percent from 2.06 percent Monday, while the 30-year dropped to 2.58 percent from 2.66 percent. Bond prices and yields move inversely.