Markets waver amid mixed trends