C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K:SMA(RSV,3,1);
- D:SMA(K,3,1);
- J:3*K-2*D;
- 周K:MA("KDJ.K"(9,3,3) ,5),POINTDOT,LINETHICK1,COLORWHITE;
- 周D:MA("KDJ.D"(9,3,3) ,5),POINTDOT,LINETHICK1,COLOR33FF99;
- 周J:MA("KDJ.J"(9,3,3) ,5),POINTDOT,LINETHICK1,COLOR00ff00;
- 周金▲:DRAWTEXT(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)) ,8,'▲'),COLORred;
- 周死▼:DRAWTEXT(CROSS("KDJ.d"(9,3,3),"KDJ.k"(9,3,3)) ,92,'▼'),COLORgreen;
- 月金▲:DRAWTEXT(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)) ,0,'▲'),COLOR00ff00;
- 月死▼:DRAWTEXT(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)) ,100,'▼'),COLORYELLOW;