You can't trade to get the Shiny Charm. You have to complete the Pokedex, if someone gives you a Pokemon with the Shiny Charm. Then the Pokemon is most likely hacked, and you shouldn't use it. Plus, the Shiny Charm only works if the professor gives it to you.