X_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_2:=(REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,2)*100;
X_3:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3)*100;
X_4:=vol/REF(VOL,1);
X_5:=VOL/REF(MA(VOL,5),1);
X_6:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,30);
X_7:=MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1) AND MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND MA(CLOSE,120)>REF(MA(CLOSE,120),1);
X_8:=MAX(MAX(MAX(MAX(MAX(EMA(CLOSE,5),EMA(CLOSE,10)),EMA(CLOSE,20)),EMA(CLOSE,30)),EMA(CLOSE,60)),EMA(CLOSE,120));
X_9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_10:=SMA(X_9,3,1);
X_11:=SMA(X_10,3,1);
X_12:=3*X_10-2*X_11;
X_13:=CLOSE*VOL;
X_14:=EMA((EMA(X_13,3)/EMA(VOL,3)+EMA(X_13,6)/EMA(VOL,6)+EMA(X_13,12)/EMA(VOL,12)+EMA(X_13,24)/EMA(VOL,24))/4,13);
X_15:=EMA(CLOSE,9);
X_16:=1.06*X_14;
X_17:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
X_18:=EMA(X_17,3);
X_19:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*1000;
X_20:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*1000;
X_21:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*1000;
X_22:=(X_19+X_20+X_21)/3;
X_23:=CLOSE>OPEN AND X_6 AND EVERY(CLOSE>OPEN,2) AND EVERY(CLOSE>REF(CLOSE,1),2) AND EVERY(CLOSE>MA(CLOSE,5),2) AND crOSS(X_22,79) AND CROSS(CLOSE,X_16) AND X_7 AND CLOSE=HHV(CLOSE,120) AND HIGH=HHV(HIGH,120);
XG:REF(X_23,0);