当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是通达信比翼双飞副图指标源码(无源码的请下载附件导入)
通达信比翼双飞副图指标源码
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;
- DRAWBAND(K,RGB(240,0,0),D,RGB(240,0,240));
- 日KD金叉: K>=D POINTDOT;
- 日K拐点:K>=REF(K,1) POINTDOT;
- STICKLINE(K>=REF(K,1) ,112,125,2,1),COLORFF00FF;
- STICKLINE(K>=D ,5,-8,2,1),COLORRED;
- 周K:MA("KDJ.K#WEEK"(9,3,3) ,5),COLOR00FFFF,LINETHICK2;
- 周D:=MA("KDJ.D#WEEK"(9,3,3) ,5);
- 周J:=MA("KDJ.J#WEEK"(9,3,3) ,5);
- 周KD金叉:周K>= 周D POINTDOT;
- 周K拐点:周K>=REF(周K,1) POINTDOT;
- IF(周K>=REF(周K,1) ,140,128),COLOR00FFFF;
- DRAWICON(周K>=REF(周K,1),134,1);
- DRAWICON(周K<REF(周K,1),136,2);
- STICKLINE(C>0 ,-18,-10,4,0),COLOR6CAAFD;
- STICKLINE(周K>=周D,-18,-10,4,0),COLORRED;
- DRAWTEXT(CURRBARSCOUNT=115,124,'日K拐点'),COLORFFFFFF;
- DRAWTEXT(CURRBARSCOUNT=115,138,'周K拐点'),COLORFFFFFF;
- DRAWTEXT(CURRBARSCOUNT=115,4,'日KD叉'),COLORFFFFFF;
- DRAWTEXT(CURRBARSCOUNT=115,-10,'周KD叉'),COLORFFFFFF;
- DRAWTEXT(CURRBARSCOUNT=5,周K,'周K线'),COLORFFFFFF;
- DRAWTEXT(CURRBARSCOUNT=5,K,'日K线'),COLORFFFFFF;
{公式在线提供:www.gszx.com.cn}
上一篇:通达信天地买卖主图源码 下一篇:通达信黄金点-做波段用副图源码