Reversing initial strong buoyancy, equity markets ended on a flat line due to frantic profit-taking at higher levels as investors turned cautious and were unwilling to take heavy bets ahead of a long weekend break.

The benchmark Sensex settled flat at 31,283.72, while Nifty advanced over 19 points to 9,788.60.

It strengthened further to touch a fresh intra-day high of 65.2350 in mid-afternoon deals before concluding at 65.28, showing a steep rise of 22 paise, or 0.34 per cent.

On the weekly basis, it has depreciated by a whopping 51 paise.

The RBI, meanwhile, fixed the reference rate for the dollar at 65.3552 and for the euro at 77.0603.

The forex market will remain closed on Monday in view of Gandhi Jayanti.

The dollar index, which measures the greenback's value against a basket of six major currencies, was little changed at 92.95.

In cross-currency trades, the rupee rose further against the pound sterling to settle at 87.39 from 87.95 per pound and hardened against the Japanese yen to end at 58.03 per 100 yens from 58.12.

It also continued to rally against the euro to close at 77.10 from 77.13 yesterday.

In forward market today, premium for dollar eased further owing to sustained receiving from exporters.

The benchmark six-month premium payable in February edged lower to 108.25-110.25 paise from 110-112 paise and the far forward August 2018 contract also declined to 246.75-248.75 paise from 251-253 paise yesterday.

On the international energy front, crude prices traded mixed on Friday, but both Brent and US crude were set to chalk up another weekly gain as investors bet that efforts to cut a global glut are working and that the demand outlook is improving.