万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 通达信公式 > 通达信主副图指标 正文

通达信股林KD指标公式[万物公式]

admin 2024-05-19 14:56:11 通达信主副图指标 597 ℃

N:=9;

M1:=3;

M2:=3;

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

K:=SMA(RSV,M1,1);

D:=SMA(K,M2,1);

J:=3*K-2*D;

周K:="kd.K#WEEK"(9,3,3),COLORGREEN;

周D:="KD.D#WEEK"(9,3,3),COLORLICYAN;

月K:"KD.K#MONTH"(9,3,3),COLORMAGENTA;

月D:"KD.D#MONTH"(9,3,3),COLORLIRED;

STICKLINE(K>D AND 周K>周D AND 月K>月D,-20,120,1,0),COLOR663355;

DRAWBAND(月K,RGB(120,0,0),月D,RGB(0,0,200));

{DRAWBAND(周K,RGB(255,97,0),周D,RGB(0,128,0));}

RK:=REF(K,1)>80 AND REF(K,2)>80 AND REF(K,3)>80;

ZK:=REF(周K,1)>80 AND REF(周K,2)>80 AND REF(周K,3)>80;

YK:=REF(月K,1)>80 AND REF(月K,2)>80 AND REF(月K,3)>80;

RK1:=REF(K,1)<20 AND REF(K,2)<20 AND REF(K,3)<20;

ZK1:=REF(周K,1)<20 AND REF(周K,2)<20 AND REF(周K,3)<20;

YK1:=REF(月K,1)<20 AND REF(月K,2)<20 AND REF(月K,3)<20;

DRAWICON(RK,90,27);

DRAWICON(RK1,10,28);

DRAWICON(ZK,100,26);

DRAWICON(ZK1,0,29);

DRAWICON(YK,110,25);

DRAWICON(YK1,-10,30);

DRAWICON(RK AND ZK AND YK,120,9);

DRAWICON(RK1 AND ZK1 AND YK1,-20,13);

A1:=IF(K>D,1,0);

A2:=IF(周K>周D,2,0);

A3:=IF(月K>月D,3,0);

A4:=IF(K>D AND 周K>周D AND 月K>月D,4,0);

看多:A1+A2+A3+A4,COLORYELLOW POINTDOT;

看空:10-看多,COLORYELLOW POINTDOT;

bbi:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4;

EBBI:=(EMA(C,6)+EMA(C,18)+EMA(C,54)+EMA(C,162))/4;

FF1:=EMA(C,3)>EMA(C,7) AND EMA(C,7)>EMA(C,21) AND EMA(C,21)>EMA(C,54);

DIFF:=EMA(CLOSE,10)-EMA(CLOSE,22);

DEA:=EMA(DIFF,9);

强势:=IF(BBI>EBBI AND FF1 AND DIFF>DEA,10,0),COLORYELLOW;

STICKLINE(强势,10,0,1,0),COLORYELLOW;

{DRAWICON(crOSS(K1,D1) AND CROSS(J1,D1),10,1)};{1号图标显示红箭头};

STICKLINE(周K>周D,周K,周D,1,-1),COLORYELLOW;

STICKLINE(周K<周D,周K,周D,1,-1),COLORFF9900;

K1:SMA(RSV,M1,1),COLORWHITE;

D1:SMA(K,M2,1),COLORYELLOW;

J1:3*K-2*D,COLORMAGENTA;

DRAWICON(CROSS(J,2),J,1);

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群