The Dow Jones Industrial Average and the other major indexes ended a topsy-turvy day mostly on the plus side Tuesday.