The three major U.S. stock indices closed at all-time highs on Monday, extending a powerful rally driven by strong performances in technology and.