The Indian stock market closed in positive territory on Wednesday, with the benchmark indices showing gains despite some ups and downs during the day. The Sensex reached an intra-day high of 82,021 but later retreated slightly to close at 81,596.63, up by 410.19 points or 0.51 percent.