X_1:=IF(CLOSE>REF(CLOSE,1),1,0);
X_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND X_1=1,1,0);
X_3:=IF(NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3),0,1);
X_4:=IF(DYNAINFO(17)>0,1,0);
X_5:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
X_6:=8;
X_7:=X_5<=8;
X_8:=(2*CLOSE+HIGH+LOW+OPEN)/5;
X_9:=(X_8-MA(X_8,14))*100/(1.5*AVEDEV(X_8,14));
X_10:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
X_11:=X_9<(-100);
X_12:=X_10<25;
X_13:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
X_14:=X_13<(-9) AND X_13>REF(X_13,1);
X_15:=X_11 OR X_12 OR X_14;
X_16:=20*MAX(X_7,X_15)*DMA(EMA(CLOSE,60),SUM(VOL,60)/CAPITAL)/EXP(2*HIGH-LOW/3);
X_17:=DMA(EMA(CLOSE,60),SUM(VOL,60)/CAPITAL)*POW(IF(CLOSE>60,100,10),6)/EXP(2*HIGH-LOW/3)/2;
X_18:=IF(LV=3,X_17,0);
XUANGU:X_2=1 AND X_3=1 AND X_4=1 AND X_16=0 AND X_18=0 AND DYNAINFO(14)*100<=GROW;