The BSE benchmark index Sensex recovered by over 51 points to end at 19,742.52 points on the back of late buying in FMCG and banking stocks amid weak Asian and mixed European cues.
The wide-based Nifty of the National Stock Exchange regained the 6,000 mark, helped by gains in FMCG giant ITC and housing finance major HDFC. The Nifty closed up by 13.30 points at 6,001.70 points.
ITC and HDFC were the top gainers from the Sensex pack and contributed the most to the index gains, mainly helping in the fag-end recovery.
The BSE barometer initially moved in a narrow range in the negative terrain till late afternoon due to fall Asian markets, as investors adopted cautious approach after recent smart rally and also ahead of earnings season, brokers said.
But fag-end pushed it up to settle at 19,742.52, a rise of 51.10 points. On Monday, it had dropped by 92.66 points.
Banking major SBI rose by 1.07% after Bank of America Merrill Lynch upgraded the stock along with two other banks on hopes of rate cut by the Reserve Bank.
ITC rose by 2.18% while HDFC gained 1.95%. Bharti Airtel, TCS, ONGC and Sun Pharma also surged while Infosys, L&T, RIL, TCS and Wipro suffered losses and restricted the sensex rise.
Country's second largest software services exporters, Infosys lost 1.41% ahead of its third quarter results scheduled to be announced on Friday.
Asian stocks ended lower today. Key indices in China, Hong Kong, Japan, Singapore and Taiwan were down between 0.40% and 0.94%.
However, European markets were trading mixed with upward bias in their afternoon deals. The CAC was up by 0.30% and the FTSE by 0.12% while the DAX was down by 0.13%.
Meanwhile, the Finance Ministry said it is not worried about the threat of ratings downgrade by global agencies like Fitch as it is moving on the right track and will restrict fiscal deficit to 5.3% of the GDP in 2012-13.
Overall, 16 out of 30 Sensex-based stocks closed in the green while others finished in the red.
BHEL firmed up by 1.42%, Cipla 1.31%, Sun Pharma 1.30%, Dr Reddy's 1.11%, ONGC 0.83% and TCS 0.60%.
However, Tata Steel dipped by 1.55%, Wipro by 1.46%, L&T by 1.45%, Sterlite Industries 1.08%, Hero MotoCorp by 1.03%, Hindalco by 0.97% and RIL by 0.56%.
Among sectoral indices, the BSE-Realty rose by 1.22%, BSE-FMCG by 1.07%, BSE-HC by 0.73% and BSE-Power by 0.63% while BSE-CD declined by 2.01%, BSE-Metal by 0.96%, BSE-CG by 0.71% and BSE-IT by 0.49%.
Reflecting profit-booking in second-lind stocks after overnight smart rise, the total market breadth was slightly negative with 1,478 stocks losing ground as against 1,451 finishing with gains.
Total turnover improved further to Rs. 2,705.16 crore from Rs. 2,648.82 crore yesterday.
Foreign Institutional Investors (FIIs) had bought shares worth Rs. 963.05 crore on Monday, as per provisional data from the stock exchanges.