N:=6;BU:=BAAST(CLOSE=HHV(CLOSE,N));SE:=BARSLAST(CLOSE=LLV(CLOSE,N));KK1:=SE;KK2:=BU;LM1:=SE;LM2:=BU;OK:=KK1>KK2 AND LM1>LM2;OK1:=KK1>KK2 AND LM1
KK1 AND LM2>LM1;NOK1:=KK2>KK1 AND LM2M2,M2,M1),LINETHICK2,colorFF00;M2,LINETHICK2,color1;X:=EMA(SLOPE(CLOSE,21)*20+CLOSE,68);Y:=EMA(CLOSE,10);LL:=REF(CLOSE,2);MM:=((MAX(CLOSE-LL,0),6,1))/(SMA(A(CLOSE-LL),6,1))*100;DB:=IF(MM[79,MM,0);
]