The Dow Jones and S&P 500 held onto gains. Nvidia sank below a moving average while an auto retailer broke out.