XA_1:=FILTER(CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28);
XA_2:=IF(CLOSE>REF(CLOSE,1),88,0);
XA_3:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND XA_2>0,91,0);
XA_4:=FILTER(XA_3>90,45);
XA_5:=LLV(LOW,4)=LLV(LOW,10);
XA_6:=CLOSE/REF(CLOSE,1)>1.06 AND HIGH=CLOSE AND LOW<CLOSE;
XA_7:=CLOSE/LLV(LOW,4)<1.15 AND CLOSE/LLV(LOW,4)>1.05;
XA_8:=XA_6 AND (XA_7 OR XA_5);
XA_9:=LN(CLOSE/REF(CLOSE,1))/LN(1.1);
XA_10:=IF(XA_9>=1.2,0,ABS(XA_9*AMOUNT/10000)*5);
XA_11:=SMA(IF(XA_9>0,XA_10,0),5,1);
XA_12:=EMA(SMA(IF(XA_9<=0,XA_10,0),5,1),2);
XA_13:=SMA(XA_11,20,1)/SMA(XA_12,20,1);
XA_14:=IF(XA_13>=1,1,XA_13);
XA_15:=(XA_11*XA_14-XA_12)/10000;
XA_16:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
XA_17:=10;{股票指标网 整理}
XA_18:=EMA(CLOSE,9)-EMA(CLOSE,26);
XA_19:=EMA(XA_18,12);
XA_20:=CROSS(XA_16,XA_17) AND XA_15>0.5 AND XA_19>(-0.25) AND XA_19>REF(XA_19,1) AND XA_4 AND XA_8;
XA_21:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
XA_22:=REF(HIGH,BARSLAST(VOL=HHV(VOL,120)));
抓涨停主升:NOT(REF(XA_22,1)=XA_22) AND XA_21 AND XA_1 AND XA_4 AND XA_8 OR XA_20 AND NOT(DYNAINFO(4)=0);