Stocks posted gains on Tuesday. Hewlett-Packard, DuPont and Chevron led advancers on the Dow. Brands climbed following news that the Greek parliament approved a new property tax, which was critical for the debt-burdened country to receive its next bailout installment. Meanwhile, consumer confidence was up this month. The Conference Board’s index increased slightly to 45.4 from 45.2 in August. The result was shy of an expected reading of 46.6. Elsewhere, crude oil added $4.21 to settle at $84.45 a barrel. Looking ahead, data on durable goods orders for August is due out tomorrow.