In late afternoon trading in New York, the Dow Jones Industrial Average was up 0.06 per cent, the Standard & Poor's 500 Index rose 0.19 per cent, while the Nasdaq Composite Index gained 0.07 per cent. The S&P 500 was last at 1,679.43 and had earlier risen as high as 1,684.75, while the Dow was at 15,461.03 after earlier touching 15,502.00.
US Treasuries also gained on Bernanke's comments. Yields on the benchmark 10-year note dropped six basis points to 2.47 per cent.
"The quantitative-easing policy is not on a preset course - that's resonating," George Goncalves, the head of interest-rate strategy at Nomura Holdings, one of the 21 primary dealers that trade directly with the Fed, told Bloomberg News.
"There's still some optionality about how they are going to do it and to what extent," Goncalves said. "The more they sound dovish is the more the market is pricing in that it may not be as big."
The latest US housing data provided a reminder of that the economic recovery is not without speed bumps. Housing starts unexpectedly fell 9.9 per cent last month to a seasonally adjusted annual rate of 836,000 units, the lowest level since August last year and short of the 960,000 forecast.
"On the surface it doesn't look good, but we are confident that starts activity is still going to climb higher in the months to come," Sam Bullard, a senior economist at Wells Fargo Securities in Charlotte, North Carolina, told Reuters.
Shares of Bank of America gained, last up 3.1 per cent, after the largest US lender posted a bigger-than-expected jump in quarterly profit on cost cuts and increased trading revenue. Shares of Bank of New York Mellon also rose, up 1.5 per cent, on better-than-expected earnings.
There were disappointments too. Shares of Mattel sank, last down 7.2 per cent, after the toymaker posted profit that fell short of forecasts amid declining Barbie sales.
In Europe, the benchmark Stoxx 600 Index added 0.6 per cent. The UK's FTSE 100 index advanced 0.2 per cent, France's CAC 40 rose 0.5 per cent, while Germany's DAX increased 0.7 per cent.