Need help with programming a robotic arm with a minimum of 3 servos

You don't normally need two servos for "up" and "down". One servo will move the arm in both directions.