大阴线:=REF(C,1)/C>1.04;
大阳:=C>=REF(H,1) OR C/REF(C,1)>1.095;
反包阴线:=REF(大阴线,1) AND 大阳;
X_1:=MA(CLOSE,5);
X_2:=IF(X_1>REF(X_1,1),X_1,0);
X_3:=IF(CLOSE >REF(CLOSE,1),88,0);
X_4:=IF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH/CLOSE<1.035 AND X_3>0,91,0);
X_5:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(vol,5),0.3*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_6:=FILTER(X_4>90,30)=1;
X_7:=FILTER(X_5,60);
X_8:=X_2 AND X_7 AND X_6;
X_10:=X_5 AND COUNT(X_5,9)=1;
X_11:=(CLOSE-EMA(CLOSE,5))/EMA(CLOSE,5)*100;
X_12:=EMA(EMA(EMA(CLOSE,50),50),50)*1.1;
X_13:=EMA(EMA(EMA(CLOSE,10),10),10)*1.09;
X_14:=crOSS(X_11,5) AND CROSS(CLOSE,X_12) AND CROSS(CLOSE,X_13);
X_15:=IF(CLOSE>REF(CLOSE,1),88,0);
X_16:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND X_15>0,91,0);
X_18:=FILTER(X_16>90,35);
X_19:=MA(CLOSE,10);
X_20:=MA(CLOSE,54);
X_21:=(CLOSE-X_20)/X_20<0.1;
X_22:=(CLOSE-X_19)/X_19<0.3;
X_23:=(X_21=1 AND X_22=1)*0.2;
X_24:=(X_23=0 AND REF(X_23,1)=0.2 AND REF(COUNT(X_23=0.2,10)=10,1)=1)*(-0.1);
X_25:=X_24=(-0.1);
TJ2:=X_14 OR X_25 OR X_18 OR X_8 OR X_10;
XG:TJ2 AND 反包阴线;