--Algorithm---
algA = 0
algB = 100
----------
MinChance = 5
MaxChance = 95
----------
chance = math.random(MinChance*100,MaxChance*100)/100
multiW = chance/(100-chance)+1
multiL = chance/(100-chance)+1
streak = ((100-chance)/(chance/10))*multiL
base = (balance*((chance/100)*.95))/multiL^streak
MinBase = 0.0001
MaxBase = 0.01
if base <= MinBase then base = MinBase end
if base >= MaxBase then base = MaxBase end
----------
AdditionConditionOnWin = 6
AdditionConditionOnLost = 1
--1=Normal
--2=UpByAmount
--3=UpByProfit
--4=DownByAmount
--5=DownByProfit
--6=MultiFromLost
---reset to base if---
MaxWin = 0 --set 0 if not reset-base
MaxLost = 0 --set 0 if not reset-base
----------
----------
nextbet = base
bethigh = true
HighLow = math.random(0,5)
la = 0
wc = 0
lc = 0
tg = 0
bt = 0
---rebase---
reset_bet = 0.000000001
---set stop target---
start_balance = balance
target_profit = 8000
function dobet()
if balance == start_balance + target_profit then
stop()
end
----------------
--High/low
---
if HighLow == 0 then bethigh = true end
---
if HighLow == 1 then
swhl = math.random(0,9)
if swhl == 0 then bethigh = false end
if swhl == 1 then bethigh = true end
if swhl == 2 then bethigh = false end
if swhl == 3 then bethigh = false end
if swhl == 4 then bethigh = true end
if swhl == 5 then bethigh = false end
if swhl == 6 then bethigh = true end
if swhl == 7 then bethigh = false end
if swhl == 8 then bethigh = false end
if swhl == 9 then bethigh = true end
end
---
if HighLow == 2 then
if bethigh == true then
bethigh = false
else
bethigh = true
end
end
---
if HighLow == 3 then
r = math.random(1,4)
if r == 2 then
bethigh = false end
else
if r == 4 then bethigh = true end
end
---
if HighLow == 4 then
br1 = math.random (0,5) br2 = math.random (0,5)
if br1 + br2 >= 5 then
bethigh = true
else
bethigh = false
end
end
---
if HighLow == 5 then bethigh = false end
----------
----------
if win then
la -= currentprofit
if la <= (-reset_bet) then
tg += currentprofit
la = 0
wc +=1
lc = 0
if tg >= base*100 or bt >= (100-chance)*multiL then
print("")
print("End of Season")
print("Get WON "..(tg).."Doge")
print("")
print("New Season Start")
print("")
tg = 0 bt = 0
----------
MinChance = 5
MaxChance = 95
----------
chance = math.random(MinChance*100,MaxChance*100)/100
multiW = chance/(100-chance)+1
multiL = chance/(100-chance)+1
streak = ((100-chance)/(chance/10))*multiL
base = (balance*((chance/100)*.95))/multiL^streak
MinBase = 0.0001
MaxBase = 0.01
if base <= MinBase then base = MinBase end
if base >= MaxBase then base = MaxBase end
----------
AdditionConditionOnWin = 6
AdditionConditionOnLost = 1
--1=Normal
--2=UpByAmount
--3=UpByProfit
--4=DownByAmount
--5=DownByProfit
--6=MultiFromLost
---reset to base if---
MaxWin = 0 --set 0 if not reset-base
MaxLost = 0 --set 0 if not reset-base
----------
random_chance = false
algorithm = math.random(algA*100,algB*100)/100
HighLow = math.random(0,5)
end
-----------------
---
if algorithm == 5 then
chance = 5
multiW = 0.1
multiL = 1.082
streak = 150
base = (balance*((chance/100)*.95))/multiL^streak
MinBase = 0.0001
MaxBase = 0.01
if base <= MinBase then base = MinBase end
if base >= MaxBase then base = MaxBase end
----------
AdditionConditionOnWin = 6
AdditionConditionOnLost = 1
---betFunction---
--1=Normal
--2=UpByAmount
--3=UpByProfit
--4=DownByAmount
--5=DownByProfit
--6=MultiFromLost
---reset to base if---
MaxWin = 0 --set 0 if not reset-base
MaxLost = 0 --set 0 if not reset-base
----------
print("")
print("----------")
print("Algorithm ="..algorithm)
print("----------")
print("")
end
---
---
if algorithm == 33 then
chance = 33
multiW = 1.11
multiL = 1.52
streak = 32
base = (balance*((chance/100)*.95))/multiL^streak
MinBase = 0.0001
MaxBase = 0.01
if base <= MinBase then base = MinBase end
if base >= MaxBase then base = MaxBase end
----------
AdditionConditionOnWin = 1
AdditionConditionOnLost = 1
---betFunction---
--1=Normal
--2=UpByAmount
--3=UpByProfit
--4=DownByAmount
--5=DownByProfit
--6=MultiFromLost
---reset to base if---
MaxWin = 0 --set 0 if not reset-base
MaxLost = 0 --set 0 if not reset-base
----------
print("")
print("----------")
print("Algorithm ="..algorithm)
print("----------")
print("")
end
---
---
if algorithm == 49.5 then
chance = 49.5
multiW = 0.275
multiL = 1.82
streak = 16
base = (balance*((chance/100)*.95))/multiL^streak
MinBase = 0.0001
MaxBase = 0.01
if base <= MinBase then base = MinBase end
if base >= MaxBase then base = MaxBase end
----------
AdditionConditionOnWin = 1
AdditionConditionOnLost = 1
---betFunction---
--1=Normal
--2=UpByAmount
--3=UpByProfit
--4=DownByAmount
--5=DownByProfit
--6=MultiFromLost
---reset to base if---
MaxWin = 0 --set 0 if not reset-base
MaxLost = 0 --set 0 if not reset-base
----------
print("")
print("----------")
print("Algorithm ="..algorithm)
print("----------")
print("")
end
---
---
if algorithm == 60 then
Chance = 60
multiW = 1.665
multiL = 1.665
streak = 27
base = (balance*((chance/100)*.95))/multiL^streak
MinBase = 0.0001
MaxBase = 0.01
if base <= MinBase then base = MinBase end
if base >= MaxBase then base = MaxBase end
----------
AdditionConditionOnWin = 1
AdditionConditionOnLost = 1
---betFunction---
--1=Normal
--2=UpByAmount
--3=UpByProfit
--4=DownByAmount
--5=DownByProfit
--6=MultiFromLost
---reset to base if---
MaxWin = 0 --set 0 if not reset-base
MaxLost = 0 --set 0 if not reset-base
----------
print("")
print("----------")
print("Algorithm ="..algorithm)
print("----------")
print("")
end
---
---
if algorithm == 66.6 then
Chance = 66.6
multiW = 0.44
multiL = 2.25
streak = 12
base = (balance*((chance/100)*.95))/multiL^streak
MinBase = 0.0001
MaxBase = 0.01
if base <= MinBase then base = MinBase end
if base >= MaxBase then base = MaxBase end
----------
AdditionConditionOnWin = 1
AdditionConditionOnLost = 1
---betFunction---
--1=Normal
--2=UpByAmount
--3=UpByProfit
--4=DownByAmount
--5=DownByProfit
--6=MultiFromLost
---reset to base if---
MaxWin = 0 --set 0 if not reset-base
MaxLost = 0 --set 0 if not reset-base
----------
print("")
print("----------")
print("Algorithm ="..algorithm)
print("----------")
print("")
end
---
---
if algorithm == 72 then
Chance = 79
multiW = 1.25
multiL = 1.85
streak = 18
base = (balance*((chance/100)*.95))/multiL^streak
MinBase = 0.0001
MaxBase = 0.01
if base <= MinBase then base = MinBase end
if base >= MaxBase then base = MaxBase end
----------
AdditionConditionOnWin = 1
AdditionConditionOnLost = 1
---betFunction---
--1=Normal
--2=UpByAmount
--3=UpByProfit
--4=DownByAmount
--5=DownByProfit
--6=MultiFromLost
---reset to base if---
MaxWin = 0 --set 0 if not reset-base
MaxLost = 0 --set 0 if not reset-base
----------
print("")
print("----------")
print("Algorithm ="..algorithm)
print("----------")
print("")
end
---
---
if algorithm == 72.55 then
MinChance = 72
MaxChance = 82
random_chance = true
multiW = 1
multiL = 2.875
streak = 10
base = (balance*((chance/100)*.95))/multiL^streak
MinBase = 0.0001
MaxBase = 0.01
if base <= MinBase then base = MinBase end
if base >= MaxBase then base = MaxBase end
----------
AdditionConditionOnWin = 1
AdditionConditionOnLost = 1
---betFunction---
--1=Normal
--2=UpByAmount
--3=UpByProfit
--4=DownByAmount
--5=DownByProfit
--6=MultiFromLost
---reset to base if---
MaxWin = 0 --set 0 if not reset-base
MaxLost = 0 --set 0 if not reset-base
----------
print("")
print("----------")
print("Algorithm ="..algorithm)
print("----------")
print("")
end
---
---
if algorithm == 74 then
chance = 74
multiW = 0.35
multiL = 2.875
streak = 10
base = (balance*((chance/100)*.95))/multiL^streak
MinBase = 0.0001
MaxBase = 0.01
if base <= MinBase then base = MinBase end
if base >= MaxBase then base = MaxBase end
----------
AdditionConditionOnWin = 1
AdditionConditionOnLost = 1
---betFunction---
--1=Normal
--2=UpByAmount
--3=UpByProfit
--4=DownByAmount
--5=DownByProfit
--6=MultiFromLost
---reset to base if---
MaxWin = 0 --set 0 if not reset-base
MaxLost = 0 --set 0 if not reset-base
----------
print("")
print("----------")
print("Algorithm ="..algorithm)
print("----------")
print("")
end
---
---
if algorithm == 80 then
chance = 80
multiW = 1.275
multiL = 2.375
streak = 12
base = (balance*((chance/100)*.95))/multiL^streak
MinBase = 0.0001
MaxBase = 0.01
if base <= MinBase then base = MinBase end
if base >= MaxBase then base = MaxBase end
----------
AdditionConditionOnWin = 1
AdditionConditionOnLost = 1
---betFunction---
--1=Normal
--2=UpByAmount
--3=UpByProfit
--4=DownByAmount
--5=DownByProfit
--6=MultiFromLost
---reset to base if---
MaxWin = 0 --set 0 if not reset-base
MaxLost = 0 --set 0 if not reset-base
----------
print("")
print("----------")
print("Algorithm ="..algorithm)
print("----------")
print("")
end
---
----------
if chance <= 25 then
bethigh = true
if HighLow <= 2 then bethigh = false end
end
----------
nextbet = base
else
----------
if random_chance == true then
chance = math.random(MinChance*100,MaxChance*100)/100
end
----------
---Addition Condition On Win---
if AdditionConditionOnWin == 1 then
nextbet = previousbet * multiW end
if AdditionConditionOnWin == 3 then
nextbet = previousbet + currentprofit end
if AdditionConditionOnWin == 5 then
nextbet = previousbet - currentprofit end
if AdditionConditionOnWin == 6 then
nextbet = la * multiW end
----------
if nextbet <= base then nextbet = previousbet end
if MaxWin >= 1 and wc >= MaxWin then wc = 0 nextbet = base end
end
else
la += previousbet
wc = 0
lc += 1
tg -= previousbet
----------
---Addition Condition On Lost---
if AdditionConditionOnLost == 1 then
nextbet = previousbet * multiL end
if AdditionConditionOnLost == 2 then
nextbet = previousbet + previousbet end
if AdditionConditionOnLost == 4 then
nextbet = previousbet - previousbet end
if AdditionConditionOnLost == 6 then
nextbet = la * multiL end
----------
if nextbet <= base then nextbet = base end
if MaxLost >= 1 and lc >= MaxLost then lc = 0 nextbet = base end
end
bt += 1
----------------
if random_chance == true then
chance = math.random(MinChance*100,MaxChance*100)/100
end
----------------
end