Stocks finished near session highs Friday, recovering from a two-day slump, lifted by upbeat economic data from Europe and after comments from St. Louis Fed President James Bullard that the central bank's aggressive easy money policy will stay for a "long time."

The Dow eked out a slim weekly gain, avoiding its third-consecutive weekly decline. Meanwhile, the S&P 500 posted its first weekly loss this year, snapping its seven-week win streak.