Advertisement
Baliarta

Racing wager opit

Dec 12th, 2024
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. chance = 55
  2. iflose = 1.05+(1/((95/chance)-1))
  3. ifwin = 0.82
  4. basebet = 0.1
  5. nextbet = basebet
  6.  
  7.  
  8. lv = 0
  9. lx = 0
  10.  
  11. resetseed()
  12. function dobet()
  13. if partialprofit > 0 then
  14. resetpartialprofit()
  15. nextbet = basebet
  16. if sw then
  17. sw = false
  18. basebet *= 0.8
  19. if basebet < 0.1 then
  20. stop()
  21. start()
  22. else
  23. resetseed()
  24. end
  25. end
  26. lv = 0
  27. else
  28. if win then
  29. nextbet = previousbet * ifwin
  30.  
  31. lv += 1
  32. else
  33. nextbet = previousbet * iflose
  34. if currentstreak%10 == 0 then
  35. bethigh = not bethigh
  36. chance = math.random(500,2000)/100
  37. else
  38. chance = 55
  39. end
  40.  
  41. ls = math.min(ls,currentstreak)
  42. end
  43. end
  44. nextbet = math.max(nextbet,basebet)
  45.  
  46. bd = math.min(bd,partialprofit)
  47. bh = math.max(bh,balance)
  48. lx = math.max(lx,lv)
  49.  
  50. print(string.format("++ %d / %d %d %.8f %.2f %.2f [ %.2f ]",lx,lv,ls*-1,bd*-1,bd/bh*-100,(balance-bi)/bi*100,profit/bh*100))
  51.  
  52. if lv > 3 then
  53. nextbet = partialprofit/((95/chance)-1)*-1.01
  54.  
  55. sw = true
  56. end
  57. if bd/bh*-100 > 10 then
  58. sw = true
  59. end
  60. end
  61. bd = 0
  62. bh = balance
  63. sw = false
  64. bi = balance
  65. ls = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement