I know many people personally who make 200k+, with less than 10 years experience. Many of them are also immigrants. Some of the ways they got there:
- live in a tech hub with high demand for programmers. The best places are NYC/SF and probably Seattle
- switch companies every ~2 years, and negotiate for ~25% comp increases when you do. There are some tips that can help you achieve this, but it's a blog post in itself
- work for a lucrative brand-name employer like Google/FB. First, you'll make a ton of money there. Second, having them on your resume will boost your future prospects and compensation offers
- in order to accomplish the above, get really good at interviewing skills. Practice topcoder, cracking the coding interview, fundamental algorithms and data structures, communication and presentation skills, etc etc. Whatever it takes to ace the interviews, no matter how dumb you may think it is
- be good at your craft. Read expert books, work on your own small side projects, push yourself to build high quality code, and not just barely functional junk. Do everything you can to become an expert in your area
- be a great coworker. Leave a positive impression with your manager and colleagues. You don't have to be their friend, but you want to be someone they respect and would recommend to their friends