Stocks recovered the previous day's losses to close higher Thursday, with the S&P 500 regaining its footing above 1,750, as Wall Street cheered a handful of upbeat earnings and encouraging economic data from China.
The Dow and S&P 500 are on track for their third-straight winning week.
"Keep in mind this is the kind of market where buying begets buying and selling begets selling," wrote Elliot Spar, market strategist at Stifel Nicolaus. "It's all part of the momentum game. It could get exacerbated to the downside by those money managers that don't want to ruin a great year in the last two months."
The Dow Jones Industrial Average soared 95.88 points to end at 15,509.21, boosted by Visa and Home Depot. The blue-chip index is within 1.5 percent from hitting its record high. The Dow has flip-flopped between gains and losses for nine-consecutive sessions.
The gained 5.69 points to close at 1,752.07. For the year, the S&P 500 is up a cool 20 percent. And the Nasdaq climbed 21.89 points to finish at 3,928.96.
Meanwhile, the CBOE Volatility Index (VIX), widely considered the best gauge of fear in the market, was parked in a range for most of the session near 13.
Among key S&P sectors, consumer discretionary led the gainers, while telecoms sagged.
(Read more: Stock-picker Sass expects 8-year market expansion)
"Our assumption is 5 to 6 percent earnings growth this year, next year and probably 2015," said Scott Wren, senior equity strategist at Wells Fargo Advisors. "The economy has been in a very modest growth, modest inflation environment for a while and it's not going to change…but valuations are still reasonable and they're still below historical average."
While Wren believes the market gains are set for the year at around 1,650 to 1,700 on the S&P 500, he sees the index rising to between 1,850 and 1,900 by the end of 2014.
(Read more: Watch Art Cashin: Record profit margins 'stunning')
On the economic front, weekly jobless claims declined 12,000 to a seasonally adjusted 350,000, according to the Labor Department. Economists polled by Reuters had expected first-time applications to fall to 340,000 last week. Meanwhile, ongoing computer issues in California lingered, distorting the weekly reports since September.
And the U.S. trade deficit widened slightly by 0.4 percent to $38.9 billion in August as exports slipped, according to the Commerce Department. Economists surveyed by Reuters had expected a reading of $39.5 billion.
"The market seems to want numbers that aren't bad but aren't good—somewhere in the middle," said Jim Iuorio, director at TJM Institutional Services. "What the market would really love is numbers that continue to give us a lack of clarity because if the Fed doesn't have clarity, they're certainly not going to talk about taper."
(Read more: Overbought? Nosweat, thanks to 'Bernanke-care')
Apple rose after billionaire Carl Icahn asked the tech giant to commence an immediate tender offer of $150 billion in a letter to CEO Tim Cook. Icahn now owns roughly 4.7 million shares of Apple, up from 4 million shares.
Apple is undervalued and a massive buyback of shares is a "no brainer," Icahn told CNBC, adding that he could consider a proxy fight if the company did not buy back more shares.
Bank of America traded lower after a report that the financial giant is looking to before the end of the year as the company battles with declines in refinancing and in its portfolio of delinquent home loans.
Symantec plunged more than 10 percent to lead the S&P 500 laggards after the software maker posted lower-than-expected sales and forecast current-quarter results below estimates, due to low demand for storage and security products.
Meanwhile, Dow Chemical declined after the chemical company missed expectations both on the top and bottom lines, citing unrest in the Middle East region. However, CEO Andrew Liveris told CNBC that the company is seeing improved pricing and cash flow this quarter.
(Read more: As US stocks near high, is it time to cherry pick?)
Goldman Sachs edged higher after Deutsche Bank raised its rating on the financial giant to "buy" from "hold."
In Asia, HSBC's flash PMI for China suggested its manufacturing sector increased this month, due to a strong rise in new orders. This was the latest piece of positive data to emerge from the world's second-largest economy, following last week's upbeat third-quarter GDP report. Despite the good news, the Shanghai Composite hit a one-month low, weighed down by fears of a repeat of June's cash crunch.
(Read more: China money market rates spike – don't panic yet)
Meanwhile, Markit's flash PMI for the euro zone indicated that growth in business activity in the region unexpectedly slowed in October, raising questions about the strength of its economic recovery.
—By CNBC's JeeYeon Park (Follow JeeYeon on Twitter: @JeeYeonParkCNBC)
On Tap This Week:
THURSDAY: Earnings from Amazon.com, Microsoft, Western Digital, Zynga
FRIDAY: Durable goods orders*, consumer sentiment, iPhone 5s & 5c sold overseas, Twitter roadshow begins; Earnings from P&G, UPS
(*Report likely delayed due to government shutdown)
What's Trending on CNBC.com: