VAR1:=EMA(CLOSE,6)-EMA(CLOSE,13);
VAR2:=EMA(VAR1,4);
VAR4:=crOSS(VAR1,VAR2);
VAR5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR6:=SMA(VAR5,3,1);
VAR7:=SMA(VAR6,3,1);
VAR9:=CROSS(VAR6,VAR7);
VAR10:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30))/4;
VAR11:=CROSS(CLOSE,VAR10);
VAR12:=6;
VAR13:=REF(CLOSE,1);
VAR14:=Abs(HIGH-VAR13);
VAR15:=ABS(LOW-VAR13);
VAR16:=ABS(HIGH-REF(LOW,1));
VAR17:=ABS(VAR13-REF(OPEN,1));
VAR18:=IF(VAR14>VAR15 AND VAR14>VAR16,VAR14+VAR15/2+VAR17/4,IF(VAR15>VAR16 AND VAR15>VAR14,VAR15+VAR14/2+VAR17/4,VAR16+VAR17/4));
VAR19:=CLOSE-VAR13+(CLOSE-OPEN)/2+VAR13-REF(OPEN,1);
VAR20:=16*VAR19/VAR18*MAX(VAR14,VAR15);
VAR21:=SUM(VAR20,0);
VAR22:=VAR12;
VAR23:=CROSS(VAR21,VAR22);
VAR24:=CLOSE-REF(CLOSE,12);
VAR25:=CROSS(VAR24,0);
VAR26:=VAR4+VAR9+VAR11+VAR23+VAR25=3;
VAR27:=VAR4+VAR9+VAR11+VAR23+VAR25=4;
VAR28:=VAR4+VAR9+VAR11+VAR23+VAR25=5;
VAR29:=C>MA(C,20) AND MA(C,20)>REF(MA(C,20),1);
XG:VAR26 OR VAR27 OR VAR28 AND VAR29,LINETHICK2 ,COLORYELLOW;