Stop-Loss and Take-Profit in Automated Trading: How to Protect Your Portfolio