Indian markets ended the session on Tuesday marginally in the green despite the April wholesale price index inflation numbers touching a 41-month low at 4.89 per cent.
The 30-share BSE index Sensex was up 30.62 points (0.16 per cent) at 19,722.29 and the 50-share NSE index Nifty was up 14.95 points (0.25 per cent) at 5,995.40.
On the BSE, healthcare (+0.67 per cent), TECk (+0.64 per cent) and PSU (+0.48 per cent) indices supported the Sensex.
On the other hand, consumer durables (down 1.16 per cent), realty (-0.38 per cent) and auto (-0.2 per cent) indices capped the Sensex gains.
Among 30-share Sensex, Sun Pharma, ONGC, Bharti Airtel, GAIL and Tata Motors were the top five gainers, while the top five losers were Dr Reddy's, Bajaj Auto, Coal India, M&M and BHEL.
Most Asian shares were up as a rise in US retail sales boosted the sentiment, but the dollar took a breather after gaining broadly on growing optimism about the recovery in the world's largest economy.
European stocks declined for a second day as investors awaited reports on German investor confidence and euro-area industrial production.