N:=5;
涨幅:=(C/REF(C,1)-1)*100;
AFF:=MA(涨幅,15)<10&&EVERY(C>MA(C,120),15)&&涨幅>N;
ZK:=kdj.K#WEEK;
ZD:=kdJ.D#WEEK;
ZJ:=KDJ.J#WEEK;
XG1:=ZK>50 AND ZD>50 AND ZJ>50
AND KDJ.K>60 AND KDJ.D>60 AND KDJ.J>60
AND KDJ.K<90 AND KDJ.D<90 AND KDJ.J<90;
XG:AFF AND XG1;