Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- qW = 1.5, change = 19.5
- -- maxbalance = balance + 5xbb
- minbalance = 0
- topbalance = 500
- topbets = 0
- -----------------
- trailing = false
- tr_gap = 5
- tr_limit = -100
- tr_gapDB = tr_gap
- tr_limitDB = tr_limit
- -----------------
- randomch = true
- minch = 20
- maxch = 24
- chance = math.random(minch,maxch)+math.random(0.1,0.9)
- -----------------
- bbfixed = true
- bbfactor = 5000
- bb = balance / bbfactor
- -----------------
- numset = math.ceil(math.random(1,5))
- bb = numset / 20
- target = bb * 20
- chance = 19.5
- qW = 1.5
- resetstats()
- resetseed()
- function dobet()
- print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n")
- print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n")
- if trailing then
- if profit > tr_gap then
- tr_gap = tr_gapDB + profit
- tr_limit = tr_limitDB + profit
- end
- if profit - nextbet < tr_limit then stop() end
- print ("TRAILING")
- print ("gap: "..fixed4(tr_gap))
- print ("limit: "..fixed4(tr_limit))
- print ("-")
- else
- print ("TRAILING OFF")
- end
- perte += currentprofit
- if perte >= 0 then
- if randomch then
- chanceDB = tonumber(math.random(minch,maxch))+(tonumber(math.random(1,9))/10)
- end
- if !bbfixed then
- bb = balance / bbfactor
- end
- nextbet = bb
- perte = 0
- if stopwin then stop() end
- else
- if win then
- bethigh = !bethigh
- payoutB = payout
- chance = chanceDB
- nextbet = previousbet * qW
- elseif currentstreak%math.floor(payout)==0 then
- payoutB -= 0.5
- chance = (100-casino)/payoutB
- nextbet = -perte/payout
- end
- if (risk == 2) then
- if win then
- risk = 0
- else
- print ("risk")
- stop()
- end
- end
- if nextbet < bb then nextbet = bb end
- end
- profitnow = fixed2(profit / (balance - profit) * 100)
- print("bb: "..fixed4(bb))
- print("target: "..fixed4(balance-maxbalance))
- print("perte: "..fixed4(perte))
- print("risk "..risk)
- print("chance "..chanceDB)
- print("profit: "..profitnow.."%")
- if nextbet > maxstake and maxstake != 0 then risk += 1 end
- if balance > topbalance then stop() end
- if bets > topbets and perte == 0 and topbets != 0 then stop() end
- if balance - nextbet < minbalance then stop() end
- if balance > maxbalance then stop() end
- print("\n")
- end
- function fixed2(x)
- return string.format("%.2f",x)
- end
- function fixed4(x)
- return string.format("%.4f",x)
- end
- maxbalance = balance + target
- maxstake = 0
- stopwin = false
- risk = 0
- enablesrc = false
- enablezz = false
- nextbet = bb
- casino = 1
- perte = 0
- chanceDB = chance
- payout = (100-casino)/chance
- payoutB = payout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement