当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是通达信周日KDJ同图副图指标源码(无源码的请下载附件导入)
通达信周日KDJ同图副图指标源码
C/C++ 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;
- STICKLINE(C>0,5,-4,4,0),COLOR6CAAFD;
- STICKLINE(C>0,118,125,4,0),COLOR6CAAFD;
- STICKLINE(C>0,128,135,4,0),COLOR6CAAFD;
- STICKLINE(C>0,138,145,4,0),COLOR6CAAFD;
- STICKLINE(K>D,7,60,4,0),COLORFF1493;
- 日KD金叉: K>=D POINTDOT;
- 日K拐点:K>=REF(K,1) POINTDOT;
- STICKLINE(K>=REF(K,1) ,5,-4,4,0),COLORFF0000;
- 周K:MA("KDJ.K#WEEK"(9,3,3) ,5),COLOR00FFFF,LINETHICK0;
- 周D:MA("KDJ.D#WEEK"(9,3,3) ,5);
- STICKLINE(周K>周D,116,61,4,0),COLOR660066;
- DRAWBAND(周K,RGB(150,0,150),周D,RGB(0,150,150));
- DRAWBAND(K,RGB(240,0,0),D,RGB(0,200,240));
- 周KD金叉:周K>= 周D POINTDOT;
- 周K拐点:周K>=REF(周K,1) POINTDOT;
- 周J:MA("KDJ.J#WEEK"(9,3,3) ,5),COLOR0000FF;
- STICKLINE(周J>=REF(周J,1),138,145,4,0),COLORFF0000;
- STICKLINE(周K>=REF(周K,1),128,135,4,0),COLOR0000FF;
- STICKLINE(周K>=周D,118,125,4,0),COLORRED;
- DRAWTEXT(CURRBARSCOUNT=15,125,'周KD叉'),COLORFFFFFF;
- DRAWTEXT(CURRBARSCOUNT=15,145,'周J拐点'),COLORFFFFFF;
- DRAWTEXT(CURRBARSCOUNT=15,135,'周K拐点'),COLORFFFFFF;
- DRAWTEXT(CURRBARSCOUNT=15,4,'日KD拐点'),COLORFFFFFF;
{公式在线提供:www.gszx.com.cn}
上一篇:通达信领涨操盘线副图源码 下一篇:通达信买入点通达信副图源码