Untitled
unknown
plain_text
2 years ago
5.7 kB
2
Indexable
Never
-- settings targetProfit = 0.001 -- 0.001% strategy = 2 -- DO NOT CHANGE ANYTHING BELOW function incDecVar(var, per) return (var + (var / 100) * per) end function riser_v11() chance = 90.83 initialchance = chance divider = 163710 basebet = (balance+profit) / divider nextbet = basebet target = (balance / 100)*targetProfit bethigh =! bethigh end function riser_v12() chance = 90 initialchance = chance divider = 145572 basebet = (balance+profit) / divider nextbet = basebet target = (balance / 100)*targetProfit bethigh =! bethigh end function riser_v15() chance = 86.09 initialchance = chance divider = 120264 basebet = (balance+profit) / divider nextbet = basebet target = (balance / 100)*targetProfit bethigh =! bethigh end function riser_v17() chance = 80.48 initialchance = chance divider = 101372 basebet = (balance+profit) / divider nextbet = basebet target = (balance / 100)*targetProfit bethigh =! bethigh end start = true nextbet = 0.0000000 chance = 90.83 print("##############################################") print("#################START########################") print("##############################################") -- ############### RISER ALL IN ONE ############### function dobet() if(strategy == 1) then if start then riser_v11() start = false myprofit = 0 print("##################") print("strategy 1") print("##################") end if win then myprofit += currentprofit chance = initialchance nextbet = basebet print(myprofit) else if(currentstreak == -1) then chance = 47.36 end if(currentstreak == -2) then chance = 32.03 end if(currentstreak == -3) then chance = 24.20 end nextbet = incDecVar(nextbet, 32.37) myprofit += currentprofit end if(myprofit >= target) then strategy = 2 start = true end print("profit is " ..string.format("%8.6f", myprofit)) end if(strategy == 2) then if start then riser_v12() start = false myprofit = 0 print("##################") print("strategy 2") print("##################") end if win then myprofit += currentprofit chance = initialchance nextbet = basebet print(myprofit) else if(currentstreak == -1) then chance = 60 end if(currentstreak == -2) then chance = 30 end nextbet = incDecVar(nextbet, 43.48) myprofit += currentprofit end if(myprofit >= target) then strategy = 3 start = true end print("myprofit "..string.format("%8.6f",myprofit)) end if(strategy == 3) then if start then riser_v15() start = false myprofit = 0 print("##################") print("strategy 3") print("##################") end if win then myprofit += currentprofit chance = initialchance nextbet = basebet print(myprofit) else if(currentstreak == -1) then chance = 68.75 end if(currentstreak == -2) then chance = 51.56 end if(currentstreak == -3) then chance = 34.49 end if(currentstreak == -4) then chance = 17.24 end nextbet = incDecVar(nextbet, 21.10) myprofit += currentprofit end print("myprofit is "..string.format("%8.6f",myprofit)) if(myprofit >= target) then strategy = 4 start = true end end if(strategy == 4) then if start then riser_v17() start = false myprofit = 0 print("##################") print("strategy 4") print("##################") end if win then myprofit += currentprofit chance = initialchance nextbet = basebet print(myprofit) else if(currentstreak == -1) then chance = 66.89 end if(currentstreak == -2) then chance = 53.80 end if(currentstreak == -3) then chance = 40.24 end if(currentstreak == -4) then chance = 26.90 end if(currentstreak == -5) then chance = 13.45 end nextbet = incDecVar(nextbet, 15.73) myprofit += currentprofit end print("myprofit is "..string.format("%8.6f",myprofit)) if(myprofit >= target) then strategy = 2 start = true end end end