Dynamics of the charge-density wave. II. Long-range Coulomb effects in an array of chains