Hello there!

I'm Pyr. It is a pleasure to meet you.

I don't think you can still trade via Wi-Fi in HeartGold... Nintendo shut down Wi-Fi connection services for the DS in May 2014. :|
However, you could use the Poké Transfer and the Pokémon Transporter to trade in XY/ORAS.
Hope that helps.

See you around. :)