ZKK:="kd.K#WEEK"(9,3,3);
ZKD:="KD.D#WEEK"(9,3,3);
KCD:=FILTER(crOSS(ZKK,ZKD) AND REF(ZKD,1)<30,13);
XG1:=KCD;
DIFW:="macd.DIF#WEEK"(12,26,9);
DEAW:="MacD.DEA#WEEK"(12,26,9);
FCA:=FILTER(CROSS(DIFW,DEAW) AND REF(DEAW,1)<0,13);
XG2:=FCA;
全仓:XG1 AND XG2;