Il tuo 90 appena fatto
'================================================
' LISTATO LOTTODESK - generato dal Lotto Analyzer
' by DjNomade e Arena A.I.
' Nota: il gioco del Lotto e' a esito casuale. Nessun metodo puo' garantire una vincita. Gioca responsabilmente.
' Condizioni: MILANO + NAZIONALE · Target + Recupero: MILANO + NAZIONALE · Ambo · semplice · 1 ambate + 3 abbin. · colpi 10 · ritroso 240 · ambo qualsiasi ripetuto su MILANO+NAZIONALE · casi 10
' Target + Recupero: MILANO + NAZIONALE — previsione invariata; ruote scelte per più ambi/terni su quei numeri
' SPIA: gioca SOLO quando scatta la condizione — riga blu in ogni giocata
'================================================
Sub main()
Dim posta(5)
Dim poste(5),postee(5)
Dim ru(11)
Dim am(10)
Dim casiEs(250), nGio, ds, ds2, gia
nGio=0 ' contatore giocate (non usare t: i cicli spia For t lo sovrascrivono → sempre n° 07)
posta(1)=1
poste(2)=1
postee(2)=1
postee(3)=1
postee(4)=0.5
ini = 1 ' condizione/casi: intero archivio, filtro date okCasi
im=CInt(InputBox("Indice mensile: 0=ultima del mese · 1-19=indice · 20=ogni estrazione",">",20))
MeseRic=CInt(InputBox("Mese di ricerca: 0=tutti · 1-12=singolo mese",">",0))
GioRic=CInt(InputBox("Giorno sett. 0=tutti 1=dom 2=lun 3=mar 4=mer 5=gio 6=ven 7=sab",">",0))
ruot=CInt(InputBox("1° ruota di gioco","DjNomade",5))
ruott=CInt(InputBox("2° ruota di gioco","DjNomade",12))
k=InputBox("colpi di gioco","DjNomade",10)
casi=0
fin=EstrazioneFin
okCasi="|07/06/2025|07.06.2025|07-06-2025|2025/06/07|07/6/2025|07.6.2025|07-6-2025|2025/6/07|7/06/2025|7.06.2025|7-06-2025|2025/06/7|7/6/2025|7.6.2025|7-6-2025|2025/6/7|10/07/2025|10.07.2025|10-07-2025|2025/07/10|10/7/2025|10.7.2025|10-7-2025|2025/7/10|11/07/2025|11.07.2025|11-07-2025|2025/07/11|11/7/2025|11.7.2025|11-7-2025|2025/7/11|22/11/2025|22.11.2025|22-11-2025|2025/11/22|05/12/2025|05.12.2025|05-12-2025|2025/12/05|5/12/2025|5.12.2025|5-12-2025|2025/12/5|13/12/2025|13.12.2025|13-12-2025|2025/12/13|10/04/2026|10.04.2026|10-04-2026|2026/04/10|10/4/2026|10.4.2026|10-4-2026|2026/4/10|25/08/2026|25.08.2026|25-08-2026|2026/08/25|25/8/2026|25.8.2026|25-8-2026|2026/8/25|10/11/2026|10.11.2026|10-11-2026|2026/11/10|04/12/2026|04.12.2026|04-12-2026|2026/12/04|4/12/2026|4.12.2026|4-12-2026|2026/12/4|"
' Casi Analyzer in ordine: 07/06/2025 · 10/07/2025 · 11/07/2025 · 22/11/2025 · 05/12/2025 · 13/12/2025 · 10/04/2026 · 25/08/2026 · 10/11/2026 · 04/12/2026
nTrov=0
For esx=1 To fin
ds=Replace(Replace(Replace(CStr(DataEstrazione(esx)),".","/"),"-","/")," ","")
If Len(ds)>10 Then ds=Left(ds,10)
On Error Resume Next
ds2=Format(CDate(DataEstrazione(esx)),"dd/mm/yyyy")
On Error GoTo 0
If (InStr(okCasi,"|" & ds & "|")>0) Or (Len(ds2)>0 And InStr(okCasi,"|" & ds2 & "|")>0) Then
nTrov=nTrov+1
If nTrov<=250 Then casiEs(nTrov)=esx
End If
Next
If nTrov>0 Then Scrivi "Casi: " & nTrov & " da " & DataEstrazione(casiEs(1)) & " a " & DataEstrazione(casiEs(nTrov))
If nTrov>0 Then Scrivi "Casi Lottodesk (ultimi " & nTrov & "): da " & DataEstrazione(casiEs(nTrov)) & " a " & DataEstrazione(casiEs(1))
ColoreTesto 2
ColoreTesto 1
Scrivi "MILANO + NAZIONALE · Target + Recupero: MILANO + NAZIONALE · Ambo · semplice · 1 ambate + 3 abbin. · colpi 10 · ritroso 240 · ambo qualsiasi ripetuto su MILANO+NAZIONALE · casi 10",1
ColoreTesto 2
Scrivi "Target + Recupero: MILANO + NAZIONALE — previsione invariata, ruote per più ambi/terni",1
ColoreTesto 1
Scrivi "SPIA attiva: ambo qualsiasi ripetuto su MILANO+NAZIONALE — output solo quando scatta",1
ColoreTesto 0
For ci=1 To nTrov ' dalla più vecchia; ultima = in gioco
es=casiEs(ci)
If (GioRic=0) Or (WeekDay(CDate(Replace(CStr(DataEstrazione(es)), ".", "/")))=GioRic) Then
If(ruot >0 And ruot<>11) And (ruott >0 And ruott<>11) Then ru(1)=ruot:ru(2)=ruott
If ruot=11 Or ruott=11 Then ru(1)=1:ru(2)=2:ru(3)=3:ru(4)=4:ru(5)=5:ru(6)=6:ru(7)=7:ru(8)=8:ru(9)=9:ru(10)=10: ru(11)=12
' Casi Analyzer (10): 07/06/2025 · 10/07/2025 · 11/07/2025 · 22/11/2025 · 05/12/2025 · 13/12/2025 · 10/04/2026 · 25/08/2026 · 10/11/2026 · 04/12/2026
okCasi="|07/06/2025|07.06.2025|07-06-2025|2025/06/07|07/6/2025|07.6.2025|07-6-2025|2025/6/07|7/06/2025|7.06.2025|7-06-2025|2025/06/7|7/6/2025|7.6.2025|7-6-2025|2025/6/7|10/07/2025|10.07.2025|10-07-2025|2025/07/10|10/7/2025|10.7.2025|10-7-2025|2025/7/10|11/07/2025|11.07.2025|11-07-2025|2025/07/11|11/7/2025|11.7.2025|11-7-2025|2025/7/11|22/11/2025|22.11.2025|22-11-2025|2025/11/22|05/12/2025|05.12.2025|05-12-2025|2025/12/05|5/12/2025|5.12.2025|5-12-2025|2025/12/5|13/12/2025|13.12.2025|13-12-2025|2025/12/13|10/04/2026|10.04.2026|10-04-2026|2026/04/10|10/4/2026|10.4.2026|10-4-2026|2026/4/10|25/08/2026|25.08.2026|25-08-2026|2026/08/25|25/8/2026|25.8.2026|25-8-2026|2026/8/25|10/11/2026|10.11.2026|10-11-2026|2026/11/10|04/12/2026|04.12.2026|04-12-2026|2026/12/04|4/12/2026|4.12.2026|4-12-2026|2026/12/4|" ' commento date Analyzer
spiaOk=False
spiaTxt=""
ruA=5: ruB=12
For p=1 To 4
For q=p+1 To 5
a=Estratto(es,ruA,p): b=Estratto(es,ruA,q)
okPair=True
If okPair Then
ha=False: hb=False: isoN=0
For r=1 To 5
If Estratto(es,ruB,r)=a Then ha=True
If Estratto(es,ruB,r)=b Then hb=True
If r=p And Estratto(es,ruB,r)=a Then isoN=isoN+1
If r=q And Estratto(es,ruB,r)=b Then isoN=isoN+1
Next
If ha And hb Then
spiaOk=True
spiaTxt=spiaTxt & " | ambo " & a & "-" & b & " ru " & ruA & "+" & ruB
End If
End If
Next
Next
If True Then ' caso già selezionato dall'Analyzer: gioca anche se CondizioneSpia non rilegge l'isotopo/pos.
cont=cont+1
nGio=nGio+1
Scrivi : ColoreTesto 2
Scrivi "Giocata n° " & Format2(nGio) & " " & DataEstrazione(es),1
ColoreTesto 2 ' verde: numeri della condizione trovata
Scrivi " >>> CONDIZIONE: " & spiaTxt,1
ColoreTesto 0
' --- Ambata 1: n° 90 ---
For i=1 To 10: am(i)=0: Next ' azzera, altrimenti restano i numeri della lunghetta
am(1)=Fuori90(Estratto(es,5,1)+Estratto(es,10,3)+7) ' (1° MILANO + 3° VENEZIA) + 7 → 90
ImpostaGiocata 1,am,ru,posta,k
' --- Ambi secchi ---
For i=1 To 10: am(i)=0: Next ' azzera, altrimenti restano i numeri della lunghetta
am(1)=Fuori90(Estratto(es,5,1)+Estratto(es,10,3)+7)
am(2)=Fuori90(Estratto(es,9,2)+Estratto(es,5,5)+1)
am(3)=Fuori90(90+Estratto(es,8,5)-Estratto(es,1,5)+1)
am(4)=Fuori90(Estratto(es,3,1)+Estratto(es,12,4)+3)
For p=2 To 4
Do
usato=False
For q=1 To p-1
If am(p)<>0 And am(p)=am(q) Then usato=True
Next
If usato Then am(p)=Fuori90(am(p)+1) Else Exit Do
Loop
Next ' ripetuti -> +1 Fuori90
b=am(2)
d=am(3)
sm=am(4)
For i=2 To 10: am(i)=0: Next
am(2)=b
ImpostaGiocata 2,am,ru,poste,k
am(2)=0
am(2)=d
ImpostaGiocata 3,am,ru,poste,k
am(2)=0
am(2)=sm
ImpostaGiocata 4,am,ru,poste,k
am(2)=0
' --- Lunghetta (4 numeri): 90 - 38 - 88 - 29 (ambo e terno e quaterna) ---
For i=1 To 10: am(i)=0: Next ' azzera, altrimenti restano i numeri della lunghetta
am(1)=Fuori90(Estratto(es,5,1)+Estratto(es,10,3)+7):am(2)=Fuori90(Estratto(es,9,2)+Estratto(es,5,5)+1):am(3)=Fuori90(90+Estratto(es,8,5)-Estratto(es,1,5)+1):am(4)=Fuori90(Estratto(es,3,1)+Estratto(es,12,4)+3)
For p=2 To 4
Do
usato=False
For q=1 To p-1
If am(p)<>0 And am(p)=am(q) Then usato=True
Next
If usato Then am(p)=Fuori90(am(p)+1) Else Exit Do
Loop
Next ' ripetuti -> +1 Fuori90
ImpostaGiocata 5,am,ru,postee,k
Gioca es
End If ' spiaOk
End If ' GioRic
Next ' ci casi
ScriviResoconto
End Sub
Function CondizioneSpia(es)
CondizioneSpia=False
spiaOk=False
spiaTxt=""
ruA=5: ruB=12
For p=1 To 4
For q=p+1 To 5
a=Estratto(es,ruA,p): b=Estratto(es,ruA,q)
okPair=True
If okPair Then
ha=False: hb=False: isoN=0
For r=1 To 5
If Estratto(es,ruB,r)=a Then ha=True
If Estratto(es,ruB,r)=b Then hb=True
If r=p And Estratto(es,ruB,r)=a Then isoN=isoN+1
If r=q And Estratto(es,ruB,r)=b Then isoN=isoN+1
Next
If ha And hb Then
spiaOk=True
spiaTxt=spiaTxt & " | ambo " & a & "-" & b & " ru " & ruA & "+" & ruB
End If
End If
Next
Next
CondizioneSpia=spiaOk
End Function
Function IsUltimaDelMese(idEstr)
Dim a, b, ma, mb
IsUltimaDelMese=False
a=Replace(CStr(DataEstrazione(idEstr)),".","/")
b=Replace(CStr(DataEstrazione(idEstr+1)),".","/")
If Len(a)>=7 Then ma=Mid(a,4,2) Else ma=""
If Len(b)<5 Then
If CInt(ma)<>Month(Date) Or CInt(Right(a,4))<Year(Date) Then IsUltimaDelMese=True
Exit Function
End If
mb=Mid(b,4,2)
If ma<>mb Then IsUltimaDelMese=True
End Function