Indian stock markets opened higher, with Sensex and Nifty recovering losses as Iran and Israel agreed to pause attacks, leading to a drop in oil prices. Renewed optimism was broad-based, with mid and small-cap indices outperforming. A US judge's ruling on H-1B fees offered a mild positive for Indian IT stocks.