Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minbet = 0.1
- chance = 19
- edge = 95
- basediv = 1e-5
- baserisk = basediv*balance
- basebet = baserisk/(edge/chance)
- nextbet = basebet
- nextbet = math.max(nextbet,minbet)
- function dobet()
- if partialprofit > 0 then
- resetpartialprofit()
- chance = math.random(5,30)
- baserisk = basediv*balance
- basebet = baserisk/(edge/chance)
- nextbet = basebet
- end
- if win then
- nextbet = basebet
- else
- streak = math.abs(currentstreak)
- betload = math.abs(partialprofit)/((edge/chance)-1)
- betrisk = 2.5-(streak/100)
- nextbet = betload*betrisk
- info = string.format("[ %.2f ]",betrisk) .. string.format("\t[ %.2f ]",chance)
- end
- nextbet = math.max(nextbet,minbet)
- manageRisk()
- end
- ifpause = 0
- ifdrop = 25
- ifprofit = 525
- info = ""
- sbal,mbal = balance,balance
- cdrop,mdrop = 0,0
- stwin = false
- stbal = balance+(balance*(ifprofit/100))
- function manageRisk()
- if balance > stbal and stbal > 0 then stop() end
- if balance > mbal then
- if stwin then stop() end
- if currentprofit/sbal*100 > ifpause and ifpause > 0 then pause() end
- mbal = balance
- end
- cdrop = mbal - balance
- mdrop = math.max(mdrop,cdrop)
- if cdrop/mbal*100 > ifdrop and ifdrop > 0 then stwin = true end
- incdrop = string.format("[ %.8f ]", cdrop)
- inmdrop = string.format("[ %.8f ]", mdrop) .. string.format(" [ %.2f ]", mdrop/mbal*100)
- print("++ drop " .. incdrop .. "\t\t" .. inmdrop .. "\t" .. info)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement