The Earned Income Exclusion, as its name applies, only applies to "earned" income. It doesn't apply to capital gains or dividends. Having reviewed the form in detail, I also believe that self-employed US citizens working abroad with US-sourced self-employment income (i.e., digital nomads) also need to play the ~15% self-employment tax, even if you're able to get out of the "normal" income tax with the Foreign Income Exclusion.