比翼双飞副图-精品通达信指标公式源码分享

通达信免费指标 12-27 阅读:12 评论:0

image.png

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;  


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服