U.S. stocks gained on Friday, with the S&P 500 recording its first close above 1,800 and the Dow posting its longest weekly win streak in nearly three years, as positive economic reports countered worries about the Federal Reserve curbing stimulus as early as December.

"The stock market is just digesting what happened yesterday," said Robert Pavlik, chief market strategist at Banyan Partners, referring to the market surge that came in the wake of weekly data on the number of Americans filing for unemployment benefits.