Markets wavered Tuesday as investors digested September’s U.S. retail sales report and third-quarter earnings from banks.