AA:=REF(C,1);
AA1:= O>REF(C,1) ;
AA2:= C>=REF(C,1)*1.08;
AA3:= AA AND AA1 AND AA2;
BB:=(C-MA(C,30))/MA(C,30)*100;
BB1:=crOSS(0,(C-MA(C,5))/MA(C,5)*100);
BB2:=BB;
BB3:=MA(C,10)>REF(MA(C,10),1);
BB4:=BB1 AND BB2 AND BB3;
BB5:=FILTER(BB4,10);
BBB:=SMA(C,6.5,1);
B:=REF(BB5,2) AND CROSS(C,EMA(CLOSE,5)) AND C>REF(C,3) ;
B1:=BBB>REF(BBB,1) AND REF(BBB,1);
XG:AA3>0 OR B AND B1,COLORMAGENTA,LINETHICK2 ;