On Wednesday, the equity markets wrapped the volatile session on a flat note. Meanwhile, the BSE midcap and smallcap indices outperformed the benchmark indices. Sensex ended 29 points, or 0.05 per cent, down at 58,250.26 level while the Nifty settled 9 points, or 0.05 per cent, lower at 17,353.50 level. On the Sectoral front, the power sector was the highest gaining sector while the Tech sector was the weakest performer.