Advertisement
coinwalk

something something idk

Feb 20th, 2020
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.16 KB | None | 0 0
  1. stopsignal = 0
  2. balance1 = balance
  3. startbalance = balance
  4. myprof = balance1-balance
  5. lows = 4330
  6. highs = 5665
  7. minchance = 56.35
  8. maxchance = 56.85
  9. chance = math.random(minchance,maxchance)
  10. basebet = balance/100000 -- Set basebet here
  11. target = balance + balance/10 -- Set target balance here. 10% profit set default
  12. stoploss = 0 -- Set stop loss balance here
  13. nextbet = basebet
  14. previousbet = basebet
  15. mybet = basebet
  16. numberofstakes = 0
  17. mynumber = 128
  18. tactics = math.round(math.random(1,4))
  19. mynumber1 = 1;
  20. mynumber2 = 1;
  21. mynumber3 = 1;
  22. mynumber4 = 1;
  23. mynumber5 = 1;
  24. mynumber6 = 1;
  25. mynumber7 = 1;
  26. mynumber8 = 1;
  27. loststakes = 0;
  28. mynumber11 = 1;
  29. mynumber12 = 0;
  30. mynumber13 = 1;
  31. mynumber14 = 0;
  32. mynumber15 = 1;
  33. mynumber16 = 0;
  34. mynumber17 = 1;
  35. mynumber18 = 0;
  36. mynumber21 = 1;
  37. mynumber22 = 0;
  38. mynumber23 = 1;
  39. mynumber24 = 0;
  40. mynumber25 = 1;
  41. mynumber26 = 0;
  42. mynumber27 = 1;
  43. mynumber28 = 0;
  44. mynumber29 = 0;
  45. mynumber210 = 0;
  46. mynumber211 = 0;
  47. mynumber212 = 0;
  48. mynumber213 = 0;
  49. mynumber214 = 0;
  50. numberofstake = 0;
  51. pw = highs/(highs+lows)
  52. pw1 = 0.4
  53. highs1 = 1
  54. lows1 = 1
  55. numberofstake1 = 0
  56. win = false
  57. bethigh = false
  58. bets = 0
  59. totalprofit = 0
  60. function dobet()
  61. resetseed()
  62. print("")
  63. print(target)
  64. print("")
  65. bets = bets+1
  66. totalprofit = balance - startbalance
  67. if win then
  68. highs = highs + 1
  69. highs1 = highs1 + 1
  70. else
  71. lows = lows + 1
  72. lows1 = lows1 + 1
  73. end
  74. if balance <= stoploss then
  75. stop()
  76. print("")
  77. print("")
  78. print("=====================")
  79. print("STOP LOSS "..string.format("%.8f", balance))
  80. print("Final Balance : "..string.format("%.8f", balance))
  81. print("=====================")
  82. print("")
  83. print(" ")
  84. end
  85. if balance >= target then
  86. stop()
  87. print("")
  88. print("")
  89. print("=====================")
  90. print("TARGET REACHED!!!")
  91. print("Profit : "..string.format("%.8f", profit))
  92. print("Final Balance : "..string.format("%.8f", balance))
  93. print("=====================")
  94. print("")
  95. print(" ")
  96. end
  97. numberofstake1 = numberofstake1 + 1
  98. numberofstake = numberofstake + 1
  99. myprof = balance - balance1
  100. if (numberofstake1 == 9) then
  101. pw1 = highs1 / (highs1 + lows1)
  102. highs1 = 1
  103. lows1 = 1
  104. numberofstake1 = 0
  105. end
  106. if (numberofstake == 50) then
  107. pw = highs / (highs + lows)
  108. highs = 1
  109. lows = 1
  110. numberofstake = 0
  111. end
  112. if (myprof > basebet/2 or stopsignal == 1) then
  113. stopsignal = 0
  114. balance1 = balance
  115. nextbet = basebet
  116. else
  117. previousbet = nextbet
  118. if (previousbet > basebet * 10 and math.abs(myprof) < basebet * 10) then
  119. balance1 = balance
  120. nextbet = basebet
  121. else
  122. if (previousbet < 0) then
  123. nextbet = basebet
  124. else
  125. if ((lows1 >= highs1) and (pw > 0.5665)) then
  126. mybet = previousbet + basebet * (0.5665 - pw) / 10
  127. end
  128. if ((lows1 >= highs1) and (pw < 0.5665)) then
  129. mybet = previousbet + basebet * (pw - 0.5665) / 10
  130. end
  131. if ((highs1 > lows1) and (pw > 0.5665)) then
  132. mybet = previousbet * 1.025 + basebet * (pw - 0.5665) / 10
  133. end
  134. if ((highs1 > lows1) and (pw < 0.5665)) then
  135. mybet = (previousbet * 1.035 + basebet * (0.5665 - pw) / 10) * (1 + 0.5665 - pw)
  136. end
  137. nextbet = mybet
  138. end
  139. end
  140. end
  141. if win then
  142. if (bethigh == true) then
  143. bethigh = !bethigh
  144. mynumber21 = 1
  145. else
  146. mynumber21 = 0
  147. end
  148. else
  149. if (bethigh == true) then
  150. bethigh = !bethigh
  151. mynumber21 = 0
  152. else
  153. mynumber21 = 1
  154. end
  155. end
  156. mynumberd = mynumber
  157. mynumberdiv = mynumberd / 128
  158. if (mynumberdiv < 1) then
  159. mynumber1 = 0
  160. else
  161. mynumber1 = 1
  162. end
  163. mynumberd = mynumberd - mynumber1 * 128
  164. mynumberdiv = mynumberd / 64
  165. if (mynumberdiv < 1) then
  166. mynumber2 = 0
  167. else
  168. mynumber2 = 1
  169. end
  170. mynumberd = mynumberd - mynumber2 * 64
  171. mynumberdiv = mynumberd / 32
  172. if (mynumberdiv < 1) then
  173. mynumber3 = 0
  174. else
  175. mynumber3 = 1
  176. end
  177. mynumberd = mynumberd - mynumber3 * 32
  178. mynumberdiv = mynumberd / 16
  179. if (mynumberdiv < 1) then
  180. mynumber4 = 0
  181. else
  182. mynumber4 = 1
  183. end
  184. mynumberd = mynumberd - mynumber4 * 16
  185. mynumberdiv = mynumberd / 8
  186. if (mynumberdiv < 1) then
  187. mynumber5 = 0
  188. else
  189. mynumber5 = 1
  190. end
  191. mynumberd = mynumberd - mynumber5 * 8
  192. mynumberdiv = mynumberd / 4
  193. if (mynumberdiv < 1) then
  194. mynumber6 = 0
  195. else
  196. mynumber6 = 1
  197. end
  198. mynumberd = mynumberd - mynumber6 * 4
  199. mynumberdiv = mynumberd / 2
  200. if (mynumberdiv < 1) then
  201. mynumber7 = 0
  202. else
  203. mynumber7 = 1
  204. end
  205. mynumberd = mynumberd - mynumber7 * 2
  206. mynumberdiv = mynumberd / 1
  207. if (mynumberdiv < 1) then
  208. mynumber8 = 0
  209. else
  210. mynumber8 = 1
  211. end
  212. if (win) then
  213. tactics = math.round(math.random(1,4));
  214. loststakes = 0
  215. else
  216. loststakes = loststakes + 1
  217. if (loststakes > 3) then
  218. loststakes = 0
  219. end
  220. end
  221. if (tactics == 1) then
  222. if (loststakes == 0 and mynumber22 == 1) then
  223. bethigh = true
  224. end
  225. if (loststakes == 0 and mynumber22 == 0) then
  226. bethigh = false
  227. end
  228. if (loststakes == 1 and mynumber24 == 1) then
  229. bethigh = true
  230. end
  231. if (loststakes == 1 and mynumber24 == 0) then
  232. bethigh = false
  233. end
  234. if (loststakes == 2 and mynumber26 == 1) then
  235. bethigh = true
  236. end
  237. if (loststakes == 2 and mynumber26 == 0) then
  238. bethigh = false
  239. end
  240. if (loststakes == 3 and mynumber28 == 1) then
  241. bethigh = true
  242. end
  243. if (loststakes == 3 and mynumber28 == 0) then
  244. bethigh = false
  245. end
  246. end
  247. if (tactics == 2) then
  248. if (loststakes == 0 and mynumber22 == 1) then
  249. bethigh = true
  250. end
  251. if (loststakes == 0 and mynumber22 == 0) then
  252. bethigh = false
  253. end
  254. if (loststakes == 1 and mynumber24 == 1) then
  255. bethigh = false
  256. end
  257. if (loststakes == 1 and mynumber24 == 0) then
  258. bethigh = true
  259. end
  260. if (loststakes == 2 and mynumber26 == 1) then
  261. bethigh = true
  262. end
  263. if (loststakes == 2 and mynumber26 == 0) then
  264. bethigh = false
  265. end
  266. if (loststakes == 3 and mynumber28 == 1) then
  267. bethigh = false
  268. end
  269. if (loststakes == 3 and mynumber28 == 0) then
  270. bethigh = true
  271. end
  272. end
  273. if (tactics == 3) then
  274. if (loststakes == 0 and mynumber22 == 1) then
  275. bethigh = true
  276. end
  277. if (loststakes == 0 and mynumber22 == 0) then
  278. bethigh = false
  279. end
  280. if (loststakes == 1 and mynumber24 == 1) then
  281. bethigh = true
  282. end
  283. if (loststakes == 1 and mynumber24 == 0) then
  284. bethigh = false
  285. end
  286. if (loststakes == 2 and mynumber26 == 1) then
  287. bethigh = false
  288. end
  289. if (loststakes == 2 and mynumber26 == 0) then
  290. bethigh = true
  291. end
  292. if (loststakes == 3 and mynumber28 == 1) then
  293. bethigh = false
  294. end
  295. if (loststakes == 3 and mynumber28 == 0) then
  296. bethigh = true
  297. end
  298. end
  299. if (tactics == 4) then
  300. if (loststakes == 0 and mynumber22 == 1) then
  301. bethigh = false
  302. end
  303. if (loststakes == 0 and mynumber22 == 0) then
  304. bethigh = true
  305. end
  306. if (loststakes == 1 and mynumber24 == 1) then
  307. bethigh = false
  308. end
  309. if (loststakes == 1 and mynumber24 == 0) then
  310. bethigh = true
  311. end
  312. if (loststakes == 2 and mynumber26 == 1) then
  313. bethigh = true
  314. end
  315. if (loststakes == 2 and mynumber26 == 0) then
  316. bethigh = false
  317. end
  318. if (loststakes == 3 and mynumber28 == 1) then
  319. bethigh = true
  320. end
  321. if (loststakes == 3 and mynumber28 == 0) then
  322. bethigh = false
  323. end
  324. end
  325. mynumber214 = mynumber213;
  326. mynumber213 = mynumber212;
  327. mynumber212 = mynumber211;
  328. mynumber211 = mynumber210;
  329. mynumber210 = mynumber29;
  330. mynumber29 = mynumber28;
  331. mynumber28 = mynumber27;
  332. mynumber27 = mynumber26;
  333. mynumber26 = mynumber25;
  334. mynumber25 = mynumber24;
  335. mynumber25 = mynumber23;
  336. mynumber23 = mynumber22;
  337. mynumber22 = mynumber21;
  338. if nextbet <= 0.0000001 then
  339. nextbet = 0.0000001
  340. end
  341. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement