The formation of resonance lines in locally nonmonotonic winds. II: An amplitude diagnostic