Advertisement
Guest User

Untitled

a guest
Jan 18th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.47 KB | None | 0 0
  1. ---                        99999        99999            ---
  2. ----                     9         9     9         9          ----
  3. -----      x      x      9999 9       9999 9          -----
  4. ----           x                  9                9            ----
  5. ---        x      x              9      o        9             ---  
  6.  
  7. -------------- By GDoctor / DigitalDash ----------------
  8. -- Win some shit with this? Contribute:
  9. -- BTC:
  10. -- ETH:
  11. -- LTC:
  12. ------------------------------------------------------------------------
  13. -------------- BEGIN Editable Settings ------------------
  14. -- You may edit the following settings to your
  15. -- desired risk and goals. Set them wrong and
  16. -- you could be fucked. So read the comments.
  17. -------------------------------------------------------------------------
  18.  
  19. -- 1. TARGET BALANCE GOAL
  20.  
  21. targetB = 5
  22.        
  23. -- Set this numeric value to have the bot stop when reached (ie. 1000 for 1000 doge or 0.5 for 0.5BTC)
  24.  
  25. -- 2. Loss Multiplier
  26.  
  27. lossMulti = 1.2
  28.        
  29. -- Set this numeric value to increase base bet on loss (ie. 1.25 for 25% increase on loss). Base bet will continue to multiply each previous bet by this setting. Bet will automatically return to base on a win. Recommended setting  between 1.11 - 1.25.
  30.  
  31. -- 3. Max Number of Losses
  32.  
  33. Losses = 85
  34.        
  35. -- Set to the max number of losses in a row you want to sustain. Depending on this settting, your base bet will be automatically adjusted. Recommended setting is between 70-90 for shorter sessions and 90 - 110 for longer term.
  36.  
  37. bethigh=true
  38.  
  39. ----------------------------------------------------------
  40. ----------------------------------------------------------
  41. ------------------------------------      
  42. ------------------------------------
  43. ------------------------------------            E    
  44.                                          
  45. -- DO NOT edit below              N
  46. -- this unless you know
  47. -- what you are doing!              D
  48.  
  49. ------------------------------------
  50. ------------------------------------
  51. ----------------------------------------------------------
  52. ----------------------------------------------------------             
  53.  
  54. ----------- VARIABLES -----------
  55.  
  56. base = balance/lossMulti^Losses
  57. nextbet=base
  58. chance=9.9
  59. resetstats()
  60.  
  61. ----------- COUNTERS -----------
  62.  
  63. totalC=0
  64. winC=0
  65. LossC=0
  66. LossStreakC=0
  67. WorstStreakC=0
  68. BetsLeftC=0
  69.  
  70. ----------- BET FUNCTION -----------
  71.  
  72. function dobet()
  73. base = balance/lossMulti^Losses
  74. totalC+=1
  75.  
  76. if win then
  77.     nextbet=base
  78.     winC+=1
  79.     LossStreakC=0
  80.     BetsLeftC=Losses
  81.     if(balance > targetB) then
  82.         stop()
  83.             ching()
  84.         print("Gratz to You! You have Successfully Reached Your Target - Your Current Balance is: " .. balance .. " " .. currency)
  85.     end
  86. else
  87.     nextbet=previousbet * lossMulti
  88.     bethigh=!bethigh
  89.     LossC+=1
  90.     LossStreakC+=1
  91.     BetsLeftC=Losses-LossStreakC
  92.     if LossStreakC > WorstStreakC then
  93.         WorstStreakC = LossStreakC
  94.     end
  95. end
  96.  
  97. -------------- OUTPUT SESSION STATS --------------
  98.  
  99. print("")
  100. print("----------------------- SESSION STATS -----------------------")
  101. print("")
  102. print("Total Balance:       " .. balance..  " " .. currency)
  103. print("Session Profit:      " .. profit.. " " ..currency)
  104. print("")
  105. print("Bets Left:           " .. BetsLeftC)
  106. print("")
  107. print("Current Loss Streak: " .. LossStreakC)
  108. print("Highest Loss Streak: " .. WorstStreakC)
  109. print("")
  110. print("Total Wins:      " .. winC)
  111. print("Total Losses:        " .. LossC)
  112. print("")
  113. print("----------------------------------------------------------------------------")
  114. print("")
  115. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement