Although the session was largely volatile, buying picked up in the last hour of trade, which helped the indices close on a positive note.