Advertisement
coinwalk

try this

Feb 7th, 2022
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.94 KB | None | 0 0
  1. --Warming up
  2. math.random(); math.random(); math.random()
  3. price = 0.741811
  4. stopLossUSD = 0.00732134075505
  5. stopLoss = stopLossUSD/price
  6. oldbalance = balance
  7. takeProfitPercent = 0.1
  8. takeProfit = oldBalance*takeProfitPercent
  9. maxProfit = oldBalance*3
  10. listChance = {24.75, 19.8, 16.5, 13.75, 12.37, 11, 9.9}
  11. listPayout = {4, 5, 6, 7, 8, 9, 10}
  12. listMultiply = {1.35, 1.26, 1.21, 1.17, 1.15, 1.13, 1.12}
  13. listMultiplyLost = {10.67, 9.75, 9.6, 9, 9, 8.625, 9}
  14. listDivideBalance = {3700, 3800, 4430, 4390, 5170, 5290, 6660}
  15. divebalace = 1000
  16. mainbasebet = stopLoss/divebalace
  17. basebet = mainbasebet
  18. nextbet = basebet
  19. multiply = 1.12
  20. multiplyLoss = 8
  21. payout = 10
  22. chance = 9.90
  23. winStreak = 0
  24. maxWinStreak = 0
  25. lossStreak = 0
  26. maxStreakRS = 0
  27. seedRandomizerX = 0
  28. hiloRandomizerX = 0
  29. highProfit = 0
  30. highBalance = oldBalance
  31. lowProfit = 0
  32. timeStart = os.clock()
  33. timeRun = 0
  34. wager = 0
  35. CHANCE_RANDOMIZER = 0
  36. sleepNext = false
  37. lastTime = 0
  38. time = 1800
  39. timeMin = 600
  40. timeMax = 1800
  41. joker = 0
  42. countJoke = 0
  43. won = false
  44. function gendMaxStreakRS()
  45. maxStreakRS = math.random(1,3)
  46. if(maxStreakRS <= 1)then
  47. maxStreakRS = 0
  48. elseif(maxStreakRS <= 2)then
  49. maxStreakRS = payout
  50. elseif(maxStreakRS <= 3)then
  51. maxStreakRS = payout * 2
  52. end
  53. end
  54.  
  55. function seedRandomizer()
  56. seedRandomizerX = math.random(1, 3)
  57. if(seedRandomizerX == 2)then
  58. resetseed()
  59. end
  60. end
  61.  
  62. function hiloRandomizer()
  63. hiloRandomizerX = math.random(1, 3)
  64. if(hiloRandomizerX == 2)then
  65. hiloRandomizerX = math.random(0, 1)
  66. if (hiloRandomizerX == 1) then
  67. bethigh = true
  68. else
  69. bethigh = false
  70. end
  71. end
  72. end
  73.  
  74. function randomChane()
  75. CHANCE_RANDOMIZER = math.random(1, 4)
  76. if(CHANCE_RANDOMIZER == 1)then
  77. CHANCE_RANDOMIZER = math.random(1, #listChance)
  78. chance = listChance[CHANCE_RANDOMIZER]
  79. chanceBack = chance
  80. payout = listPayout[CHANCE_RANDOMIZER]
  81. multiply = listMultiply[CHANCE_RANDOMIZER]
  82. divebalace = listDivideBalance[CHANCE_RANDOMIZER]
  83. multiply = listMultiply[CHANCE_RANDOMIZER]
  84. multiplyLoss = listMultiplyLost[CHANCE_RANDOMIZER]
  85. end
  86. end
  87.  
  88. function jokeDealer()
  89. joker = math.random(1, 50)
  90. if(joker == 25)then
  91. nextbet = 0.00014/price
  92. countJoke = countJoke + 1
  93. print("SEND JOKES...")
  94. end
  95. end
  96.  
  97. function randomSleepTime()
  98. time = math.random(1, 6)
  99. if(time <= 1)then
  100. time = math.random(300, 600)
  101. elseif(time <= 3)then
  102. time = math.random(600, 1200)
  103. elseif(time <= 6)then
  104. time = math.random(1200, 1800)
  105. end
  106. end
  107.  
  108. function sleepToNextBet()
  109. if(os.clock() - lastTime <= time)then
  110. typeBet = math.random(1, 2)
  111. newtime = time - (os.clock() - lastTime)
  112. print("[Wait]\t\t[" ..string.format("%.2d:%.2d", math.floor(newtime/60), math.floor(newtime%60)).. "] for next session...")
  113. nextbet = 0
  114. jokeDealer()
  115. else
  116. print("Back to bet...")
  117. hiloRandomizer()
  118. seedRandomizer()
  119. randomChane()
  120. gendMaxStreakRS()
  121. highBalance = oldBalance + profit
  122. mainbasebet = highBalance/divebalace
  123. basebet = mainbasebet
  124. nextbet = mainbasebet
  125. lossStreak = 0
  126. winStreak = 0
  127. sleepNext = false
  128. if(maxStreakRS == 0)then
  129. nextbet = basebet
  130. else
  131. nextbet = 0
  132. end
  133. end
  134. end
  135.  
  136. hiloRandomizer()
  137. seedRandomizer()
  138.  
  139. function dobet()
  140. if balance>oldbalance then
  141. won=true
  142. oldbalance=balance
  143. end
  144. if balance<oldbalance then
  145. won=false
  146. oldbalance=balance
  147. end
  148. wager = wager + nextbet
  149. if won==true then
  150. winStreak = winStreak + 1
  151. if(lossStreak >= maxStreakRS and lossStreak < maxStreakRS + payout * 2)then
  152. maxWinStreak = maxWinStreak + 1
  153. hiloRandomizer()
  154. seedRandomizer()
  155. randomChane()
  156. gendMaxStreakRS()
  157. mainbasebet = highBalance/divebalace
  158. basebet = mainbasebet
  159. nextbet = mainbasebet
  160. else
  161. winStreak = 0
  162. if(lossStreak >= maxStreakRS + payout * 2)then
  163. gendMaxStreakRS()
  164. basebet = basebet * multiplyLoss
  165. end
  166. maxWinStreak = 0
  167. end
  168. if(maxStreakRS == 0)then
  169. nextbet = basebet
  170. else
  171. nextbet = 0
  172. end
  173. lossStreak = 0
  174. else
  175. winStreak = 0
  176. lossStreak = lossStreak + 1
  177. if(lossStreak >= maxStreakRS and lossStreak < maxStreakRS + payout* 2)then
  178. if(nextbet == 0) then
  179. nextbet = basebet
  180. end
  181. nextbet = nextbet*multiply
  182. else
  183. nextbet = 0
  184. end
  185. end
  186. if(profit >= highProfit)then
  187. highProfit = profit
  188. highBalance = oldBalance + highProfit
  189. elseif(profit < lowProfit)then
  190. lowProfit = profit
  191. end
  192. timeRun = math.floor(os.clock() - timeStart)
  193. print("\n\n\n\n\n")
  194. print("<==========================================>")
  195.  
  196. if(sleepNext)then
  197. sleepToNextBet()
  198. print("[Next Bet]:\t["..string.format("%.8f",nextbet*price).."]")
  199. print("[Chance]:\t\t["..string.format("%.2f",chance).."]")
  200. print("[Payout]:\t\t["..tostring(payout).."]")
  201. print("[Streak]:\t\t["..tostring(maxStreakRS).."]")
  202. else
  203. print("[Next Bet]:\t["..string.format("%.8f",nextbet*price).."]")
  204. print("[Chance]:\t\t["..string.format("%.2f",chance).."]")
  205. print("[Payout]:\t\t["..tostring(payout).."]")
  206. print("[Streak]:\t\t["..tostring(maxStreakRS).."]")
  207. print("[Next Bet]:\t["..string.format("%.8f",nextbet*price).."]")
  208. print("[Chance]:\t\t["..string.format("%.2f",chance).."]")
  209. print("[Payout]:\t\t["..tostring(payout).."]")
  210. print("[Streak]:\t\t["..tostring(maxStreakRS).."]")
  211. print("[Profit]:\t\t["..string.format("%.8f",profit*price).."] ["..string.format("%.4f",profit/(oldBalance)*100).."]%")
  212. print("[Base Bet]:\t["..string.format("%.8f",basebet*price).."] ["..string.format("%.4f",basebet/(oldBalance)*100).."]%")
  213. print("[High PF]:\t\t["..string.format("%.8f",highProfit*price).."] ["..string.format("%.4f",highProfit/(oldBalance)*100).."]%")
  214. print("[Low PF]:\t\t["..string.format("%.8f",lowProfit*price).."] ["..string.format("%.4f",lowProfit/(oldBalance)*100).."]%")
  215. print("[Sleep PF]:\t["..string.format("%.8f",takeProfit*price).."] ["..string.format("%.4f",takeProfit/(oldBalance)*100).."]%")
  216. if(timeRun > 0)then
  217. print("<==========================================>")
  218. print("[Wager]:\t\t["..string.format("%.8f",wager*price).."] ["..string.format("%.4f",wager/(oldBalance)*100).."]%")
  219. print("[Per hour]:\t["..string.format("%.8f",wager*price/timeRun*3600).."] ["..string.format("%.4f",wager/timeRun*3600/oldBalance*100).."]%")
  220. print("[Per day]:\t\t["..string.format("%.8f",wager*price/timeRun*86400).."] ["..string.format("%.4f",wager/timeRun*86400/oldBalance*100).."]%")
  221. end
  222. end
  223. print("<==========================================>")
  224. print("[Jokes ]:\t\t["..string.format("%d",countJoke).."]")
  225. print("<==========================================>")
  226. if(profit >= takeProfit) then
  227. takeProfit = profit + (oldBalance + profit)*takeProfitPercent
  228. sleepNext = true
  229. lastTime = os.clock()
  230. randomSleepTime()
  231. nextbet = 0
  232. highBalance = 0
  233. elseif(profit-nextbet <= stopLoss*(-1) or profit >= maxProfit)then
  234. stop()
  235. end
  236. end
  237.  
  238.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement