Markets close up