The S&P 500 and the Nasdaq managed to secure another record close after struggling for direction in much of Tuesday's session ...