Bloomberg - 123RF

Stocks struggled for direction as traders navigated a US-China trade truce, mixed technology earnings and a cautious Federal Reserve amid a host of moving parts shaping markets.