VAR1:=(HIGH+LOW+CLOSE)/3;
VAR6:=(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14));
VAR3:=EMA(EMA(EMA(VAR6,2),2),2);
VAR4:=EMA(EMA(EMA(VAR6,3),2),2);
VAR5:=(crOSS(VAR3,VAR4) OR (VAR3>=VAR4)) AND VAR3>=-101 AND VAR3>=REF(VAR3,1)AND REF(VAR3,1)< -101;
VAR7:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
VAR8:=SMA(VAR7,3,1);
VAR9:=SMA(VAR8,3,1);
VAR10:=3*VAR8-2*VAR9;
VAR11:=EMA(EMA(EMA(VAR10,2),2),2);
VAR12:=VAR11>REF(VAR11,1);
XG:VAR5 AND VAR12;