Optimal taxation country with Estonian company

Thinking about opening a Estonian company to invest in stocks & crypto. Primarilly since it’s my understanding that reinvesting is not taxed. So in my case it would be highly beneficial since I provide liquidity in crypto markets which enables me to compound and grow those investments on a weekly basis.

As a EU citizen I think Portugal could still be very good with the new NHR? It would enable me to pay 0% taxes on dividends from the Estonian company. My company in Estonia would only pay a dividend tax of 20% on dividends I pay out.

Is my understanding correct and are there any other countries that are also beneficial and could serve as good alternatives for a EU citizen? If I stay in my current country I would most likely be taxed even without paying out any money which is not ideal. Appreciate any thoughts.