The Sensex gained 61 points to close at 18,824 points, supported by appreciation of the rupee and positive European cues.