The Sensex finally ended at 17,401, higher by 40 points, and the Nifty closed at 5,187, up 10 points.
Consumer durables were the top gainers. Metals gained as the LMEX, a gauge of six metals traded on the London Metal Exchange, rose overnight. And power stocks continued their good run.
The leading Sensex gainers were Reliance Infrastructure (stronger by Rs 31 or 2.8% at Rs 1,131), Hindalco (higher by Rs 4 or 2.7% at Rs 162) and ICICI Bank (up Rs 14 or 1.7% at Rs 877).
Bharti Airtel, HDFC and NTPC were the other major gainers.
Sun Pharma was the top loser on the Sensex, weakening by Rs 30 or 1.9% at Rs 1533. Wipro shed Rs 12 or 1.8% at Rs 681 and DLF lost Rs 5 or 1.3% at Rs 365.
The market breadth was strong. Out of 2901 stocks traded on the BSE, there were 1859 advancing stocks as against 965 declines.
Sensex ends near day's high
ICICI, HDFC Bank to be labelled as foreign banks?
ICICI Bank to open 580 branches; no fresh hiring
Loan rejected? You still have an option
Markets plunge on weakness in metals, realty