{指标介绍:出信号后沿5日线上涨持股,破5线减仓,信号日当天冲高回落不进,信号日第二天破20日线斩仓。}
TJ:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1) AND IF(CODELIKE('688'),0,1)AND CAPITAL/1000000<80 AND C>O AND COUNT(MA(C,20)<REF(MA(C,20),1),15)<10;
M5:=MA(C,5);
M13:=MA(C,13);
M30:=MA(C,30);
M60:=MA(C,60);
A:=crOSS(C,M13)AND CROSS(C,M30)AND CROSS(C,M60) AND MA(V,10)>=REF(MA(V,10),1) AND M13>=REF(M13,1)AND REF(H>M5,1)AND REF(C/REF(C,1)>0.977,1) AND C>REF(HHV(H,5),1);
XG:A AND TJ;