{主升波段选股}
XA_1:=MA(CLOSE,5);
XA_2:=MA(CLOSE,10);
XA_3:=MA(CLOSE,20);
XA_4:=MA(CLOSE,60);
XA_5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
XA_6:=SMA(XA_5,3,1);
XA_7:=SMA(XA_6,3,1);
XA_8:=3*XA_6-2*XA_7;
XA_9:=CROSS(CLOSE,XA_1) AND CROSS(CLOSE,XA_2);
XA_10:=CROSS(CLOSE,XA_3) AND REF(CLOSE<OPEN OR CLOSE>OPEN,72);
XA_11:=XA_8>50 AND (HIGH-CLOSE)/CLOSE*100<0.5;
XA_12:=REF(VOL<=LLV(VOL,10),2);
XA_13:=CROSS(XA_8,XA_7) AND CROSS(XA_8,XA_6) AND REF(CLOSE<OPEN OR CLOSE>OPEN,39);
XA_14:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_15:=EMA(XA_14,9);
XA_16:=2*(XA_14-XA_15);
XA_17:=XA_16>0 AND CLOSE/REF(CLOSE,1)>1.05;
有可能接抓主升:XA_9 AND XA_10 AND CLOSE>OPEN AND XA_11 AND XA_17 AND XA_13,COLORYELLOW;
{主升波段选股}
XA_1:=MA(CLOSE,5);
XA_2:=MA(CLOSE,10);
XA_3:=MA(CLOSE,20);
XA_4:=MA(CLOSE,60);
XA_5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
XA_6:=SMA(XA_5,3,1);
XA_7:=SMA(XA_6,3,1);
XA_8:=3*XA_6-2*XA_7;
XA_9:=CROSS(CLOSE,XA_1) AND CROSS(CLOSE,XA_2);
XA_10:=CROSS(CLOSE,XA_3) AND REF(CLOSE<OPEN OR CLOSE>OPEN,72);
XA_11:=XA_8>50 AND (HIGH-CLOSE)/CLOSE*100<0.5;
XA_12:=REF(VOL<=LLV(VOL,10),2);
XA_13:=CROSS(XA_8,XA_7) AND CROSS(XA_8,XA_6) AND REF(CLOSE<OPEN OR CLOSE>OPEN,39);
XA_14:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_15:=EMA(XA_14,9);
XA_16:=2*(XA_14-XA_15);
XA_17:=XA_16>0 AND CLOSE/REF(CLOSE,1)>1.05;
有可能接抓主升:XA_9 AND XA_10 AND CLOSE>OPEN AND XA_11 AND XA_17 AND XA_13,COLORYELLOW;