A compound is neutrally charged.
An ion can be a cation (positively charged) or an anion (negatively charged). Ions are formed when atoms either gain or lose electron/s. When electron/s is/are gained, the ion become negatively charged and is known as an anion. On the other hand, when electron/s is/are lost or donated, the ion becomes a cation or a positively charged ion. Thus, an ion is not neutrally charged.
An electron, by very definition, has a negative charge. Similarly, a proton has a positive charge. It is the presence of protons and electrons in an atom that makes it neutrally charged.
A compound is formed by bonding between two or more elements, say sodium and chlorine atoms resulting in sodium chloride (common salt) through ionic bonding. In bonding, charges on various atoms are balanced by donating or accepting or sharing electrons. Compounds are thus neutral.
Hope this helps.