The BSE Sensex gains 0.1% and the Nifty is up 0.04% after earlier touching a record high for the second consecutive session.
The Sensex gained as much as 0.39% to hit an all-time high of 22,853.03, while the Nifty advanced as much as 0.3% to hit a record high of 6,831.75.
Capital goods stocks lead the gains with Larsen and Toubro Ltd 1.7% higher and Bharat Heavy Electricals Ltd up 2.4%. Capital goods stocks are gaining for the third straight day.
However, metal stocks are under pressure with BSE's metal index trading 0.9% lower on profit-taking. Hindalco Industries Ltd is down 1.8% and Jindal Steel and Power Ltd is 2.2% lower.