0% found this document useful (0 votes)
140 views4 pages

Wager Lua

The document describes the logic and parameters of a betting algorithm. It contains variables that track the balance, bets, wins/losses and adjust the betting strategy based on streaks. The algorithm increases or decreases the next bet based on the betting streak and includes logic for handling losses and winning streaks.

Uploaded by

tsoenami147
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
140 views4 pages

Wager Lua

The document describes the logic and parameters of a betting algorithm. It contains variables that track the balance, bets, wins/losses and adjust the betting strategy based on streaks. The algorithm increases or decreases the next bet based on the betting streak and includes logic for handling losses and winning streaks.

Uploaded by

tsoenami147
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

target = 0--%

div = 1e3--basebet
burn = false--burnprofit

--HIGH RISK
--LOSE STREAK >= 3 NEXTBET ALL IN YOUR BALANCE
--NEXTBET > BALANCE INJECT IF YOU WANT

---------- readonly ----------


--below this line will not be showing on the bot

he = 1
hedge = 100 - he
dls = div / 1e1
dlss = div / 1e2
basebet = balance / div
nextbet = basebet
minbet = 1e-8
cooler = nextbet
pvvb = 0
div_win = 4
maxprofit = 0
startbal = balance
maxbal = balance
angry_bet = balance
wager_ch = hedge - 1
wagerch = hedge - 1
change_ch = wagerch - 10
loses = 0
cwins = 0
ls = 0
ws = 0
rs = 0
stop_profit = target
target_stop_profit = (balance * (stop_profit/100))
bethigh = true
brn = false
lucky = false
inject = false
flucky = 10
chance = wager_ch
chs = chance
resetseed()

function dobet()
checkbalance()
angry_bet = balance
if (win) then
cwins = cwins + 1
ws = ws + 1
ls = 0
pvvb = 0
loses = 0
lucky = false
if (cwins == flucky) then
lucky = true
flucky = flucky + 10
cwins = 0
chance = 50
chs = chance + 10
if (chs > 90) then
chs = 50
end
elseif (cwins == 1) then
chance = wager_ch
nextbet = angry_bet / div
cooler = nextbet
else
if (cwins%10 == 0) then
wager_ch = wager_ch - 1
if (chance == change_ch) then
wager_ch = wagerch
flucky = 10
cwins = 0
end
chance = wager_ch
nextbet = (cooler * (div_win / 4)) + minbet
div_win = div_win - 1
if (div_win == 0) then
div_win = 4
end
end
end
if (profit >= maxprofit) then
maxbal = angry_bet
maxprofit = profit
if (profit >= target_stop_profit and stop_profit > 0) then
stop()
end
end
if (nextbet >= cooler) then
nextbet = cooler
elseif (nextbet <= minbet) then
nextbet = cooler
end
else
loses = loses + 1
ls = ls + 1
ws = 0
if (loses == 1) then
cwins = 0
pvvb = pvvb + previousbet
bethigh = not bethigh
if (lucky == false) then
div_win = 2
chance = chs
chs = chs + 10
if (chs > 90) then
chs = 50
end
nextbet = previousbet * ((1 / ((hedge / chance) - 1)) + 1)
if (nextbet > maxbal / dls) then
nextbet = cooler
end
elseif (lucky == true) then
lucky = false
loses = 0
chance = wager_ch
nextbet = cooler
end
pvvb = pvvb + nextbet
end
if (loses == 2) then
chance = wager_ch
nextbet = pvvb * ((1 / ((hedge / chance) - 1)) / 1)
if (nextbet > maxbal / dlss) then
resetseed()
nextbet = cooler
elseif (nextbet > balance / dlss) then
nextbet = cooler
end
pvvb = pvvb + nextbet
end
end
if (ls == 3) then
chance = chs
chs = chs + 10
if (chs > 90) then
chs = 50
end
nextbet = pvvb * (1 / ((hedge / chance) - 1))
if (nextbet > balance) then
nextbet = angry_bet - minbet
end
pvvb = pvvb + nextbet
elseif (ls == 4) then
chance = wager_ch
nextbet = pvvb * (1 / ((hedge / chance) - 1))
if (nextbet > balance) then
nextbet = angry_bet - minbet
end
pvvb = pvvb + nextbet
elseif (ls == 5) then
chance = chs
chs = chs + 10
if (chs > 90) then
chs = 50
end
nextbet = pvvb * (1 / ((hedge / chance) - 1))
if (nextbet > balance) then
nextbet = angry_bet - minbet
end
pvvb = pvvb + nextbet
elseif (ls == 6) then
chance = wager_ch
nextbet = pvvb * (1 / ((hedge / chance) - 1))
if (nextbet > balance) then
nextbet = angry_bet - minbet
end
pvvb = pvvb + nextbet
elseif (ls == 7) then
chance = chs
chs = chs + 10
if (chs > 90) then
chs = 50
end
nextbet = pvvb * (1 / ((hedge / chance) - 1))
if (nextbet > balance) then
nextbet = angry_bet - minbet
end
pvvb = pvvb + nextbet
elseif (ls == 8) then
chance = wager_ch
nextbet = pvvb * (1 / ((hedge / chance) - 1))
if (nextbet > balance) then
nextbet = angry_bet - minbet
end
pvvb = pvvb + nextbet
elseif (ls == 9) then
chance = chs
nextbet = pvvb * (1 / ((hedge / chance) - 1))
if (nextbet > balance) then
nextbet = angry_bet - minbet
end
pvvb = pvvb + nextbet
elseif (ls == 10) then
chance = wager_ch
nextbet = pvvb * (1 / ((hedge / chance) - 1))
if (nextbet > balance) then
nextbet = angry_bet - minbet
end
end
rs = rs + currentprofit
if (rs >= 0) then
rs = 0
end
if (ws > 0 and profit >= 0 and burn == true) then
brn = true
end
if (ws > 0 and profit < 0 and burn == true) then
brn = false
end
if (ls > 0 and brn == true) then
chance = wager_ch
nextbet = cooler
end
if (ws > 0) and (lastBet.roll > 50) then
bethigh = true
elseif (ws > 0) and (lastBet.roll < 50) then
bethigh = false
end
if (ls > 0) and (nextbet <= minbet) then
inject = true
chance = 50
nextbet = startbal - minbet
end
if (ws > 0) and (inject == true) then
stop()
end
end

You might also like