The best way to limit the losses in a portfolio is to invest only in great companies. But, unfortunately, good is not enough and only the great companies.
The question is how one can identify great companies.
I do it with fundamental analysis, business checklist and investment checklist. Then I use technical analysis to try to invest at a better price.