The 30-share barometer opened higher and fell to the day's low of 19,203.63 after data showed that inflation based on the Wholesale Price Index shot up to a five-month high of 5.79 per cent from 4.86 per cent in June.
While the index recovered on heavy demand for some blue-chip stocks, it fluctuated in positive territory before closing at 19,367.59, a gain of 137.75 points or 0.72 per cent. The index extended its winning streak to the fourth day.
The 50-share Nifty index on the National Stock Exchange rose 43 points, or 0.75 per cent, to 5,742.30. The SX40 index on the MCX-SX gained 0.91 per cent to 11,512.15.
"Rate-sensitive sectors are primarily showing most recovery as investors are once again pinning hopes for rate cuts in near term," said Nidhi Saraswat, senior research analyst at Bonanza Portfolio Ltd. "FIIs are seen as net buyers in equity, showing buying interest from lower levels."
More From This Section
ONGC rose 5.27 per cent, contributing 36.28 points to the Sensex gain, while Hindalco Industries climbed 7.1 per cent.
Oil and gas shares saw buying on buzz that the government may approve a one-time increase of Rs 2-3 per litre in diesel prices to offset the impact of the rupee's fall.
A mixed trend in the Asian region and a better opening in the European markets influenced investors amid reports that the longest-ever recession to afflict the eurozone came to an end in the second quarter of the year.