Stock futures were mostly flat Monday night after a profitable day on Wall Street as investors prepared for retail sales data for May.

Dow Jones Industrial Average futures were up 28 points, or 0.1%. S&P 500 futures and Nasdaq 100 futures were trading roughly flat.

The moves come on the heels of a positive session on Wall Street that sent the S&P 500 up about 0.8%, while the Nasdaq Composite finished the session up about 1%. Both indexes hit all-time highs during the session and closed at record highs. The 30-stock Dow Jones advanced about 0.5% to end a four-day losing streak.

“Investors basically feel that the trend is my friend until it’s over,” said Sam Stovall, chief investment strategist at CFRA Research. “They don’t really see anything at this point that would cause this uptrend to end.”

Technology stocks performed well in the session, helping the tech-heavy Nasdaq outperform the other indexes and the broader S&P 500. Notably, Broadcom rose more than 5%, while Apple jumped about 2%.

Nvidia Corp. set an all-time intraday record as State Street said the chipmaker would likely see a more than 20% weighting in a rebalancing of its technology-focused exchange-traded fund. But the stock retreated, ending the day down 0.7%. Despite the decline, shares are still up about 165% on the year.

Looking ahead, investors will be closely watching May retail sales data due Tuesday morning for insights into consumer health. Economists surveyed by Dow Jones had forecast 0.2% growth from April.