Advertisement
dicekode

12-05-2022--01

Dec 5th, 2022
586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.45 KB | None | 0 0
  1. riskbet  = balance * 0.8
  2. dropstp  = riskbet * 0.5
  3. basebet  = riskbet * 1e-8
  4. target   = riskbet * 1.5
  5. iflose   = 1.2
  6. inclose  = -0.03
  7. incstep  = 2
  8. chancef  = 3.96
  9. ctlose   = 0
  10. drop     = 0
  11. balhigh  = balance
  12. balstart = balance
  13. nextbet  = basebet
  14. chance   = chancef
  15. stopwin  = false
  16.  
  17. resetstats()
  18. resetseed()
  19. resetchart()
  20.  
  21. function dobet()
  22.  
  23.     if (win) then
  24.         if stopwin then stop() end
  25.         ctlose  = 0
  26.         balhigh = balance
  27.         chance  = 95.03
  28.         nextbet = basebet * 10  
  29.     else
  30.         ctlose += 1
  31.         if (ctlose == 1) then
  32.             chance  = chancef
  33.             nextbet = basebet
  34.         else
  35.             if (ctlose%incstep==0) then
  36.                 nextbet = previousbet * iflose
  37.             end
  38.             chance = chance + (chance*(inclose/100))
  39.         end
  40.     end
  41.  
  42.     if (balhigh - balance > drop) then
  43.         drop = balhigh - balance
  44.     end
  45.     if (bets%1000==0) then resetseed() end
  46.     if (profit > target) then stop() end
  47.     if (drop > dropstp) then stopwin = true end
  48.     if (riskbet - partialprofit < 0) then pause() end
  49.  
  50.     print("--")
  51.     print("-=■ Riskbet \t[ "..string.format("%.8f",riskbet+partialprofit).." ]")
  52.     print("-=■ Profit  \t[ "..string.format("%.8f",profit).."\t"..string.format("%.2f",profit/riskbet*100).."% ]")
  53.     print("-=■ Drop at \t[ "..string.format("%.8f",drop).."\t"..string.format("%.2f",drop/riskbet*100).."% ]")
  54. end
  55.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement