Stocks closed at 2009 highs on Tuesday after stronger manufacturing and retail sales data boosted commodity prices and shares of materials companies.

According to the latest available figures, the Dow Jones industrial average <.DJI> closed up 54.72 points, or 0.57 percent, at 9,681.52. The Standard & Poor's 500 Index <.SPX> gained 3.30 points, or 0.31 percent, to 1,052.64. The Nasdaq Composite Index <.IXIC> rose 10.22 points, or 0.49 percent, to 2,102.00.

(Reporting by Angela Moon, Editing by Kenneth Barry)