Global stocks dip but set for fifth month of gains; dollar weak