VAR1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3:=(SMA(VAR2,3,1)-18)*1.55;
VAR4:=SMA(VAR3,3,1);
VAR5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
VAR6:=SMA(VAR5,10,1);
VAR7:=(EMA(SMA(VAR6,8,1),34)-25)*2.6;
VAR8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VAR9:=POW(MA(LOW,5),2)+MA(LOW,5);
VAR10:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VAR11:=((VAR8-LLV(VAR9,64))/(HHV(VAR10,64)-LLV(VAR9,64))*150+65-10)/2;
VAR12:=SMA(VAR11,3,1)*1.5-46;
VAR13:=SMA(VAR12,3,1);
VAR14:=3*VAR12-2*VAR13;
VAR15:=(VAR1+VAR2+VAR5)/3;
VAR16:=((VAR3+VAR3+VAR6+VAR12)/4-15)*1.67;
VAR17:=((VAR4+VAR4+VAR7+VAR13)/4-15)*1.67;
VAR18:=((VAR1+VAR5*2+VAR15+VAR16+VAR17+VAR11+VAR12+VAR13+VAR14)/10-15)*1.67;
VAR19:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
VAR20:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
VAR21:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
VAR22:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
VAR23:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
VAR24:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
VAR25:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
VAR26:=((VAR19*8+VAR20*8+VAR21*8+VAR22+VAR23+VAR24+VAR25)/28-0.1)*185;
VAR27:=SMA(VAR26,3,1);
VAR28:=(SMA(VAR27,8,1)-8)*1.18;
VAR32:=(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/13;
VAR35:=(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/34;
XG:crOSS(VAR32,VAR35);