Major U.S. stock benchmarks struggle for direction Tuesday, with support tied to a strong round of earnings from major retailers, including Dow components Home Depot Inc. and Walmart Inc., offset by weaker-than-expected housing data.