NEW YORK (AP) — Back to reality and back down, Wall Street focused on the bleak landscape ahead for the economy Wednesday and wiped out its big gains from a day earlier — and then some.

The Dow Jones industrial average closed down 519 points and has now lost more than 2,000 in less than three weeks. Swings of several hundred points in just minutes, accelerated by computerized trading, have become commonplace.

This time, the selling was intensified by worries about in Europe. American bank stocks took hits because investors fretted that debt problems overseas might reach the United States.

France came under pressure amid concerns that it could follow the U.S. and become the next country to lose its top AAA rating. The French president cut his vacation short and promised to slash the nation's debts.

The stocks of leading banks in Britain, Italy and Germany were hammered. The fear is that if European governments default on their bonds, it will hurt the European banks that own them.

That could start a chain reaction that hurts the United States because large U.S. banks have loans to European banks. The result on Wall Street, which already has economic problems to worry about, was a dramatic turnaround.

On Tuesday, the Federal Reserve said it planned to keep interest rates ultra-low for two more years. After some initial confusion, the stock market staged a huge comeback and had one of its best days.

But the interest-rate news proved to be a distraction. The Fed made the pledge because it sees almost no chance that the economy will improve substantially by 2013, and when investors focused on that, they dumped stocks again.

"Now it gets back to the fundamentals," said Mark Lamkin, founder of Lamkin Wealth Management, which manages $215 million.

The Dow closed at 10,719.94, down 4.6 percent for the day. By points, it was the ninth-steepest decline for the market.

Wednesday was another day marked by big moves. The Dow was down more than 300 points within minutes of the opening bell. It recovered some of that loss, then drifted steadily lower in the last two hours.

The market has traded that way for two weeks, lurching up and down. The most extreme example was Tuesday, when the Dow swung more than 600 points in the one hour and 45 minutes after the Fed's statement.

The stomach-churning highs and lows are reminiscent of the fall of 2008, the depths of the financial crisis, when there were swings of 800 or even 1,000 points in a day.

Computerized trading systems — programmed to analyze charts, capitalize on the tiniest changes in price and execute trades with no human intervention — are making the market rougher.

High-frequency trading programs make up about half of the trading volume in a normal market day but 70 percent or more on a volatile one. The programs pounce on stock changes to make just slivers of a penny but do it so often that it adds up.

Other investors also use charts and market indicators to make trades based on market momentum. The bet is that if the market is rising, it will keep rising, and if it's falling, it will keep falling.

More investors are turning to this strategy because the sudden slowdown in the economy has left them unable to judge companies based on their fundamentals, like projected profits. The more people use a momentum strategy, the faster the indexes rise or fall.

The S&P 500 finished the day down 4.4 percent and the Nasdaq composite index down 4.1 percent.

Financial stocks led the market lower. Bank of America and Citigroup each lost more than 10 percent of their market value, in part because of the worries about Europe.

Besides the fear about a chain reaction of debt, Europe is a big market for U.S. companies. It accounted for about 29 percent of foreign sales for S&P 500 companies last year.

"It's the same game of Old Maid playing out in Europe that was played out here during the subprime mortgage crisis," said Quincy Krosby, an economist and market strategist with Prudential Financial.

In one sign that France may be the next country downgraded, the cost of insuring against a default of French government debt hit a record, according to data from Markit.

President Nicolas Sarkozy rushed back from the French Riviera and called an emergency meeting of key ministers after days of mounting warnings from analysts that the credit rating of the world's fifth-biggest economy is at risk.

In Asia, the concern is that higher inflation in China could lead to slower growth. China, Brazil and other less-developed countries have provided the strongest economic growth since the world began to recover from recession in 2009.

Gold rose above $1,800 per ounce for the first time as more money poured into investments considered safe at a volatile time for the financial markets. Gold closed up about $41 at $1,784. It first passed $1,600 only in late May.

The 10-year Treasury note, which has also served as a haven, also rose sharply. Its yield fell to 2.11 percent from 2.26 percent late Tuesday. It had reached a record low of 2.03 percent on Tuesday. A bond's yield falls when its price rises.

Investors have bought U.S. government debt even after S&P stripped the United States of its top credit rating, AAA, late last week.

Nearly three stocks fell for every one that rose on the New York Stock Exchange. Consolidated trading volume was heavier than usual, 8.3 billion shares. In July, average daily volume was less than half that. On Monday, it was 9.9 billion, the highest since September 2008.

Stocks have fallen so far that six companies have withdrawn plans this week to sell stock on U.S. markets for the first time, according to Dealogic. That brings the number of withdrawn initial public offerings, or IPOs, to 65 so far this year. That is the most through this point in the year since 2001.