周红:IF(周MACD 0,BARSLAST(CROSS(周MACD,0)),DRAWNULL)+1,COLORYELLOW,NODRAW;
DRAWTEXT(周红=1,0.2,'周金'),COLORYELLOW,DRAWABOVE;
STICKLINE(周红,-0.7,-0.6,1,0),COLORYELLOW;
周K:= KDJ.K#WEEK
周D:= KDJ.D#WEEK
DRAWTEXT(CROSS(周K,周D),0,'KDJ周'),COLORYELLOW;
DRAWTEXT(周红=1,0.2,'周金'),COLORYELLOW,DRAWABOVE;
STICKLINE(周红,-0.7,-0.6,1,0),COLORYELLOW;
周K:= KDJ.K#WEEK
周D:= KDJ.D#WEEK
DRAWTEXT(CROSS(周K,周D),0,'KDJ周'),COLORYELLOW;