月K:="KDJ.K#MONTH",COLORmaGENTA;
月D:="KDJ.D#MONTH",COLOR0080FF;
周K:="KDJ.K#WEEK",COLORWHITE;
周D:="KDJ.D#WEEK",COLORWHITE;
周金叉:=crOSS(周K,周D)AND MacD.DEA<0 AND macd.DEA>MACD.dif,COLORCYAN,LINETHICK0;
DRAWICON(周金叉,L-0.02,9);
月金叉:=CROSS(月K,月D),COLORCYAN,LINETHICK0;
DRAWICON(月金叉,L-0.01,30);
STICKLINE(周金叉,C,O,3,0),COLORBLUE;
STICKLINE(周金叉,C,O,1,0),COLORLIMAGENTA;
STICKLINE(C,REF(H,BArslAST(周金叉)),REF(H,BARSLAST(周金叉)),6,0),COLORBLUE;
STICKLINE(C,REF(L,BARSLAST(周金叉)),REF(L,BARSLAST(周金叉)),6,-1),COLORRED;
假阴:=C<O AND C>REF(C,1);
STICKLINE(假阴,O,C,0.5,0),COLORWHITE;{假阴柱};
假阳:=C>O AND C<REF(C,1);
STICKLINE(假阳,O,C,0.5,0),COLORCYAN;{假阳柱};