Okay, it's compression because say, for simplicity, you divide up the wire into three pieces, A on top of B on top of C, and just look at the forces on B: there are three forces on B: the weight of B, the weight of A which acts DOWN, and the weight of C which acts UP (the contact/restoring force). So there are two forces pushing "inward" on B, so you have compression.