To do this, you need to use mathematical strategies, such as the Martingale system. It is aimed at preserving the client's bank.