Double Martingale


SUBMITTED BY: bubby131

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

FORMAT: Text only

SIZE: 1.2 kB

HITS: 433

  1. -- Elmo's Double Martingale
  2. -- If you like the scrypt, please donate at my Bitcoin Address : 33kx7iqfjSLuEAoW7EasLs83vontLmCvAE
  3. --Set Profit Target BTC (Current Balance + Profit)
  4. target=999.0000000 --BTC
  5. --Basebet
  6. base=0.00000001
  7. --Seed Reset
  8. resetvalue=100
  9. winchance= 33.0
  10. multiplier=1.6
  11. losscount=0
  12. nextbet=base
  13. wintotal=0
  14. function dobet()
  15. if resetvalue == 100 then
  16. resetvalue=0
  17. resetseed();
  18. print("Current Profit at Seed Reset")
  19. print(string.format("%.8f", wintotal))
  20. else
  21. resetvalue=resetvalue+1
  22. wintotal=wintotal+currentprofit
  23. end
  24. if (balance) >= target then
  25. print("Current Profit")
  26. print(string.format("%.8f", wintotal))
  27. print(balance)
  28. print("TARGET ACHIEVED!!!")
  29. stop();
  30. end
  31. if (balance) < (nextbet) then
  32. stop();
  33. print("Insufficient Balance")
  34. end
  35. if losscount==14 then
  36. chance=49.5
  37. nextbet= previousbet*2.1
  38. end
  39. --Randomizer
  40. r=math.random(10)
  41. if r >= 5 then
  42. bethigh=true
  43. else
  44. bethigh=false
  45. end
  46. if win then
  47. nextbet=base
  48. losscount=0
  49. chance=winchance
  50. else
  51. if losscount < 2 then
  52. nextbet = base
  53. else
  54. nextbet = previousbet * multiplier
  55. end
  56. losscount+=1
  57. end
  58. end

comments powered by Disqus