#1 Roulette Forum & Message Board | www.RouletteForum.cc

IT & Software => Coding for Roulette => Topic started by: RouletteKnight on Jul 17, 09:56 PM 2020

Title: How do you reset a progression when bankroll has reached certain amount?
Post by: RouletteKnight on Jul 17, 09:56 PM 2020
Let's say you have some sort of betting progression and when it equals or reach a new high you totally reset.

But then when it hits (but your bankroll hasn't recovered fully) you still reduce the progression to the least amount needed.

E.g if you are on a single number and periodically increase the bets. Let say you are betting 10 units on that number, that number hits and you bankroll is say -60 units away from a previous high. Then instead of betting say 10 units you bet 2 units. Since 1 unit can earn 35 units and 60 is within 35*2 = 70.

How do you program something like that?
Title: Re: How do you reset a progression when bankroll has reached certain amount?
Post by: Joe on Jul 18, 05:33 AM 2020
I don't know what programming language you're using (I don't know RX), but the logic is the same. Keep track of the new high and the current bank, and get the stake using this formula :

Stake := Round( (new_high - bank) / payout)

Where 'Round' is a function which rounds to the nearest integer. eg. Round(2.3) = 2 and Round(3.7) = 4.

e.g. in your example, if the bank is currently 500u and the new_high is 560u, then you are 60u away from the new high. The new stake should be :

Stake := Round((560 - 500)/35) = Round(1.714) = 2
Title: Re: How do you reset a progression when bankroll has reached certain amount?
Post by: Joe on Jul 18, 12:05 PM 2020
You're welcome, don't mention it.  ::)