Benchmark indices logged modest gains this week as RBI support for the rupee steadied sentiment. Yet weak momentum, cautious earnings commentary and continued foreign outflows kept markets trapped in a narrow range.