Sensex, Nifty rally to record high; end flat on profit-taking

Indian shares rose in a special 'muhurat' trading session for Diwali on Thursday. Hopes are high in the new trading year. (HT File Photo)

The BSE Sensex and Nifty rallied to record highs on Tuesday as strong buying by foreign investors continued to bolster blue chips in the lead-up to general elections, especially companies more geared towards the domestic economy such as HDFC Bank.

Still, a bout of profit-taking erased most of the gains by the end of the session as the recent pace of gains is raising the prospect of near-term consolidation.

Nifty provisionally ended up 0.19% after gaining as much as 1.1% to a record high of 6,574.95, surpassing its previous record high hit on March 11.

The BSE Sensex rose 0.06% after rising as much as 1.1% to an all-time high of 22,040.72, above its previous record hit on March 10.