You can earn close to the average American techie in the EU, either by getting one of the better jobs here or working remotely for US/Canadian companies. Both of those options get you in $150K base range, which is what most roles in the US offer.
Getting $250K is also attainable if you freelance, which is better than 90% of companies in the US pay.