Indian markets reversed early losses to end higher on Thursday, with the Sensex and Nifty rebounding after a sharp morning selloff. Gains were supported by an upbeat economic survey and firm global cues, even as elevated crude, record gold prices and U.S.–Iran tensions kept investors cautious ahead of the Union Budget.