X_1:=13;
X_2:=1500000;
X_3:=X_1+X_2;
X_4:=1;
X_5:=REF(CLOSE,1);
X_6:=EMA(HHV(HIGH,1),8);
X_7:=EMA(CLOSE,8);
X_8:=X_7<REF(X_7,1) AND CLOSE<X_7;
X_9:=IF(X_6<REF(X_6,1) OR X_8,1,0);
X_10:=SMA(MAX(CLOSE-X_5,0),2,1)/SMA(Abs(CLOSE-X_5),2,1)*100;
X_11:=45;
X_12:=20;
X_13:=X_10<X_11 AND REF(X_10,1)>X_11 AND MACD.dif!=0;
X_14:=X_10<X_12 AND REF(X_10,1)>X_12*X_4;
龙头战法:(COUNT(X_9=1,4)=3 AND X_9=0 AND OPEN<CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.089)*10>=10 OR ((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.089 AND (REF(X_14,1) OR REF(X_13,1))) AND X_4=1;