Stocks are trading cautiously higher amid a pullback in the U.S. dollar and another slate of solid second quarter earnings Tuesday.