比翼双飞(副图指标 源码)
{牛牛指标网提供:www.tdx001.com}
复制内容到剪贴板
- 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;
8272958594.png
|