软件名称:[B]背離KDJ[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2016-05-21 01:17:58
软件简介:
使用说明:平滑移动平均线,随机指标。
K、D,0-100值。
80轴超买区,20轴超卖区。
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),coloryellow,LINETHICK1;
D:SMA(K,M2,1),colorcyan,LINETHICK1;
J:3*K-2*D,colormagenta,LINETHICK1;
安全区:0,colorlimagenta;
超卖区:20,colorcyan;
风险区:100,colorgreen;
超买区:80,colorblue;
U1:=BARSLAST(REF(CROSS(K,D),1));
U2:=REF(C,U1+1)>C AND REF(K,U1+1)<K AND CROSS(K,D)AND d<50;
底背离:=IF(U2>0,1,0);
DRAWLINE(U1=0,D,底背离,REF(D,U1),0),colorred,LINETHICK2;
DRAWLINE(底背离,D,底背离,REF(D,U1),0),colorred,LINETHICK2;
DRAWTEXT(底背离,REF(D,U1)*1.00,' 底背离'),COLORFF00FF;
rr:=MAX(C,O);
q1:=HHV(rr,5);
q2:=d<REF(d,1) AND REF(d,1)>REF(d,2);
A2:=BARSLAST(REF(q2,1));
顶背离:= REF(q1,A2+1)<q1 AND k<REF(k,A2+1) AND q2;
DRAWLINE(A2=0 ,D,顶背离,REF(D,A2),0),colorgreen,LINETHICK2;
DRAWLINE(顶背离,D,顶背离,REF(D,A2),0),colorgreen,LINETHICK2;
DRAWTEXT(顶背离,REF(D,A2)*1.04,' 顶背离'),COLORFFFF00;
DRAWICON(CROSS(K,D),D,"buy");
DRAWICON(CROSS(D,K),D,"sell");
DJ:=CROSS(J,D) AND D>0;
DRAWTEXT(DJ,J-10,'▲金叉'),colorred;
DRAWTEXT(CROSS(D,J),J+15,'▼死叉'),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-98400.html]背離KDJ[/url]