Metal detector with maximum sensitivity and stability