(CNBC) The S&P 500 and the Nasdaq composite indexes closed at record levels on Friday as investors looked ahead to a key European election.
Both indexes, along with the Dow Jones industrial average, rose sharply heading into the close after hovering around the flatline for most of the session.
The Dow, S&P and Nasdaq also posted slight weekly gains and traded in a narrow range for most of the week.
“This narrow trading range tells us a few things,” said Art Hogan, chief market strategist at Wunderlich Securities. “First, we went up 2 percent the week before. Second, we’re near all-time highs and finally, earnings season is over and we now shift our attention to macro issues.”