€10,000 in, grows to €11,000. You add €10,000. The market drops 5%.
You now have €19,950 on €20,000 deposited, so your broker shows -0.25%.
Your investments returned +4.5% (+10%, then -5%).
Figures from Yahoo Finance at the time of writing. Not investment advice.