In late afternoon trading in New York, the Dow Jones Industrial Average rose 0.69 per cent¸ the Standard & Poor's 500 Index gained 0.70 per cent, and the Nasdaq Composite Index advanced 0.48 per cent.
The US dollar was last steady at US$1.2276 per euro.
"Initially the [US] dollar had rallied against all the major currencies as people had adjusted easing expectations because he didn't mention it," Kathy Lien, managing director of foreign exchange at BK Asset Management, told Bloomberg. "As he continued, people realised Bernanke overall remains pessimistic and didn't send a clear-cut signal because he wants to buy time. The door is still wide open."
Helping the mood were the latest US corporate earnings such as from Coca-Cola and Mattel, which surpassed expectations.
Profits beat estimates at 32 of the 45 companies in the S&P 500 that have reported quarterly results so far, data compiled by Bloomberg showed. Earnings are down 3 per cent for the group and profits are forecast to drop 2.1 per cent for the entire S&P 500.
In Europe the Stoxx 600 Index ended the day with a 0.3 per cent decline.
Spain drew decent demand for its auction of short-term debt, selling 3.56 billion euros of bills today.
The Treasury auctioned 12-month securities at an average yield of 3.918 per cent, versus 5.074 per cent at the previous sale on June 19, and 18-month bills at 4.242 per cent, compared with 5.107 per cent.
On Thursday the country is set to auction as much as 3 billion euros of medium and longer-dated bonds. The yield on Spain's 10-year bond has been near 7 per cent as investors remain concerned the country will need a full international financial bailout.