Advertisement
dicekode

25-12-2022 -- 02

Dec 24th, 2022
1,175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.18 KB | None | 0 0
  1.  
  2. resetstats()
  3. resetseed()
  4. resetchart()
  5.  
  6. basediv = 1e5
  7. basebet = balance/basediv
  8. bethigh = false
  9. switch  = 2
  10. chancef = 47.14
  11. chance  = chancef
  12. nextbet = basebet
  13. target  = balance * 1.1
  14.  
  15. function dobet()
  16.  
  17.     if win then
  18.         if partialprofit > basebet then
  19.             resetpartialprofit()
  20.             basebet = balance/basediv
  21.             nextbet = basebet
  22.         else
  23.             nextbet = previousbet * 0.80
  24.         end
  25.         bethigh = not bethigh
  26.         chance  = chancef
  27.     else
  28.         if switch > 2 then
  29.             switch  = 2
  30.             bethigh = false
  31.         end
  32.         switch += 1
  33.         chance  = chance+(chance*0.9/50)
  34.         nextbet = previousbet * 1.95
  35.     end
  36.     if balance > target then stop() end
  37.  
  38.     analitik()
  39.  
  40. end
  41.  
  42. resetbet = false
  43. stopwin  = false
  44. mostgain = 0
  45. mostdrop = 0
  46. mostbal  = balance
  47. function analitik()
  48.    
  49.     if partialprofit < -mostdrop then
  50.         mostdrop = math.abs(partialprofit)
  51.     end
  52.  
  53.     if partialprofit > mostgain then
  54.         mostgain = partialprofit
  55.     end
  56.  
  57.     ppdrop = mostdrop/mostbal*100
  58.     ppgain = mostgain/mostbal*100
  59.     nwgain = partialprofit/mostbal*100
  60.  
  61.     limitation(ppdrop,nwgain)
  62.  
  63.     print("\n\n")
  64.     print("-=■ Dropped \t[ "..string.format("%.8f",math.abs(mostdrop)).." ( "..string.format("%.2f",ppdrop).."% ) ]")
  65.     print("-=■ Gained  \t[ "..string.format("%.8f",math.abs(mostgain)).." ( "..string.format("%.2f",ppgain).."% ) ]")
  66.     print("-=■ Profit  \t[ "..string.format("%.8f",math.abs(profit)).." ( "..string.format("%.2f",profit/(balance-profit)*100).."% ) ]")
  67.  
  68.     if partialprofit > 0 then
  69.         resetpartialprofit()
  70.         mostbal = balance
  71.         if stopwin then stop() end
  72.         if resetbet then
  73.             resetbet = false
  74.             nextbet  = basebet
  75.             print("RESET BET")
  76.             sleep(3)
  77.         end
  78.     end
  79. end
  80.  
  81. stop_drop = 25 --%
  82. stop_gain = 5 --%
  83. function limitation(_drop,_gain)
  84.  
  85.     if _drop > stop_drop then
  86.         stopwin = true
  87.         print("STOP DROP")
  88.     end
  89.     if _gain > stop_gain then
  90.         -- stopwin = true
  91.         -- print("STOP GAIN")
  92.         resetbet = true
  93.     end
  94.  
  95. end
  96.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement