Mon code donne x si x >x[1] quand x>0 et x si x <x[1] quand x<0 (c"est mon signal). Je crois que c'est la partie suivante du code qui est lourde. Elle donne le + haut ou + bas d'une série quand
x>0 et quand x<0. Exemple, 2, -6, -2, -8, 3 resultat 0, 0, 0, -8 ou 1, -3, 5 resultat 0, -3, 0. Je crois qu'avec la fonction highest and lowest ya moyen de faire mieux. Pas besoin de lire tout le code ci dessous, évidemment y'a la meme structure qui se répéte.
Pfiou il est sympa cette indicateur mais il m'a fatigué haha. Enfin c'est un bon début pour du "fait maison".
Voila visualement:
ACCOR.png
Voila le code:
Code : #
indicL=INDIC<0
indicB=INDIC<INDIC[1]
indicB2=INDIC<INDIC[2] AND indicB
indic1B2=INDIC>INDIC[1]AND INDIC[1]<INDIC[2]
indic2B2=INDIC>INDIC[2]AND INDIC[2]<INDIC[1]
indicB3=indicB2 AND INDIC<INDIC[3]
indic1B3=indic1B2 AND INDIC[1]<INDIC[3]
indic2B3=indic2B2 AND INDIC[2]<INDIC[3]
indic3B3=INDIC>INDIC[3]AND INDIC[3]<INDIC[1] AND INDIC[3]<INDIC[2]
indicB4=indicB3 AND INDIC<INDIC[4]
indic1B4=indic1B3 AND INDIC[1]<INDIC[4]
indic2B4=indic2B3 AND INDIC[2]<INDIC[4]
indic3B4=indic3B3 AND INDIC[3]<INDIC[4]
indic4B4=INDIC[4]<INDIC AND INDIC[4]<INDIC[1] AND INDIC[4]<INDIC[2] AND INDIC[4]<INDIC[3]
indicB5=indicB4 AND INDIC<INDIC[5]
indic1B5=indic1B4 AND INDIC[1]<INDIC[5]
indic2B5=indic2B4 AND INDIC[2]<INDIC[5]
indic3B5=indic3B4 AND INDIC[3]<INDIC[5]
indic4B5=indic4B4 AND INDIC[4]<INDIC[5]
indic5B5=INDIC[5]<INDIC AND INDIC[5]<INDIC[1] AND INDIC[5]<INDIC[2] AND INDIC[5]<INDIC[3] AND INDIC[5]<INDIC[4]
indicB6=indicB5 AND INDIC<INDIC[6]
indic1B6=indic1B5 AND INDIC[1]<INDIC[6]
indic2B6=indic2B5 AND INDIC[2]<INDIC[6]
indic3B6=indic3B5 AND INDIC[3]<INDIC[6]
indic4B6=indic4B5 AND INDIC[4]<INDIC[6]
indic5B6=indic5B5 AND INDIC[5]<INDIC[6]
indic6B6=INDIC[6]<INDIC AND INDIC[6]<INDIC[1] AND INDIC[6]<INDIC[2] AND INDIC[6]<INDIC[3] AND INDIC[6]<INDIC[4] AND INDIC[6]<INDIC[5]
indicB7=indicB6 AND INDIC<INDIC[7]
indic1B7=indic1B6 AND INDIC[1]<INDIC[7]
indic2B7=indic2B6 AND INDIC[2]<INDIC[7]
indic3B7=indic3B6 AND INDIC[3]<INDIC[7]
indic4B7=indic4B6 AND INDIC[4]<INDIC[7]
indic5B7=indic5B6 AND INDIC[5]<INDIC[7]
indic6B7=indic6B6 AND INDIC[6]<INDIC[7]
indic7B7=INDIC[7]<INDIC AND INDIC[7]<INDIC[1] AND INDIC[7]<INDIC[2] AND INDIC[7]<INDIC[3] AND INDIC[7]<INDIC[4] AND INDIC[7]<INDIC[5] AND INDIC[7]<INDIC[6]
indicB8=indicB7 AND INDIC<INDIC[8]
indic1B8=indic1B7 AND INDIC[1]<INDIC[8]
indic2B8=indic2B7 AND INDIC[2]<INDIC[8]
indic3B8=indic3B7 AND INDIC[3]<INDIC[8]
indic4B8=indic4B7 AND INDIC[4]<INDIC[8]
indic5B8=indic5B7 AND INDIC[5]<INDIC[8]
indic6B8=indic6B7 AND INDIC[6]<INDIC[8]
indic7B8=indic7B7 AND INDIC[7]<INDIC[8]
indic8B8=INDIC[8]<INDIC AND INDIC[8]<INDIC[1] AND INDIC[8]<INDIC[2] AND INDIC[8]<INDIC[3] AND INDIC[8]<INDIC[8] AND INDIC[8]<INDIC[5] AND INDIC[8]<INDIC[6] AND INDIC[8]<INDIC[7]
indicH=INDIC>0
indicA=INDIC>INDIC[1]
indicA2=INDIC>INDIC[2] AND indicA
indic1A2=INDIC<INDIC[1]AND INDIC[1]>INDIC[2]
indic2A2=INDIC<INDIC[2]AND INDIC[2]>INDIC[1]
indicA3=indicA2 AND INDIC>INDIC[3]
indic1A3=indic1A2 AND INDIC[1]>INDIC[3]
indic2A3=indic2A2 AND INDIC[2]>INDIC[3]
indic3A3=INDIC>INDIC[3]AND INDIC[3]>INDIC[1] AND INDIC[3]>INDIC[2]
indicA4=indicA3 AND INDIC>INDIC[4]
indic1A4=indic1A3 AND INDIC[1]>INDIC[4]
indic2A4=indic2A3 AND INDIC[2]>INDIC[4]
indic3A4=indic3A3 AND INDIC[3]>INDIC[4]
indic4A4=INDIC[4]>INDIC AND INDIC[4]>INDIC[1] AND INDIC[4]>INDIC[2] AND INDIC[4]>INDIC[3]
indicA5=indicA4 AND INDIC>INDIC[5]
indic1A5=indic1A4 AND INDIC[1]>INDIC[5]
indic2A5=indic2A4 AND INDIC[2]>INDIC[5]
indic3A5=indic3A4 AND INDIC[3]>INDIC[5]
indic4A5=indic4A4 AND INDIC[4]>INDIC[5]
indic5A5=INDIC[5]>INDIC AND INDIC[5]>INDIC[1] AND INDIC[5]>INDIC[2] AND INDIC[5]>INDIC[3] AND INDIC[5]>INDIC[4]
indicA6=indicA5 AND INDIC>INDIC[6]
indic1A6=indic1A5 AND INDIC[1]>INDIC[6]
indic2A6=indic2A5 AND INDIC[2]>INDIC[6]
indic3A6=indic3A5 AND INDIC[3]>INDIC[6]
indic4A6=indic4A5 AND INDIC[4]>INDIC[6]
indic5A6=indic5A5 AND INDIC[5]>INDIC[6]
indic6A6=INDIC[6]>INDIC AND INDIC[6]>INDIC[1] AND INDIC[6]>INDIC[2] AND INDIC[6]>INDIC[3] AND INDIC[6]>INDIC[4] AND INDIC[6]>INDIC[5]
indicA7=indicA6 AND INDIC>INDIC[7]
indic1A7=indic1A6 AND INDIC[1]>INDIC[7]
indic2A7=indic2A6 AND INDIC[2]>INDIC[7]
indic3A7=indic3A6 AND INDIC[3]>INDIC[7]
indic4A7=indic4A6 AND INDIC[4]>INDIC[7]
indic5A7=indic5A6 AND INDIC[5]>INDIC[7]
indic6A7=indic6A6 AND INDIC[6]>INDIC[7]
indic7A7=INDIC[7]>INDIC AND INDIC[7]>INDIC[1] AND INDIC[7]>INDIC[2] AND INDIC[7]>INDIC[3] AND INDIC[7]>INDIC[4] AND INDIC[7]>INDIC[5] AND INDIC[7]>INDIC[6]
indicA8=indicA7 AND INDIC>INDIC[8]
indic1A8=indic1A7 AND INDIC[1]>INDIC[8]
indic2A8=indic2A7 AND INDIC[2]>INDIC[8]
indic3A8=indic3A7 AND INDIC[3]>INDIC[8]
indic4A8=indic4A7 AND INDIC[4]>INDIC[8]
indic5A8=indic5A7 AND INDIC[5]>INDIC[8]
indic6A8=indic6A7 AND INDIC[6]>INDIC[8]
indic7A8=indic7A7 AND INDIC[7]>INDIC[8]
indic8A8=INDIC[8]>INDIC AND INDIC[8]>INDIC[1] AND INDIC[8]>INDIC[2] AND INDIC[8]>INDIC[3] AND INDIC[8]>INDIC[8] AND INDIC[8]>INDIC[5] AND INDIC[8]>INDIC[6] AND INDIC[8]>INDIC[7]
//COUR
//conditions multiples
IF indicL[1] AND NOT indicL AND NOT indicL[2] THEN
indicLA5=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND NOT indicL[3] AND indicB[1] THEN
indicLA5=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[1] AND indicL[2] AND NOT indicL[3] AND NOT indicB[1] THEN
indicLA5=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND NOT indicL[4] AND indicB2[1] THEN
indicLA5=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND NOT indicL[4] AND indic1B2[1] THEN
indicLA5=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND NOT indicL[4] AND indic2B2[1] THEN
indicLA5=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND NOT indicL[5] AND indicB3[1] THEN
indicLA5=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND NOT indicL[5] AND indic1B3[1] THEN
indicLA5=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND NOT indicL[5] AND indic2B3[1] THEN
indicLA5=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND NOT indicL[5] AND indic3B3[1] THEN
indicLA5=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND NOT indicL[6] AND indicB4[1] THEN
indicLA5=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND NOT indicL[6] AND indic1B4[1] THEN
indicLA5=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND NOT indicL[6] AND indic2B4[1] THEN
indicLA5=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND NOT indicL[6] AND indic3B4[1] THEN
indicLA5=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND NOT indicL[6] AND indic4B4[1] THEN
indicLA5=indic[5]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indicB5[1] THEN
indicLA5=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indic1B5[1] THEN
indicLA5=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indic2B5[1] THEN
indicLA5=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indic3B5[1] THEN
indicLA5=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indic4B5[1] THEN
indicLA5=indic[5]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indic5B5[1] THEN
indicLA5=indic[6]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indicB6[1] THEN
indicLA5=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic1B6[1] THEN
indicLA5=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic2B6[1] THEN
indicLA5=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic3B6[1] THEN
indicLA5=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic4B6[1] THEN
indicLA5=indic[5]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic5B6[1] THEN
indicLA5=indic[6]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic6B6[1] THEN
indicLA5=indic[7]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indicB7[1] THEN
indicLA5=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic1B7[1] THEN
indicLA5=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic2B7[1] THEN
indicLA5=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic3B7[1] THEN
indicLA5=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic4B7[1] THEN
indicLA5=indic[5]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic5B7[1] THEN
indicLA5=indic[6]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic6B7[1] THEN
indicLA5=indic[7]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic7B7[1] THEN
indicLA5=indic[8]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indicB8[1] THEN
indicLA5=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic1B8[1] THEN
indicLA5=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic2B8[1] THEN
indicLA5=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic3B8[1] THEN
indicLA5=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic4B8[1] THEN
indicLA5=indic[5]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic5B8[1] THEN
indicLA5=indic[6]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic6B8[1] THEN
indicLA5=indic[7]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic7B8[1] THEN
indicLA5=indic[8]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic8B8[1] THEN
indicLA5=indic[9]
ELSE
indicLA5=indicLA5[1]
ENDIF
IF indicL[1] AND NOT indicL AND NOT indicL[2] THEN
indicLA6=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND NOT indicL[3] AND indicB[1] THEN
indicLA6=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[1] AND indicL[2] AND NOT indicL[3] AND NOT indicB[1] THEN
indicLA6=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND NOT indicL[4] AND indicB2[1] THEN
indicLA6=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND NOT indicL[4] AND indic1B2[1] THEN
indicLA6=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND NOT indicL[4] AND indic2B2[1] THEN
indicLA6=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND NOT indicL[5] AND indicB3[1] THEN
indicLA6=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND NOT indicL[5] AND indic1B3[1] THEN
indicLA6=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND NOT indicL[5] AND indic2B3[1] THEN
indicLA6=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND NOT indicL[5] AND indic3B3[1] THEN
indicLA6=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND NOT indicL[6] AND indicB4[1] THEN
indicLA6=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND NOT indicL[6] AND indic1B4[1] THEN
indicLA6=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND NOT indicL[6] AND indic2B4[1] THEN
indicLA6=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND NOT indicL[6] AND indic3B4[1] THEN
indicLA6=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND NOT indicL[6] AND indic4B4[1] THEN
indicLA6=indic[5]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indicB5[1] THEN
indicLA6=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indic1B5[1] THEN
indicLA6=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indic2B5[1] THEN
indicLA6=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indic3B5[1] THEN
indicLA6=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indic4B5[1] THEN
indicLA6=indic[5]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indic5B5[1] THEN
indicLA6=indic[6]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indicB6[1] THEN
indicLA6=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic1B6[1] THEN
indicLA6=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic2B6[1] THEN
indicLA6=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic3B6[1] THEN
indicLA6=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic4B6[1] THEN
indicLA6=indic[5]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic5B6[1] THEN
indicLA6=indic[6]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indic6B6[1] THEN
indicLA6=indic[7]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indicB7[1] THEN
indicLA6=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic1B7[1] THEN
indicLA6=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic2B7[1] THEN
indicLA6=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic3B7[1] THEN
indicLA6=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic4B7[1] THEN
indicLA6=indic[5]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic5B7[1] THEN
indicLA6=indic[6]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic6B7[1] THEN
indicLA6=indic[7]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indic7B7[1] THEN
indicLA6=indic[8]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indicB8[1] THEN
indicLA6=indic[1]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic1B8[1] THEN
indicLA6=indic[2]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic2B8[1] THEN
indicLA6=indic[3]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic3B8[1] THEN
indicLA6=indic[4]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic4B8[1] THEN
indicLA6=indic[5]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic5B8[1] THEN
indicLA6=indic[6]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic6B8[1] THEN
indicLA6=indic[7]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic7B8[1] THEN
indicLA6=indic[8]
ELSIF indicL[1] AND NOT indicL AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND indicL[9] AND NOT indicL[10] AND indic8B8[1] THEN
indicLA6=indic[9]
ELSE
indicLA6=0
ENDIF
IF indicL AND NOT indicL[1] THEN
indicLHA=indic
ELSE
indicLHA=0
ENDIF
IF indicL AND indicL[1] AND NOT indicL[2] AND indicB THEN
indicLHB=indic
ELSE
indicLHB=0
ENDIF
IF indicL AND indicL[1] AND indicL[2] AND NOT indicL[3] AND indicB AND indicB2 THEN
indicLHC=indic
ELSE
indicLHC=0
ENDIF
IF indicL AND indicL[1] AND indicL[2] AND indicL[3] AND NOT indicL[4] AND indicB AND indicB2 AND indicB3 THEN
indicLHD=indic
ELSE
indicLHD=0
ENDIF
IF indicL AND indicL[1] AND indicL[2] AND indicL[3] AND indicL[4] AND NOT indicL[5] AND indicB AND indicB2 AND indicB3 AND indicB4 THEN
indicLHE=indic
ELSE
indicLHE=0
ENDIF
IF indicL AND indicL[1] AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND NOT indicL[6] AND indicB AND indicB2 AND indicB3 AND indicB4 AND indicB5 THEN
indicLHF=indic
ELSE
indicLHF=0
ENDIF
IF indicL AND indicL[1] AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND NOT indicL[7] AND indicB AND indicB2 AND indicB3 AND indicB4 AND indicB5 AND indicB6 THEN
indicLHG=indic
ELSE
indicLHG=0
ENDIF
IF indicL AND indicL[1] AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND NOT indicL[8] AND indicB AND indicB2 AND indicB3 AND indicB4 AND indicB5 AND indicB6 AND indicB7 THEN
indicLHH=indic
ELSE
indicLHH=0
ENDIF
IF indicL AND indicL[1] AND indicL[2] AND indicL[3] AND indicL[4] AND indicL[5] AND indicL[6] AND indicL[7] AND indicL[8] AND NOT indicL[9] AND indicB AND indicB2 AND indicB3 AND indicB4 AND indicB5 AND indicB6 AND indicB7 AND indicB8 THEN
indicLHI=indic
ELSE
indicLHI=0
ENDIF
IF indicH[1] AND NOT indicH AND NOT indicH[2] THEN
indicHA5=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND NOT indicH[3] AND indicA[1] THEN
indicHA5=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[1] AND indicH[2] AND NOT indicH[3] AND NOT indicA[1] THEN
indicHA5=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND NOT indicH[4] AND indicA2[1] THEN
indicHA5=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND NOT indicH[4] AND indic1A2[1] THEN
indicHA5=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND NOT indicH[4] AND indic2A2[1] THEN
indicHA5=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND NOT indicH[5] AND indicA3[1] THEN
indicHA5=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND NOT indicH[5] AND indic1A3[1] THEN
indicHA5=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND NOT indicH[5] AND indic2A3[1] THEN
indicHA5=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND NOT indicH[5] AND indic3A3[1] THEN
indicHA5=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND NOT indicH[6] AND indicA4[1] THEN
indicHA5=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND NOT indicH[6] AND indic1A4[1] THEN
indicHA5=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND NOT indicH[6] AND indic2A4[1] THEN
indicHA5=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND NOT indicH[6] AND indic3A4[1] THEN
indicHA5=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND NOT indicH[6] AND indic4A4[1] THEN
indicHA5=indic[5]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indicA5[1] THEN
indicHA5=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indic1A5[1] THEN
indicHA5=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indic2A5[1] THEN
indicHA5=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indic3A5[1] THEN
indicHA5=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indic4A5[1] THEN
indicHA5=indic[5]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indic5A5[1] THEN
indicHA5=indic[6]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indicA6[1] THEN
indicHA5=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic1A6[1] THEN
indicHA5=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic2A6[1] THEN
indicHA5=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic3A6[1] THEN
indicHA5=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic4A6[1] THEN
indicHA5=indic[5]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic5A6[1] THEN
indicHA5=indic[6]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic6A6[1] THEN
indicHA5=indic[7]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indicA7[1] THEN
indicHA5=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic1A7[1] THEN
indicHA5=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic2A7[1] THEN
indicHA5=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic3A7[1] THEN
indicHA5=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic4A7[1] THEN
indicHA5=indic[5]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic5A7[1] THEN
indicHA5=indic[6]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic6A7[1] THEN
indicHA5=indic[7]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic7A7[1] THEN
indicHA5=indic[8]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[89] AND NOT indicH[10] AND indicA8[1] THEN
indicHA5=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[89] AND NOT indicH[10] AND indic1A8[1] THEN
indicHA5=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[89] AND NOT indicH[10] AND indic2A8[1] THEN
indicHA5=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[89] AND NOT indicH[10] AND indic3A8[1] THEN
indicHA5=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[89] AND NOT indicH[10] AND indic4A8[1] THEN
indicHA5=indic[5]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[89] AND NOT indicH[10] AND indic5A8[1] THEN
indicHA5=indic[6]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[89] AND NOT indicH[10] AND indic6A8[1] THEN
indicHA5=indic[7]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[89] AND NOT indicH[10] AND indic7A8[1] THEN
indicHA5=indic[8]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[9] AND NOT indicH[10] AND indic8A8[1] THEN
indicHA5=indic[9]
ELSE
indicHA5=indicHA5[1]
ENDIF
IF indicH[1] AND NOT indicH AND NOT indicH[2] THEN
indicHA6=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND NOT indicH[3] AND indicA[1] THEN
indicHA6=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[1] AND indicH[2] AND NOT indicH[3] AND NOT indicA[1] THEN
indicHA6=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND NOT indicH[4] AND indicA2[1] THEN
indicHA6=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND NOT indicH[4] AND indic1A2[1] THEN
indicHA6=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND NOT indicH[4] AND indic2A2[1] THEN
indicHA6=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND NOT indicH[5] AND indicA3[1] THEN
indicHA6=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND NOT indicH[5] AND indic1A3[1] THEN
indicHA6=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND NOT indicH[5] AND indic2A3[1] THEN
indicHA6=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND NOT indicH[5] AND indic3A3[1] THEN
indicHA6=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND NOT indicH[6] AND indicA4[1] THEN
indicHA6=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND NOT indicH[6] AND indic1A4[1] THEN
indicHA6=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND NOT indicH[6] AND indic2A4[1] THEN
indicHA6=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND NOT indicH[6] AND indic3A4[1] THEN
indicHA6=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND NOT indicH[6] AND indic4A4[1] THEN
indicHA6=indic[5]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indicA5[1] THEN
indicHA6=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indic1A5[1] THEN
indicHA6=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indic2A5[1] THEN
indicHA6=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indic3A5[1] THEN
indicHA6=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indic4A5[1] THEN
indicHA6=indic[5]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indic5A5[1] THEN
indicHA6=indic[6]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indicA6[1] THEN
indicHA6=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic1A6[1] THEN
indicHA6=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic2A6[1] THEN
indicHA6=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic3A6[1] THEN
indicHA6=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic4A6[1] THEN
indicHA6=indic[5]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic5A6[1] THEN
indicHA6=indic[6]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indic6A6[1] THEN
indicHA6=indic[7]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indicA7[1] THEN
indicHA6=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic1A7[1] THEN
indicHA6=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic2A7[1] THEN
indicHA6=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic3A7[1] THEN
indicHA6=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic4A7[1] THEN
indicHA6=indic[5]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic5A7[1] THEN
indicHA6=indic[6]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic6A7[1] THEN
indicHA6=indic[7]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indic7A7[1] THEN
indicHA6=indic[8]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[9] AND NOT indicH[10] AND indicA8[1] THEN
indicHA6=indic[1]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[9] AND NOT indicH[10] AND indic1A8[1] THEN
indicHA6=indic[2]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[9] AND NOT indicH[10] AND indic2A8[1] THEN
indicHA6=indic[3]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[9] AND NOT indicH[10] AND indic3A8[1] THEN
indicHA6=indic[4]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[9] AND NOT indicH[10] AND indic4A8[1] THEN
indicHA6=indic[5]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[9] AND NOT indicH[10] AND indic5A8[1] THEN
indicHA6=indic[6]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[9] AND NOT indicH[10] AND indic6A8[1] THEN
indicHA6=indic[7]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[9] AND NOT indicH[10] AND indic7A8[1] THEN
indicHA6=indic[8]
ELSIF indicH[1] AND NOT indicH AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND indicH[9] AND NOT indicH[10] AND indic8A8[1] THEN
indicHA6=indic[9]
ELSE
indicHA6=0
ENDIF
IF indicH AND NOT indicH[1] THEN
indicHHA=indic
ELSE
indicHHA=0
ENDIF
IF indicH AND indicH[1] AND NOT indicH[2] AND indicA THEN
indicHHB=indic
ELSE
indicHHB=0
ENDIF
IF indicH AND indicH[1] AND indicH[2] AND NOT indicH[3] AND indicA AND indicA2 THEN
indicHHC=indic
ELSE
indicHHC=0
ENDIF
IF indicH AND indicH[1] AND indicH[2] AND indicH[3] AND NOT indicH[4] AND indicA AND indicA2 AND indicA3 THEN
indicHHD=indic
ELSE
indicHHD=0
ENDIF
IF indicH AND indicH[1] AND indicH[2] AND indicH[3] AND indicH[4] AND NOT indicH[5] AND indicA AND indicA2 AND indicA3 AND indicA4 THEN
indicHHE=indic
ELSE
indicHHE=0
ENDIF
IF indicH AND indicH[1] AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND NOT indicH[6] AND indicA AND indicA2 AND indicA3 AND indicA4 AND indicA5 THEN
indicHHF=indic
ELSE
indicHHF=0
ENDIF
IF indicH AND indicH[1] AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND NOT indicH[7] AND indicA AND indicA2 AND indicA3 AND indicA4 AND indicA5 AND indicA6 THEN
indicHHG=indic
ELSE
indicHHG=0
ENDIF
IF indicH AND indicH[1] AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND NOT indicH[8] AND indicA AND indicA2 AND indicA3 AND indicA4 AND indicA5 AND indicA6 AND indicA7 THEN
indicHHH=indic
ELSE
indicHHH=0
ENDIF
IF indicH AND indicH[1] AND indicH[2] AND indicH[3] AND indicH[4] AND indicH[5] AND indicH[6] AND indicH[7] AND indicH[8] AND NOT indicH[9] AND indicA AND indicA2 AND indicA3 AND indicA4 AND indicA5 AND indicA6 AND indicA7 AND indicA8 THEN
indicHHI=indic
ELSE
indicHHI=0
ENDIF
Return indicLA5 as "indiclA5", indicLA6 , indicLHA COLOURED as "indicLH1", indicLHB COLOURED as "indicLH2", indicLHC COLOURED as "indicLH3", indicLHD COLOURED as "indicLH4", indicLHE COLOURED as "indicLH5", indicLHF COLOURED as "indicLH6", indicLHG COLOURED as "indicLH7", indicLHH COLOURED as "indicLH8", indicLHI COLOURED as "indicLH9", indicHA5 as "indicHA5", indicHA6 , indicHHA COLOURED as "indicHH1", indicHHB COLOURED as "indicHH2", indicHHC COLOURED as "indicHH3", indicHHD COLOURED as "indicHH4", indicHHE COLOURED as "indicHH5", indicHHF COLOURED as "indicHH6", indicHHG COLOURED as "indicHH7", indicHHH COLOURED as "indicHH8", indicHHI COLOURED as "indicHH9", indic as "indic", 50 coloured(0,0,0) as "end",-50 coloured(0,0,0)as "end"
S'il y a des moyens d'optimiser le code pour une meilleur vitesse de calcul, je prends!