X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,13);
X_3:=MA(CLOSE,34);
X_4:=BARSLAST(crOSS(X_1,X_2));
X_5:=BARSLAST(CROSS(X_1,X_3));
X_6:=BARSLAST(CROSS(X_2,X_3));
X_7:=X_4>=X_5 AND X_5>X_6 AND X_4-X_6<20;
X_8:=COUNT(CROSS(X_1,X_2),X_4+1)=1 AND COUNT(CROSS(X_1,X_3),X_4+1)=1 AND CROSS(X_2,X_3) AND X_1>X_2 AND X_2>X_3;
X_9:=X_1>REF(X_1,1) AND X_2>REF(X_2,1) AND X_3<REF(X_3,1);
X_10:=X_1>REF(X_1,1) AND X_2>REF(X_2,1) AND X_3>REF(X_3,1);
X_11:=CLOSE-REF(CLOSE,1);
X_12:=100*EMA(EMA(X_11,6),6)/EMA(EMA(Abs(X_11),6),6);
X_13:=CLOSE<X_1 AND X_1<X_2 AND X_2<X_3;
X_14:=EMA(CLOSE,10)-EMA(CLOSE,20);
X_15:=EMA(X_14,7);
X_16:=2*(X_14-X_15);
X_17:=REF(X_16,1)<REF(X_16,2) AND REF(X_16,2)<REF(X_16,3) AND REF(X_16,3)<REF(X_16,4);
X_18:=X_16>=0 AND COUNT(X_16>REF(X_16,1),1)=1;
X_19:=X_17 AND X_18 AND EMA(CLOSE,13)>REF(EMA(CLOSE,13),1);
X_20:=X_17 AND X_18 AND ABS((X_14-X_15)/CLOSE)<0.018;
X_21:=X_17 AND X_18 AND X_16<0.1;
X_22:=X_19 OR X_20 OR X_21;
X_23:=(2*CLOSE+HIGH+LOW)/4;
X_24:=LLV(LOW,5);
X_25:=HHV(HIGH,4);
X_26:=EMA((X_23-X_24)/(X_25-X_24)*100,4);
X_27:=EMA(0.667*REF(X_26,1)+0.333*X_26,2);
X_28:=EMA(CLOSE,3);
X_29:=EMA(SLOPE(CLOSE,34)*5+CLOSE,21);
短线买点:=CROSS(X_28,X_29),COLORRED;
最后卖点:=CROSS(X_29,X_28),COLORGREEN;
短线区间:=COUNT(短线买点,BARSLAST(短线买点)+1)=1 AND COUNT(最后卖点,BARSLAST(短线买点)+1)=0,COLORRED;
强加仓:X_7 AND X_8 AND X_10 AND 短线区间 AND BARSLAST(短线买点)>0,COLORYELLOW;