软件名称:[B]KDJ背离[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2017-07-30 01:29:05
软件简介:
N:=9;M1:=3;M2:=3;
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,colorred;
安全区:20,colorcyan;
风险区:100,colorgreen;
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,' 底背离'),coloryellow;
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),colorwhite,LINETHICK2;
DRAWLINE(顶背离,D,顶背离,REF(D,A2),0),colorwhite,LINETHICK2;
DRAWTEXT(顶背离,REF(D,A2)*1.02,' 顶背离'),colorgreen;
TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TR1,13);//www.70822.com
VAR1:=REF(CLOSE,1)-REF(ATR,1);
LSX:HHV(VAR1,13),LINETHICK1,colorliblue;
LSX1:IF(C>=LSX,LSX,DRAWNULL),colormagenta,LINETHICK2;
STICKLINE(C>=LSX,O,C,2.5,1),colorred;
STICKLINE(C>=LSX AND C>=O,C,H,0,1),colorred;
STICKLINE(C>=LSX AND C>=O,O,L,0,1),colorred;
STICKLINE(C>=LSX AND C<O,O,H,0,1),colorred;
STICKLINE(C>=LSX AND C<O,C,L,0,1),colorred;
STICKLINE(C<LSX,O,C,2.5,1),colorgreen;
STICKLINE(C<LSX AND C>O,C,H,0,1),colorgreen;
STICKLINE(C<LSX AND C>O,O,L,0,1),colorgreen;
STICKLINE(C<LSX AND C<O,O,H,0,1),colorgreen;
STICKLINE(C<LSX AND C<O,C,L,0,1),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-114462.html]KDJ背离[/url]