Advertisement
coinwalk

snowy perfected by jack

Dec 31st, 2019
274
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 1 0
  1.  
  2.  
  3. -- SNOWY [improved by Jack]
  4. -- added stoploss from rolling balance as 1%;
  5. -- added stop-on-win [now set at 10% profit of balance]
  6.  
  7. chance = 49.95
  8. nextbet = balance/600000
  9.  
  10. losecount = 0
  11. betcount = 0
  12. bethigh = true
  13.  
  14. peak = balance
  15. stoploss = peak * 0.99
  16.  
  17. function dobet()
  18.  
  19. if balance-nextbet >= balance*1.10 then
  20. print("winner, chicken dinner!")
  21. ching()
  22. stop()
  23. end
  24.  
  25. if balance-nextbet <= stoploss then
  26. print("woopsie!")
  27. stop()
  28. end
  29.  
  30. if win then
  31. peak = balance
  32. nextbet = balance/600000
  33. chance = 49.95
  34. losecount = 0
  35. betcount += 1
  36. resetstats();
  37. bethigh=true
  38. else
  39. losecount += 1
  40. betcount = 0
  41. end
  42.  
  43. if (losecount > 0) then
  44. chance = 79.92
  45. nextbet = previousbet*16
  46. bethigh = false
  47. bethigh = false
  48. end
  49.  
  50. if (losecount > 1) then
  51. chance = 62.43
  52. nextbet = previousbet*2
  53. bethigh = false
  54. end
  55.  
  56. if (losecount > 2) then
  57. chance = 95
  58. nextbet = previousbet*35
  59. bethigh = false
  60. resetseed();
  61. end
  62.  
  63. if (losecount > 3) then
  64. chance = 95
  65. nextbet = previousbet*22.5
  66. bethigh = !bethigh
  67. resetseed();
  68. end
  69.  
  70. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement