The Sensex and the Nifty ended the session marginally in the green amid weak European cues.
The 30-share BSE index Sensex ended at 22,508.42, up 63.30 points and the 50-share NSE index Nifty ended at 6,715.30, up 15.95 points.
Barring IT, TECk, power and realty, all other BSE sectoral indices ended in the green.
Among them, consumer durables and oil & gas indices were the star-performers and were up 3.22 per cent and 1.1 per cent, respectively, followed by capital goods 0.99 per cent and banking 0.54 per cent. On the other hand, IT index was down 0.51 per cent, followed by TECk 0.46 per cent, power 0.34 per cent and realty 0.05 per cent.
RIL, ICICI Bank, L&T, ITC and Tata Motors were the top five Sensex gainers, while the top five losers were Bharti Airtel, Tata Power, Wipro, HDFC and Hero MotoCorp.
According to Equentis Capital Technical Outlook Report, "Nifty is now trading in a corrective mode and finding strong resistance/supply near to all-time highs i.e. above 6,900 levels."
"On domestic front, Q4 March 2014 (year ended FY 2014) corporate earnings and final outcome of Lok Sabha election is likely to rule the market," it added.
European stocks were little changed as investors await earnings results from UBS AG to Barclays Plc and tensions in Ukraine escalated.
Most Asian shares were up tracking overnight cues from the Wall Street, though the activity was light with Tokyo still on a holiday. Markets in Seoul and Hong Kong are also off on Tuesday to celebrate the Buddha's birthday.
The Institute for Supply Management's US services sector index rose to 55.2 in April, the fastest pace in eight months, topping analysts' forecasts. A reading above 50 indicates expansion. The data added to evidence that the US economy is emerging from a particularly harsh winter-induced slowdown.