c90 1by1

 avatar
unknown
lua
3 years ago
1.0 kB
37
Indexable
-- c90 1by1 dec08 0x02
-- 4saken advice to limit 1%
-- pflip advice to checks

resetstats()
resetseed()
nextbet=1e-8

chance=90
bethigh=true
basebet=1e-8
minbase=1e-8
nextbet=basebet
sbal=balance
target=balance*1.01

function resetx()
resetstats()
resetseed()
nextbet=1e-8
chance=90
bethigh=true
basebet=1e-8
nextbet=basebet
target=balance*1.01
end

goal=sbal*1.10

function dobet()
    
    if nextbet<=minbase then nextbet=minbase end

    if (win) then
        if (currentstreak==2) then
            bethigh=not bethigh
        end
        nextbet = previousbet*0.84
		if nextbet<=minbase then nextbet=minbase end
    else
        if (currentstreak==-15) then
            bethigh=not bethigh
        end
        nextbet=previousbet*5
    end

    if balance>=target then resetx() ching() end
    if balance>=goal then
    stop() ching()
    print("\t ▌▌▌ Remove:\t "..string.format("%.8f", (balance-sbal)*.8))
    end

    --chance = math.floor((chance*100)+0.5)/100 --wolf only
end
Editor is loading...