The markets edged higher, gaining nearly half a percent, continuing the ongoing trend. Following a flat start, the Nifty traded within a narrow range but saw selective buying in the final hour, pushing the index to close near the day’s high at 24,770