X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,13);
X_3:=MA(CLOSE,34);
X_5:=BArslAST(crOSS(X_1,X_2));
X_6:=BARSLAST(CROSS(X_1,X_3));
X_7:=BARSLAST(CROSS(X_2,X_3));
X_8:=X_5>=X_6 AND X_6>X_7 AND X_5-X_7<20;
X_9:=COUNT(CROSS(X_1,X_2),X_5+1)=1 AND COUNT(CROSS(X_1,X_3),X_5+1)=1 AND CROSS(X_2,X_3) AND X_1>X_2 AND X_2>X_3;
X_10:=X_1>REF(X_1,1) AND X_2>REF(X_2,1) AND X_3<REF(X_3,1);
弱加仓:X_8 AND X_9 AND X_10;