U.S. stocks appeared to be ending the week on a higher note after stocks gave up early gains Thursday to close nearly where they started. European shares rallied after the European Central Bank announced aggressive stimulus measures, a move that initially pushed shares down on both sides of the Atlantic.