Indian markets closed marginally higher on Wednesday as FMCG and IT gains were negated by selling in auto and banking stocks. Nifty remained below its 50-day EMA, signaling near-term weakness, though technical patterns hint at a potential upside.