You are on page 1of 4

-- DeepSum By Idea Nakamoto (DeepOnion team), Modified by Zelvin Wilson email:

zwtrades@gmail.com
-- https://bitcointalk.org/index.php?topic=5285720.0
-- Donation for further development:
--BTC: 1B4KKYkHCrw5n8RZpxJbypDiW2rG8VfpFJ
--Doge: D8vXJjzhxk8nvDsEp4JFxdBz79UTjB14D5
--DGB: D6ugEqxixc98ztz8wuxFeXCAt8QJTuPZX3
--ETH: 0xD09a78A8AC9246D8D98f97658ea6160BE4E1Ca6A
--LTC: LTAyidk4gSo6voAjtMtstTuFBxmawus6rZ
--TRON: TDdyq7Yy2ZCybT38dNisN1Eh4EcTyywxKc

-- deepsum Wilson Vertion

resetstats()
resetseed()
chance = 33 --sets your chance for placing a bet
g = 60 ;
target = balance*2
ratio = balance/100000;
nextbet = ratio;
timecount = 0;
inibal = balance;
maxbal = balance;
houseedge = 2 --(%)
level = 0;
levelmax = level;
betva = ratio;
bets = 0;

lastWinRollCount = 0
currentRollCount = 0
oppositeRolls = 0
oppositeArray = {}
oppositeArrayCount = {}
winCount = 0
rollHighHigh = 0
rollHighLow = 0
rollLowHigh = 0
rollLowLow = 0
roundSpent = 0

rollCountAverage = {}
rollAverageCount = 0
rollAverageIndex = 0
rollAverageMax = 3 -- Average roll count before a win. How many wins do you want
to average?

for i=0, rollAverageMax do


rollCountAverage[i] = 0
end

highLowAverage = {}
averageCount = 0
averageIndex = 0
averageMax = 3 -- High / Low average switching. How many rolls do you want to
average?

rollCount = 0
for i=0, averageMax do
highLowAverage[i] = 0
end

function dobet()

bets+=1;

local p1 = "COUNT=";
local p2 = timecount;
local p3 = "LEVEL=";
local p4 = level;
local p5 = " | ";
local p6 = "LEVELMAX=";
local p7 = levelmax;
local p8 = "BET=";
local p9 = previousbet;
local p10 = "BALANCE=";
local p11 = balance;
local p12 = "BETMAX=";
local p13 = betva;
local p14 = "BALANCEMAX=";
local p15 = maxbal;
local p16 = "BETS=";
local p17 = bets;
print(p1..p2..p5..p3..p4..p5..p8..p9..p5..p10..p11..p5..p6..p7..p5..p12..p13..p5..p
14..p15..p5..p16..p17);
print("Current Balance : "..string.format("%.8f",balance))
print("Current Profit : "..string.format("%.8f",profit))

if levelmax<level then levelmax = level; end;


if betva<previousbet then betva=previousbet end;
if maxbal<balance then maxbal=balance end;

timecount+=1;

if (inibal>balance) then
if timecount<g+1 then nextbet = previousbet; end;
if timecount==g+1 then
level+=1;
timecount = 0;
nextbet = inibal-balance; end;
end;

if balance>=inibal or previousbet==0 then


ratio = balance/100000;
nextbet = ratio;
timecount = 0;
inibal = balance;
level = 0;
end;

if balance >= target then


ching()
stop()
print("We wun!")
end;
--role perdiction

currentRollCount = currentRollCount + 1
rollCount = rollCount + 1
roundSpent = roundSpent + lastBet.amount

if(lastBet.roll > 50 and bethigh == true) then


rollHighHigh = rollHighHigh + 1
end
if(lastBet.roll <= 50 and bethigh == true) then
rollHighLow = rollHighLow + 1
end
if(lastBet.roll > 50 and bethigh == false) then
rollLowHigh = rollLowHigh + 1
end
if(lastBet.roll <= 50 and bethigh == false) then
rollLowLow = rollLowLow + 1
end

if(win) then
winCount = winCount + 1
if(rollAverageCount == 0) then
for i=0, rollAverageMax do
rollCountAverage[i] = rollCount
end
rollAverageIndex = rollAverageIndex + 1
else
rollCountAverage[rollAverageIndex] = rollCount
rollAverageIndex = rollAverageIndex + 1
end

rollAverageCount = rollAverageCount + 1

if(rollAverageCount >= rollAverageMax) then


rollAverageCount = rollAverageMax
end

if(rollAverageIndex >= rollAverageMax) then


rollAverageIndex = 0
end

rollCount = 0
oppositeRolls = 0
rollHighHigh = 0
rollHighLow = 0
rollLowHigh = 0
rollLowLow = 0
roundSpent = 0
end

if(not win) then


oppositeTest = lastBet.roll
if(oppositeTest > (100-chance) and bethigh == false) then
oppositeArray[oppositeRolls] = oppositeTest
oppositeArrayCount[oppositeRolls] = rollCount
oppositeRolls = oppositeRolls + 1
end
end
if(oppositeTest < chance and bethigh == true) then
oppositeArray[oppositeRolls] = oppositeTest
oppositeArrayCount[oppositeRolls] = rollCount
oppositeRolls = oppositeRolls + 1
end

if(lastBet.roll >= 50) then


highLowAverage[averageIndex] = 1
else
highLowAverage[averageIndex] = 0
end

averageIndex = averageIndex + 1
averageCount = averageCount + 1

if(averageIndex >= averageMax) then


averageIndex = 0
end

if(averageCount > averageMax) then


averageCount = averageMax
end

average = 0.00

for i=0, averageCount do


average += highLowAverage[i]
end

average = average / averageCount

if average >= 0.5 then


bethigh = true
else
bethigh = false
end
end

You might also like