{1.MA5趋势 三鼓齐鸣}
MA5:=MA(C,5);
MA8:=MA(C,8);
MMA:=EXIST(CROSS(MA5,MA8),5);
{2.MACD-12.26}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
MAC5:=EXIST(CROSS(DIFF,DEA),5) ;
{3.KDJ-9.3.3}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
JJ5:=EXIST(CROSS(J,D),5);
选股:MMA AND MAC5 AND JJ5 AND DYNAINFO(7)>0 AND (C/REF(C,1)-1)*100>2 AND (C/REF(C,1)-1)*100<5 ;