You're right — if you move coins to a non-tracked wallet we treat this as if you used those coins to buy something because we really don't know. If you connect the wallet/exchange that the outgoing transfer went to, we will automatically pair them up and the gains will be calculated correctly. Does that make sense?