Limiting gains, economic news from Germany, Europe's biggest economy, was weak and the U.S. dollar rose to a five-month high against a basket of other currencies after U.S. Federal Reserve Chair Jerome Powell further interest rate hikes may be needed to fight inflation.