The dollar gained some ground while a measure of stocks around the world fell for the fourth day in a row as the European Central Bank raised rates on Thursday and indicated the need for further tightening a day after the U.S. Also increasing rates was the Federal Reserve.