当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:【股林KD】副图,关于KD指标日周月共振的指标 源码分享
软件名称:[B]【股林KD】副图,关于KD指标日周月共振的指标 源码分享[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2024-05-01 08:51:40
软件简介:
本指标是早期的编写的指标,是关于KD指标日、周、月共振的,有一定的参考作用。
很多个股主升浪时看多都是10分,这也是它没被删掉的原因。
指标源码分享:
{有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);
[url=http://www.70822.com/soft/sort013/sort05/down-173389.html]【股林KD】副图,关于KD指标日周月共振的指标 源码分享[/url]