The Martingale is probably the oldest, riskiest and popular roulette system. The Martingale system is simply doubling your bet after each loss. This is used mostly playing on the even chance bets (red, black, odd, even, high and low). You can use the Martingale on any type of betting, for example, betting on soccer. Here is a concrete example in roulette. starting with £1.

Bet NumberUnits betResultRunning Total
11loss-1
22loss-3
34loss-7
48loss-15
516win+1

No matter what the streak, eventually you will win and get your 1 unit back. However, you will need a large bankroll to sustain a bad run and every casino has a bet limit. You will hit the bet limit before that happens.

Lets see how this works out in a roulette simulator.

Basically, with the martingale system, you can be up in the short term but the long term is another matter. After 1000 spins you might be up, even after 10000 spins but eventually you will hit the table limit and you will not be able to continue.

Code for roulette Xtreme


System "Martingale"
{
Uses a progression betting list for even chance Red
}
Method "main"
Begin
    While Starting a New Session
    Begin
        Set List [1,2,4,8,16,32,64,128,256,512,1000] to
        Record "progression" Data

        Put 100% of Record "progression" Data to Red
    End

    While on Each Spin
    Begin
        If Any Even Bet has Won Each time
       Begin
        Put 1 on Record "progression" Data Index
        End


    If Any Even Bet has Lost Each time
    Begin
        Add 1 to Record "progression" Data Index

    If Record "progression" Data Index >
        Record "progression" Data Count
    Begin
        Stop Session
    End
End
    Put 100% of Record "progression" Data to Red
End
End