Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 6

enablezz=false

enablesrc=false
bestTOUMX=0 --mémorise la proba de la best chaine
n=0
N=0
n=1
bestchain=0 --mémorise la valeur de la serie la + rare
indice=1 --indice de la serie la + rare aux dernier contrôle
pr=0 --mémorise profit/progression
prinitiale=pr
wagered = 0
bets = 0
--balance=10000 --simu
lastBetProfit=0
div = 100000000 ---------------unité de base
--balance = 10000 --simulation, à supprimer si on joue en réel
frequence_affichage = 10 --affiche les infos de simu tout les 100 bets par exemples
--____________________SETTINGS______
agressivite = 17 --[[increases/decreases martingales' best minimum increase
for instance with multiplier=2 and aggressivite = 50 after every loses, wager are
increase by 150%) ]]--
casino = 1 --% edge house
chancePRLL = 88 --chance to pre roll
maxchance = 44-- max chance authorized
minchance = 5--minimum chance authorized
NBRchance = 100 --number of chance analyzed
target = balance*2 --STOP_IF_BALANCE_OVER
limite = 0 --STOP_IF_BALANCE_UNDER
bb = balance / 1300000 -------------------base bet
bbPRLL = bb/2 --pre roll base bet
NBM = 100 --[[probability of the series
(for instance with NBM=100 we are looking for series that have 1 chance in
100 ) ]]--
--_________________________________
chance=chancePRLL
nextbet=bbPRLL
B=balance-limite---c'est la partie de balance mis en jeu

--REMPLISSAGE DES TABLES_____________________________________________


Tch={} --chance
Tover={} --chaine lose over
Tunder={} --chaine lose under
TOUMX={} --plus grande chaine entre over/under
Tsens={} --mémorise sens de chaque chaine
Tn={} --chaine lose min

A = minchance-((maxchance-minchance)/(NBRchance-1))
for x=1,NBRchance,1 do --Remplis les table selectione les chances
A +=(maxchance-minchance)/(NBRchance-1)
Tch[x] = A --chance
Tover[x]=0 --chaine lose over
Tunder[x]=0 --chaine lose under
TOUMX[x]=0 --plus grande chaine entre over/under
Tn[x]=0 --chaine lose min
Tsens[x]=0 --mémorise sens de chaque chaine
end

--[[ for x=1,NBRchance,1 do --table serie win min


if Tch[x]==nil then break end
Tn[x]=math.ceil(math.log(1/NBM)/math.log((Tch[x])/100))
end --]]

for x=1,NBRchance,1 do --table serie lose min


if Tch[x]==nil then break end
Tn[x]=math.ceil(math.log(1/NBM)/math.log((100-Tch[x])/100))
end

x=0
--___________________________________________________________________

--FONCTION_______________________________________________________________

function calcul_increase()

payout=(100 - casino)/chance
q=((1+(1/(payout-1)))-1)*(1+(agressivite/100))+1
inc=(q-1)*100

end

MRTGLLOPT=false
function martingale_optimise() --optimizing the base bet to use 100% of the balance

if (lastBetProfit >= 0) then -- if win


B=balance-limite-0.00000001
n = math.log((B/bb)*(-1+q)+1)/math.log(q) -- nombre de loses encaissables
n=math.floor(n) -- nombre entier
nextbet=B/((1-q^n)/(1-q)) -- bet amount maximum pour encaisser ces "n"
loses
else
nextbet = previousbet*q
end

end

function reset_to_preroll()

if (lastBetProfit >= 0) then -- if win then


if bestTOUMX < Tn[indice] then
chance=chancePRLL
nextbet=bbPRLL
MRTGLLOPT=false
end
end --retourner au preroll après win

end

function cherche_serie_de_win()
for x=1,NBRchance,1 do

if Tch[x]==nil then break end

if (lastBet.Roll/10000) < Tch[x] then


Tunder[x] = Tunder[x] +1
else
Tunder[x] =0
end
if (lastBet.Roll/10000) > (100-Tch[x]-0.01) then
Tover[x] = Tover[x] + 1
else
Tover[x] =0
end

if Tunder[x] >= Tover[x] then


TOUMX[x]=Tunder[x]
Tsens[x]=false
else
TOUMX[x]=Tover[x]
Tsens[x]=true
end
end
end

function cherche_serie_de_lose()
for x=1,NBRchance,1 do

if Tch[x]==nil then break end

if (lastBet.Roll/10000) < Tch[x] then


Tunder[x] =0
else
Tunder[x] = Tunder[x] + 1
end

if (lastBet.Roll/10000) > (100-Tch[x]-0.01) then


Tover[x] =0
else
Tover[x] = Tover[x] + 1
end

if Tunder[x] >= Tover[x] then


TOUMX[x]=Tunder[x]
Tsens[x]=false
else
TOUMX[x]=Tover[x]
Tsens[x]=true
end
end
end

function selection_indice_de_la_best_serie_win()
for x=1,NBRchance,1 do

if Tch[x]==nil then break end


if (1/(((Tch[x])/100)^TOUMX[x])) > bestchain then
bestchain=(1/(((Tch[x])/100)^TOUMX[x]))
indice=x
bestTOUMX=TOUMX[indice]
end
end
if bestTOUMX >= Tn[indice] and (lastBetProfit >= 0) then
MRTGLLOPT=true
bestchain=0 --pour garder en mémoire même si la serie est cassé
chance=Tch[indice]
bethigh=Tsens[indice]
end
end

function selection_indice_de_la_best_serie_lose()
for x=1,NBRchance,1 do

if Tch[x]==nil then break end


if (1/(((100-Tch[x])/100)^TOUMX[x])) > bestchain then
bestchain=(1/(((100-Tch[x])/100)^TOUMX[x]))
indice=x
bestTOUMX=TOUMX[indice]
end
end
if bestTOUMX >= Tn[indice] and ((lastBetProfit >= 0) or chance==chancePRLL)
then
MRTGLLOPT=true
chance=Tch[indice]
bethigh=Tsens[indice]
end
end

function limiteSTOP(target,limite)
if balance > target then
simuInfo()
print("TARGET REACHED !!!!!!!!!!!!!!")
stop()
elseif balance-nextbet < limite then
simuInfo()
print(".............................")
stop()
end
end

bbDB = bb
startbank = balance
wagered = wagered + nextbet

function simuInfo()
end

perteP = 0
p = false
maxUse = 0
bestID,badID,pirePERTE,bestPROFIT=0,0,0,0
function calculPrint()
if p == true then
--print(balance)
print(chance)
print(nextbet)
print(coef)
end

perteP +=currentprofit
if perteP >= 0 then perteP = 0 end

if -perteP + nextbet > maxUse then maxUse = -perteP + nextbet end

if bets%frequence_affichage==0 then
simuInfo()
end

if currentprofit >= bestPROFIT then


bestID = lastBet.id
bestPROFIT = currentprofit
end

if currentprofit <= pirePERTE then


badID = lastBet.id
pirePERTE = currentprofit
end
end

debugg = true
function dobet()
bets = bets + 1
lastBetProfit = currentprofit

if debugg == true then


if bethigh==true then sens24 = "over" else sens24 = "under" end
if win then gain24 = " win" else gain24 = "lose" end
end

pr = pr +currentprofit

cherche_serie_de_lose()
--cherche_serie_de_win()

bestchain=0
selection_indice_de_la_best_serie_lose()
--selection_indice_de_la_best_serie_win()

reset_to_preroll()

if MRTGLLOPT==true then
calcul_increase()
martingale_optimise()
end

calculPrint()
limiteSTOP(target,limite)
--simu_printInfo()
--chance = math.floor((chance*100)+0.5)/100 -- wolf bet
end

1. The script finds 4 different patterns HLL...., HLH...., LHH.... and LHL.... We
are betting that the patterns will continue. In the first and third cases (HLL,
LHH) we are going to bet that the streak will continue and hence bet L and H,
respectively. In the second and fourth cases (HLH and LHL) we are going to bet that
the chop will continue and therefore we bet L and H, respectively. There are 2
methods and levels of progression, primary and secondary. The primary method and
level(s) if progression are as follows: if it loses once, in other words, it chops,
then we keep betting the primary method. IF it loses 2 or more then we switch to
the secondary method. The secondary method is somewhat of a hybrid between the
first and second methods. For example, the secondary method makes bet selection
after 2 consecutive losses of the primary method; In other words, after it waits to
find two different patterns listed above and has 2 losses, that is when the
secondary method comes into play. However in the secondary method, the bet
selection is the OPPOSITE of the primary method. So if we were betting on High in
the primary method, in the secondary method, we bet on low. However, what I take
from the video is that the bet would be on high with the stake being the difference
between what the primary stake would be and the secondary stake would be, which in
this case, I guess, would be 1 unit although I think that, taking what I get from
the video, the video's author is a little bit confused. He says that the secondary
bet would be the OPPOSITE of the primary bet (the primary bet in this case, would
be on High) and bet Low. But then he says that the only difference would be the
secondary bet would be on High with the stake being 1 unit (the difference between
the primary stake of 7 and the secondary stake of 6) then he goes on to say that
we will be betting 1 unit (in the secondary stage/phase) until we go into profit.
My opinion is that, we do bet the opposite of what the primary stake/roll would be
and that we do bet/stake 1 unit or the difference between what would be the primary
and secondary stakes, whichever is bigger or smaller (somebody has to decide!)
However being that money management is an important aspect of this system, we will
deal with a whole system of stop losses, resets and target values in order to reach
our profit goals. We are going to set a profit goal/target of 2.85 units
(approximately 3) with a stop loss of -10 units.

The progression goes like this: 1. 1 unit 2. 2 units 3. 4 units 4. 7 units, 5.


11 units 6. 16 units 7. 22 units 8. 29 units, 9. 37 units 10. 46 units but the
author of the video effectively says that we won't be going level 5 of the
progression in most case, ehich for all intents and purposes, in our case, might
not be the most beneficial or necessarily the case.

You might also like