BSE Sensex touched a high of 16,213 after gaining steadily for most part of the day.
The Sensex edged up 119 points to 16,065. Nifty ended up 34 points at 4,812.
Asian markets recovered from day's low and ended on a flat note. Nikkei dropped 0.4% to 8,314. Hang Seng added 0.1% at 18,251.
Markets in Shanghai and Seoul were also flat.
Back in India, markets are likely to remain volatile for the next two days as traders roll over positions in futures and options segment on Thursday.
"A pullback is due. However, there would be fresh selling at higher levels, as the overall trend has turned negative for our markets.
"After the sharp decline, if the market pulls back, it will be a vicious pullback.
"However the immediate resistance is at 4,950 on Nifty. The key support is however at 4,720 levels," said Kunal Bothra, Technical Analyst, LKP Securities.
BSE metal and IT shares jumped. IT index moved up 2% at 5,585 as the rupee depreciated to a fresh 32-month low of 52.15 against the dollar on Monday.
A weak rupee boosts revenue of IT firms in rupee terms as the sector derives a lion's share of revenue from exports.
Heavyweight Infosys added 2.3% at rs 2,723. TCS and Wipro were up 1.8% each.
With the rupee falling to a lifetime low, Finance Minister Pranab Mukherjee said on Tuesday RBI intervention in the forex market will not arrest the slide as FIIs' pullout and global reasons were behind the depreciation.
Pranab Mukherjee also said that there is a chance that inflation will come down to 6-7%
Joshi praises Pranab's defence of CAG, PAC
26/11: The architecture for securing lives
Rupee at all-time low; RBI move won't stop fall, says Pranab
ITC, Tatas vie for hotel market share
BSE gets Sebi approval for SME Exchange