通达信比翼双飞副图指标源码

 2023-09-02 10:58:13    通达信指标网  

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;   

  •  标签:  

原文链接:https://www.tdxzb.com/?id=1562

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服