Martingale Strategy simulation on Roulette

Good afternoon everybody,

I know that most people who have a slight background in probability theory try to apply it to casinos games. I even reckon that most teachers now choose this approach to interest their students to the field.

However, I have the chance to know people working in casinos, and I know too well that “the casino always wins” to be foolish enough to try and test a strategy for real.

It is interesting to distinguish the different kind of games you can find in the casinos. Mainly, I’d say that you have all kinds of electronic games, the blackjack and the roulette.

Ed Thorp famously showed in his book “Beat the dealer” the “counting strategy” which allows the player to have an advantage over the dealer in the long term. We now know that the casinos have very little sympathy for card counters, and I will let you try your luck if you fancy your chances and don’t care too much about your health.

Electronic games have been beaten as well by computer scientists who identified the pseudo-random sequences of the machines and hence were able to make significant profits, allegedly. Indeed, this is just a rumor, but I would be interested to have a concrete article about that if you know a real story.

Several tries have been made to beat the roulette. Ed Thorp, again, tried to have some portable computer trying to guess the expected landing zone of the ball, but didn’t do very well. The thing with roulette, is that it is one of the fairest game you will find in the casino. Indeed, the only thing that give the edge to the house is the presence of the “0” on the board (some even have a “00”). If it wasn’t for that, the house wouldn’t be able to make any money on the long-term, and the game would be fair.

Let’s consider a simple example, the expectation of the returns for a bet of 1 on red without the zero is:

$$E[X]=0.5 \cdot 1 + 0.5 \cdot -1=0$$

Yet with the zero (which pays 1/2 to any color bet) the expectation is:

$$E[X]=\frac{18}{37} (1-1) + \frac{1}{37} (-0.5) = \frac{1}{74} = -0.0135$$

This argument should be enough to discourage anybody from going further with this kind of color betting strategy without having an edge on where the ball will land.

However, you will often hear some people pretending to be able to make profit by playing the so-called “Martingale strategy”. The idea is to bet the amount that was lost so far, plus the minimum bet to make sure that, at the first win, you will end up with a profit of exactly the minimum bet.

In essence, this idea is not too bad. However there are 2 majors problems. The first one is that the casinos limit the maximum bets and the second one is that the player doesn’t have infinite wealth. Hence, with a long enough sequence of losses, the player would not have sufficient funds to play the next bet.

I think people tend to underestimate how quickly they would be out of money to apply such a strategy. Therefor, I decided to implement a little software which allows you to do a simulation with a defined initial wealth.

The strategy I follow is simple: I apply the martingale strategy as long as I lose, and I keep all the extra earning in my pocket. Hence, I stop playing when I am facing a run of losses exceeding my initial wealth. I then leave the casino with the sum of the excess earnings I won.

You can download the software here.

You will be able to do a manual simulation which will give you the exact evolution of the strategy as well as the history of the roulette.

You will also have the possibility to run several instances of the strategy in the background and to get a summary of your performance.

Assuming you use the default initial wealth of 100, and assuming the minimum bet is 5, you will see that the results converge with sufficient simulations.

It turns out that, with such parameters, you will end up leaving the casino having lost on average 25, that is, you lost your 100 but you earned 75 along the way.

It is also interesting to note that, if you increase the initial wealth, you will not perform better. This is due to the fact that you actually lower the damage limitation.

Note also that, in that strategy, losses sequences increase you bids exponentially whereas winning streaks keep a bid of 5.

Try it yourself, and let me know what you think of the app.

See you next time!


2 responses to “Martingale Strategy simulation on Roulette”

  1. S. Vilaseca Avatar
    S. Vilaseca

    **** French ****
    Je n’arrive malheureusement pas à télécharger le software sur mon poste (tourant avec Vista). Ca me met juste un message pendant l’installation comme quoi le programme a cessé de fonctionner…

    **** English *****
    I unfortunately can’t download the application on my cpu. While installing, I just get a message “the program stopped working”…

  2. If you could just give me the exact message you get or just mail me a screenshot, I might be able to find out what’s wrong.

    The program itself was developed on Vista so the problem shouldn’t be coming from there.

    I tried to install it on several computers and it worked fine.

    If the problem persists, I might as well just upload the .exe itself, because the application is quit simple and doesn’t require anything special.

    You could maybe download the Framework .Net 4.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.