我把周“KD”加上了“J”线,并把“金叉”和“死叉”分别用“时机”、“风险”加以提示,指标虽简单,但对照个股历史数据,感觉对操作很有指导意义。
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,'\n'+'\n'+USERNAME)align4,colorred;
周K:"KDJ.K#WEEK",COLORWHITE;
周D:"KDJ.D#WEEK",COLORYELLOW;
周J:3*周K-2*周D,colorred,linethick2;
周金叉:IF(CROSS(周K,周D),20,0),COLORYELLOW;
DRAWTEXT(周金叉,-5,'时机'),colorred;
周死叉:IF(CROSS(周D,周K),80,100),COLORRED;
DRAWTEXT(CROSS(周D,周K),110,'风险'), COLOReeFF00;
100,LINEDOT;
80,LINEDOT;
50,LINEDOT;
20,LINEDOT;
0,LINEDOT;
-15,LINEDOT;
202108211231.gif
|