U.S. stocks closed at highs on Thursday after encouraging domestic data alleviated concerns over continued signs of slowing growth in Europe and China.

The Dow Jones Industrial Average ended the day at a record for the 27th time this year, while the S&P 500 closed at a record for the 44th time.