(CNN) -- The Wall Street roller coaster started to climb again.
The Dow rose 400 points Thursday. The broader S&P 500 was up 1.8% and the Nasdaq rallied 3%. Stocks bounced back after a sharp drop Wednesday that sent the Nasdaq into a correction.
The market has slumped badly in the past several weeks, but it hasn't fallen in a straight line. Volatility is spiking, and huge sell-offs have been interspersed with big gains, including October 16's 548-point jump for the Dow and October 12's 287-point gain.
Still, the back and forth has been heaviest in one direction: down. The S&P 500 was less than a percentage point drop away from entering a correction Wednesday. Investors had been looking for strong corporate earnings to drag stocks out of the doldrums, but earnings have disappointed this quarter. That gave already nervous investors more anxiety.
"No matter how good the report or how positive the guidance, investors are looking for the exits," said Justin Walters, cofounder of Bespoke Investment Group, in a note to investors Thursday. "Companies that are reporting earnings this season are getting slaughtered."
The average stock has fallen 2% the day after reporting earnings this quarter -- the worst performance of the 21st century, according to Walters.
Concerns about rising rates and the trade war have spooked the markets this month. The S&P 500 has fallen more than 8% in October, and the Nasdaq is down 10%. Only 13% of stocks are trading above their 50-day moving averages, evidence that Walters believes suggests stocks have been oversold.
Investors agreed on Thursday at least. They saw a buying opportunity, particularly in tech.
All of the FAANG stocks were upmore than 2%. Amazon led the pack, up 5%.
Twitter (TWTR) was up 16% after reporting higher profit and more engaged customers despite losing users overall. Netflix (NFLX) rebounded after plummeting 9% Wednesday. Microsoft (MSFT) rose about 5% after reporting strong earnings the night before.
The Dow tumbled more than 600 points on Wednesday, and the Nasdaq lost 4%, its worst one-day percentage drop in more than seven years.
- Stock market rebounds: Dow rises 400 points
- Dow falls 400 points as recession indicator flashes red
- Auburn rebounds in Fayetteville
- Dow soars 1,000 points, biggest point gain ever
- Stock market tries for a comeback
- How the Dow fell 800 points in 10 minutes
- Dow falls 832 points in third-worst day ever
- Dow plunges 799 points on trade, slowdown fears
- Dow falls 508 points, Nasdaq turns negative for the year
- Dow plunges after biggest point gain in history