Progressive Bet


SUBMITTED BY: bubby131

DATE: Oct. 24, 2017, 11:19 p.m.

FORMAT: Text only

SIZE: 3.1 kB

HITS: 608

  1. -- Elmo's Betting Progression Strategy
  2. -- If you like the scrypt, please donate at my Bitcoin Address : 33kx7iqfjSLuEAoW7EasLs83vontLmCvAE
  3. chance= 47.13
  4. base=0.00000001
  5. bethigh = true
  6. nextbet = base
  7. investprofit = 0
  8. wincount = 0
  9. losecount=0
  10. stopnow = false
  11. first = true
  12. second = false
  13. secondwin = false
  14. third = false
  15. betcount=100
  16. -- set profit target here (Final Balance after Winning)
  17. profittarget= 999.00000000
  18. function dobet()
  19. --Randomizer
  20. r=math.random(2)
  21. if r == 1 then
  22. bethigh=true
  23. else
  24. bethigh=false
  25. end
  26. if betcount == 500 then
  27. betcount=0
  28. resetseed();
  29. else
  30. betcount=betcount+1
  31. end
  32. if (balance) >= profittarget then
  33. stop();
  34. print(balance)
  35. print("TARGET ACHIEVED!!!")
  36. end
  37. if (balance) < (nextbet) then
  38. stop();
  39. print(balance)
  40. print("INSUFFICIENT FUNDS")
  41. end
  42. done = false
  43. if win then
  44. -- switch high/low every win
  45. -- bethigh = false
  46. if(first) then
  47. -- switch high/low on the first win
  48. -- bethigh = !bethigh
  49. nextbet = base
  50. if(stopnow) then
  51. stop()
  52. end
  53. end
  54. if(second) then
  55. -- switch high/low on the second win
  56. -- bethigh = !bethigh
  57. secondwin = true
  58. second = false
  59. third = true
  60. done = true
  61. end
  62. if(third and !done) then
  63. -- switch high/low on the third win
  64. -- bethigh = !bethigh
  65. if(secondwin) then
  66. -- switch high/low on the second and third win
  67. -- bethigh = !bethigh
  68. nextbet = base
  69. if(stopnow) then stop() end
  70. else
  71. -- switch high/low on one and two lose third win
  72. -- bethigh = !bethigh
  73. nextbet = previousbet * 3
  74. end
  75. third = false
  76. first = true
  77. end
  78. else
  79. -- switch high/low on the every lose
  80. -- bethigh = true
  81. if(first and !done) then
  82. -- switch high/low on the first lose
  83. -- bethigh = !bethigh
  84. first = false
  85. second = true
  86. done = true
  87. end
  88. if(second and !done) then
  89. -- switch high/low on the second lose
  90. -- bethigh = !bethigh
  91. secondwin = false
  92. second = false
  93. third = true
  94. done = true
  95. end
  96. if(third and !done) then
  97. -- switch high/low on the third lose
  98. -- bethigh = !bethigh
  99. third = false
  100. first = true
  101. print("GO 4 THE WIN!!!")
  102. if (secondwin) then
  103. -- switch high/low on the one lose two in thrird lose
  104. -- bethigh = !bethigh
  105. nextbet = previousbet * 3
  106. else
  107. -- switch high/low only if all three lose
  108. -- bethigh = !bethigh
  109. nextbet = previousbet * 4
  110. end
  111. done = true
  112. end
  113. end
  114. end

comments powered by Disqus