* Bernanke reiterates timeline for stimulus program * European shares rebound after BoE minutes shock * Bank of America rises after strong profit growth * Euro dips while U.S. dollar index edges higher By Ryan Vlastelica NEW YORK, July 17 (Reuters) - Stock markets around the world rose on Wednesday after U.S. Federal Reserve Chairman Ben Bernanke said the timeline for the central bank ending its stimulus program this year was not set in stone. European shares rebounded from early weakness that came after minutes from a Bank of England meeting showed all policymakers voted against extending the bank's bond purchase program, which, like the Fed's, has been widely credited with boosting equity gains this year. The Fed recently said it would begin scaling back its accommodative policies later this year if economic growth meets its targets. While Bernanke reiterated in a speech to Congress on Wednesday that that was still the case, he noted that asset purchases "are by no means on a pre-set course." The U.S. dollar index rose 0.3 percent against a basket of currencies, while the euro fell 0.2 percent. The benchmark 10-year U.S. Treasury note was up 17/32, the yield at 2.4683 percent. Yields on the 10-year have jumped since May, when Bernanke hinted that the program would be slowed this year. "Nothing he said drastically changes the game, but markets have become more comfortable with Fed policy," said Andres Garcia-Amaya, global market strategist at J.P. Morgan Funds in New York, adding that it was a positive for markets that the rise in interest rates could be enough to push the Fed to extend its stimulus. The Dow Jones industrial average was up 27.04 points, or 0.17 percent, at 15,478.89. The Standard & Poor's 500 Index was up 6.73 points, or 0.40 percent, at 1,682.99. The Nasdaq Composite Index was up 12.72 points, or 0.35 percent, at 3,611.22. The MSCI International ACWI Price Index rose 0.3 percent. U.S. markets were also supported by Bank of America, which rose 1.6 percent to $14.14 after posting a steep jump in profits. Analysts expect S&P 500 company earnings to have grown 3 percent in the second quarter, with revenue up 1.5 percent, according to data from Thomson Reuters. Of the 36 S&P components that reported results through Tuesday morning, 63.9 percent beat analysts' expectations and 55.6 percent surpassed revenue estimates. Other S&P 500 companies scheduled to report earnings on Wednesday include American Express Co., eBay Inc. , IBM and Intel Corp. European shares recovered from the surprise news that there were no calls for new UK stimulus at Mark Carney's first meeting in charge at the Bank of England. Carney and the bank's other eight policymakers voted unanimously against more bond purchases, setting aside their differences ahead of a soon-to-be-released review on giving guidance about future interest rates. "It's quite a surprise that nobody voted for more (BoE stimulus)," said Deutsche Bank economist George Buckley, referring to bond buying, known as quantitative easing. "Now the question is, if they don't do anything on forward guidance, do they then go back to reverting to QE? I suspect not because the data has shown signs of recovering." European shares rose 0.7 percent while German Bunds rose 0.1 percent to 143.77. GOLD SLIPS In commodity markets, gold fell 0.8 percent, retreating from a 0.8 percent gain in Tuesday's session. Copper prices fell 1.5 percent to below $7,000 a ton, giving up some of the previous session's 1.2 percent gain. Brent crude prices rose 0.3 percent and hovered near a 3-1/2 month high. "Traders would be very cautious in taking fresh positions given that they have been burnt on both sides, on the dovish side as well as the hawkish side," said Ben Le Brun, an analyst at OptionsXpress in Sydney.