The Dow Jones Industrial Average posted its fourth straight gain on Monday amid more optimism around U.S.-China trade relations. However, losses in tech shares kept the index's gains in check.

The 30-stock Dow rose 38.05 points, or 0.2% to close at 26,835.51. The S&P 500, meanwhile, closed just below breakeven  at 2,978.43 to end a three-day winning streak. The Nasdaq Composite slid 0.2% to 8,087.44. Small-cap stocks outperformed, as the Russell 2000 climbed 1.3% to 1,524.23 to post its third gain in four sessions.