The NSE Nifty index reclaimed the 8,700-mark by rising 84.15 points, or 0.98 per cent, to end at 8,711.55 after shuttling between 8,732.55 and 8,599.25.
After slipping briefly into the red, the broader indices gained pace towards the closing hours.
The BSE Sensex resumed higher at 28,650.25 on initial buying and advanced further to 28,685.88 but succumbed to profit-booking and fell back to touch the day's low of 28,406.25 in late morning trade.
In three successive days, Sensex has gained 577.71 points.
Also Read
Dr Reddy emerged the major gainer among Sensex stocks by surging 5.49 per cent to Rs 3,327.50.
Other prominent gainers in the 30-share Sensex include BHEL, Cipla, GAIL, Hindalco, Maruti Suzuki, L&T, Sesa Sterlite, Tata Power, Axis Bank, HDFC Ltd, HDFC Bank, Hero MotoCorp, ICICI Bank, Infosys, M&M,NTPC, ONGC and RIL.
Investors are now eyeing December IIP data and January retail inflation, to be released later today, brokers said.
Sectorally, the BSE Power index gained the most by rising 2.51 per cent, followed by Capital Goods index 2.33 per cent, Healthcare index 1.69 per cent, Auto index 1.47 per cent, Infrastructure index 1.32 per cent, Realty index 1.28 per cent and IT index 1.04 per cent.
Supported by retail investors' buying, the small-cap index rose 1.27 per cent and mid-cap index surged 1.13 per cent.
Higher closing at other Asian markets and a better opening in Europe also influenced trading sentiments here.
Foreigners sold shares worth a net Rs 371.27 crore yesterday as per provisional data.