:=OSS(.K#MONTH,J.D#MONTH),COLORLIMAGENTA;月:=CROSS(KDJ.D#MONTH,KDJ.K#MONTH),COLORGREEN;STICKLINE(月,0,1,0,0),COLORLIMAGENTA;STICKLINE(月死叉,0,1,0,0),COLORGREEN;DRAWTEXT(月金叉,0.85,' 月金叉'),COLORLIMAGENTA;DRAWTEXT(月死叉,0.85,' 月死叉'),COLORGREEN;:=CROSS(KDJ.K#WEEK,KDJ.D#WEEK),COLORLIMAGENTA;周死叉:=CROSS(KDJ.D#WEEK,KDJ.K#WEEK),COLORGREEN;STICKLINE(周金叉,0,0.5,0,0),COLORLIMAGENTA;STICKLINE(周死叉,0,0.5,0,0),COLORGREEN;DRAWTEXT(周金叉,0.5,' 周金叉'),COLORLIMAGENTA;DRAWTEXT(周死叉,0.5,' 周死叉'),COLORGREEN;{公式:日金叉:=CROSS(KDJ.K,KD