A martingale is a betting approach that doubles the stake after each loss, aiming for one win to recover everything, and it tends toward ruin.
It maximizes exposure exactly when you are most wrong, so one long losing run bankrupts the account. Adding to losers to lower an average price is a common trading version of the same mistake.