Here is a simple positive progression and I would love someone to help me improve it.
How it works: (It bets high all the time. Working code is at bottom of post)
Starting bet is zero
After 4 wins in a row (betting zero)
Enter bet 1 starting bet example: 0.00001
If bet 1 loses, reset
If bet 1 wins, bet double 0.00002
If bet 2 loses, reset
If bet 2 wins, bet double 0.00004
If bet 3 loses, reset
If bet 3 wins, reset (this hand collected 0.00008)
(Nutshell version: It waits for 4 wins in a row and then bets the next 3 hoping for a 7 win series)
Here's where I need help.
I want to define it as a "series" each time it bets higher then zero.
I want to define those series' as "win series" or "loss series" based on result.
I want to be able to raise the starting bet once there has been X # of loss series
and lower it after a win series.
example:
Starting bet A 0.00002
Starting bet B 0.000045
Starting bet C 0.00010
Starting bet D 0.00024
If current win series is less then 6, then use Starting Bet A
If current loss series is between 6 and 12, then use Starting Bet B
If current loss series is between 12 and 18, then use Starting Bet C
If current loss series is between 19 and 25, then use Starting Bet D
Here's the code. I'm hoping someone can help me to bring this idea to life. I'm missing some pieces in the puzzle of how to code this.. Thanks!
-- Level Up Go-For-7 by DCP @ BitcoinTalk
nextbet = 0.0
chance=51
enablesrc=true
bethigh = true
resetonwin = false
bethigh = true
function dobet()
if win then
nextbet = previousbet*0
if (resetonwin == true) then
nextbet = previousbet*0
end
-- (this part might be redundant but I want to be sure its betting high all the time)
if lastBet.Roll > 50000 then bethigh = true
end
if lastBet.Roll < 50000 then bethigh = true
end
if currentstreak == 4 then
nextbet = 0.000001
end
if currentstreak == 5 then
nextbet = previousbet*2
end
if currentstreak == 6 then
nextbet = previousbet*2
end
if currentstreak == -7 then
resetonwin=true
end
else
nextbet = previousbet*0
if lastBet.Roll > 50000 then bethigh = true
end
if lastBet.Roll < 50000 then bethigh = true
end
end
end