coinwalk

snowybot2

Jul 10th, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. more = balance
  2. fraction = 160000
  3. basebet = balance/fraction
  4. nextbet = basebet
  5. bethigh = false
  6. loss = 0
  7. winn = 0
  8. xix = 0
  9. target = balance*1000
  10. chance = 79.9
  11. function dobet()
  12. if win then
  13. winn+=1
  14. xix+=1
  15. else
  16. loss+=1
  17. end
  18. if (winn==3) then
  19. nextbet = previousbet*4
  20. winn = 0
  21. end
  22. if (xix==5) then
  23. nextbet = previousbet*4
  24. xix = 0
  25. winn = 0
  26. end
  27. if (loss>3) then
  28. nextbet = previousbet*6
  29. end
  30. if (nextbet == nil) then
  31. nextbet = previousbet
  32. end
  33. if (balance > more) and win then
  34. loss = 0
  35. nextbet = balance/fraction
  36. more = balance
  37. end
  38. if (balance > target) then
  39. stop()
  40. end
  41. end
Add Comment
Please, Sign In to add comment