Equity benchmark indices wiped out early gains on Tuesday and closed in the red after a volatile trading session that saw metal stocks shining but IT scrips plunging.