@mem
Thank you so much for creating that perl script.
I've been looking for a customizable martingale simulator tool like that for so long.
It really adds up to my statistical studies and math scraps as well.
One funny stuff: I've just simulated some neutral
expected value (0EV) scenarios changing the following lines.
$lose_multiplier = 0; # 0EV
Then I ran a million bets and got profit as a result every time considering that:
$incr = 2.2; # always > 2
$bet_start = 0.5; # 0.5% of bankroll.
$pot=100;
$table_max=2.42; # 3rd and last consecutive bet.
$hitmax=1; # resets after 3rd consecutive loss.
$win_multiplier = $incr; # no house's edge / vig / juice.
I was hoping for a near no-profit / no-loss situation due to the
Law of Large Numbers but got profit in all situations simulated.
Isn't that strange?
So I ask you, do that functions...
$r=rand;
$rand = int(rand(2)); # 0 = win, 1 = lose
...really give us 50% rate (win/lose) as expected?
It seems like I got over 50% winning rate.
Maybe the algorithm is not that fair enough.
Very strange though...