Advertisement
cryptomonkey

Climbing The Mountain

Dec 16th, 2019
462
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.14 KB | None | 0 0
  1. --https://www.youtube.com/watch?v=A9fCyLvraE4&t=462s
  2. --V10 Follow Payout; Climbing Mountain...
  3.  
  4. base = balance/100000
  5. nextbet = base
  6. bethig=false
  7. p = 0
  8. l = 0
  9. wincount = 0
  10. losecount = 0
  11. a = 0
  12. --------------------------
  13. target      = balance*1.1
  14. stoploss    = balance*0.90
  15. --------------------------
  16. po = 1
  17. multi = 1.3
  18. chance = 95
  19.  
  20. function dobet()
  21.  
  22. if balance-nextbet >= target then
  23.     stop()
  24.     ching()
  25.     resetseed()
  26.   print(balance)
  27.   print("TARGET ACHIEVED!!!")
  28.   print("You Won")
  29.   print("Profit: " .. string.format("%9.8f", profit) )
  30.   print("for this Session")
  31. end
  32.  
  33. if balance-nextbet <= stoploss then
  34.     stop()
  35.     ching()
  36.     resetseed()
  37.   print(balance)
  38.   print("ALARM!!!")
  39.   print("You Lose")
  40.   print("Profit: " .. string.format("%9.8f", profit) )
  41.   print("for this Session")
  42. end
  43.  
  44. if wincount == 68 then
  45.         nextbet = base2
  46.         resetseed()
  47.         bethigh=!bethigh
  48. end
  49.  
  50. if currentprofit > 0 then
  51.         p+= currentprofit
  52.  else
  53.         l-= currentprofit
  54. end
  55.  
  56. if win then
  57.         nextbet = base
  58.         chance = math.random(1500,6600)/100
  59.         wincount+=1
  60.         p =0
  61.         l = 0
  62.         a = 0
  63.         losecount = 0
  64.  else
  65.         a = math.random(4,9)
  66.         nextbet = l/po
  67.        
  68.         if a == 4 then
  69.                 chance = 58.6
  70.                 po = 0.70477
  71.                 nextbet = (l+base)/po
  72.         end
  73.         if a == 5 then
  74.                 chance = 59.6
  75.                 po = 0.6761
  76.                 nextbet = (l+base)/po
  77.         end
  78.         if a == 6 then
  79.                 chance = 60.6
  80.                 po = 0.6485
  81.                 nextbet = (l+base)/po
  82.         end
  83.         if a == 7 then
  84.                 chance = 61.8
  85.                 po = 0.6165
  86.                 nextbet = (l+base)/po
  87.         end
  88.         if a == 8 then
  89.                 chance = 62.68
  90.                 po = 0.593
  91.                 nextbet = (l+base)/po
  92.         end        
  93.         if a == 9 then
  94.                 chance = 63.68
  95.                 po = 0.5687
  96.                 nextbet = (l+base)/po
  97.         end
  98.         losecount+=1
  99. end
  100. print(" ")
  101. print("payout: "..po)
  102. print("a: "..a)
  103. print("lost: "..l)
  104. print(" ")
  105. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement