Dow, S&P 500 are back at record highs as the stock market closes out a seesaw month

MarketsAssociated Press

Major U.S. stock indexes are back at record highs after a turbulent month.

Stocks rallied in the U.S. and overseas after Japan's central bank surprised investors with a new round of economic stimulus.

Continue Reading Below

Just two weeks ago the U.S. market had its biggest slump in two years.

The Dow Jones industrial average rose 194 points, or 1.1 percent, to close at an all-time high of 17,390 Friday. The Standard & Poor's 500 reached its own record, climbing 23 points, or 1.2 percent, to 2,017.

The Nasdaq rose 64 points, or 1.4 percent, to 4,630.

Japan's benchmark index soared 5 percent to its highest level since 2007.

In the U.S., GoPro jumped 13 percent after the maker of wearable video cameras posted strong earnings.