{在日线下的周KDJ及金叉判别}
K:KDJ.K#WEEK,COLORYELLOW;
D:KDJ.D#WEEK,COLORRED;
JC1:= CROSS(K,D);
A:=BARSLAST(WEEKOFYEAR<>REF(WEEKOFYEAR,1))+1;
K1:REF(K,A),NODRAW;
D1:REF(D,A),NODRAW;
JC2:=K1<D1 AND K>D;
JC3:=KDJC.JC#WEEK;
DRAWICON(JC1,K*1.20,1);
DRAWICON(JC2,K*1.50,36);
DRAWICON(JC3,K*1.80,38);
{被调用的公式}
{KDJC}
{JC:CROSS(KDJ.K,KDJ.D);};