Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Copyright © 2017, BITCOIN_Capital
- -- Email: bitcoin.capital@yandex.ru
- -- Telegram: @BITCOIN_Capital
- --
- base = 0.0001
- lossStartMult = 1
- bethigh = false
- randomHighLow = true
- useDebugInfo = true
- stopnow = false
- lossCount = 0
- maxLosses = lossStartMult + 10
- chance = 90.00
- curbet = base
- nextbet = base
- biggestLossStreak = 0
- biggestBet = 0
- roundprofit = 0
- function sleep(n)
- t0 = os.clock()
- while os.clock() - t0 <= n do end
- end
- function dobet()
- sleep(1)
- roundprofit += currentprofit
- resetseed()
- if (randomHighLow) then
- if (math.random() < .1) then bethigh = !bethigh end
- end
- if (stopnow and win) then
- debugInfo()
- stop()
- end
- if roundprofit > 0 then roundprofit = 0
- chance = 90.00
- end
- end
- if (!win) then
- lossCount += 1
- else
- lossCount = 0
- end
- if (lossCount < lossStartMult) then
- chance = 24.00
- curbet = base
- nextbet = curbet
- end
- if (lossCount == lossStartMult) then
- curbet = base * 1
- nextbet = curbet
- end
- if (lossCount > lossStartMult and lossCount < maxLosses) then
- curbet = curbet * 1.33
- nextbet = curbet
- end
- if (lossCount == maxLosses) then
- chance = 79.75
- curbet = (roundprofit* -1) * 5
- nextbet = curbet
- sleep(5)
- end
- if (lossCount > maxLosses) then
- curbet = curbet * 5
- nextbet = curbet
- end
- if (lossCount > biggestLossStreak) then
- biggestLossStreak = lossCount
- end
- if (nextbet > biggestBet) then
- biggestBet = nextbet
- end
- if (useDebugInfo) then debugInfo() end
- end
- function debugInfo()
- print("\nBetHigh = " .. tostring(bethigh))
- print("Шанс = " .. chance)
- print("Ставка = " .. string.format("%9.8f", curbet))
- print("Серия потерь = " .. lossCount)
- print("Максимальная серия потерь = " .. biggestLossStreak)
- print("Максимальная ставка = " .. string.format("%9.8f", biggestBet))
- print("Профит = " .. string.format("%9.8f", profit))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement