当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:KDJ抄底逃顶(同花顺公式 副图 源码 测试图)
软件名称:[B]KDJ抄底逃顶(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2022-12-28 00:05:22
软件简介:
KDJ抄底逃顶
个人独创指标,感觉挺好用的,低位发出信号时买入,高位发出信号时卖出,同时可以通过该指标判断该股的相对位置。
N:=5;
C0:=(H+L+C)/3;
a1:=HHV(C0,n);
a2:=LLV(C0,n);
a3:=a1-a2;
a4:=EMA((C0-a2)/a3,2)*100;
b1:=HHV(C0,4*n);
b2:=LLV(C0,4*n);
b3:=b1-b2;
b4:=EMA((C0-b2)/b3,2)*100;
短期:a4,colorlired,linethick2;
中期:b4,colorgreen,LINETHICK2;
LOWV:=LLV(LOW,9);//KDJ抄底逃顶
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:EMA(RSV,3);
D:MA(K,3);
STICKLINE(K>D , K,D ,2.5,0),colorred,LINETHICK2;
STICKLINE(D>K,K,D,2.5,0),colorgreen,LINETHICK2;
逃:90,colorgreen;
中: 50,colorred;
底:12,coloryellow;
DRAWICON(CROSS(K,D) AND K<=50,12,11),colorred;
DRAWICON(CROSS(D,K) AND K>=80,88,4),colorgreen;
A1:=BARSLAST(REF(CROSS(K,D),1));
底背离:REF(CLOSE,A1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);
DRAWLINE(A1=0,D,底背离,D,0),colorred,LINETHICK1;
A2:=BARSLAST(REF(CROSS(D,K),1));
顶背离:REF(CLOSE,A2+1)<CLOSE AND REF(D,A2+1)>D AND CROSS(D,K);
DRAWLINE(A2=0,D,顶背离,D,0),colorgreen,LINETHICK1;
DRAWTEXT(底背离>0,D-5,'加仓'),colorred;
DRAWTEXT(顶背离>0,D-5,'减仓'),colorgreen;
DRAWTEXT(CROSS(K,D) AND (D < 8),30,'买'),colorred;
STICKLINE(CROSS(K,D) AND (D < 8)=1,3,20,8,0),colorred;
DRAWTEXT(CROSS(D,K) AND (D > 85),70,'卖'),colorgreen;
STICKLINE(CROSS(D,K) AND (D > 85)=1,85,70,8,0),colorgreen;
//C1:=HHV(C0,16*n);C2:=LLV(C0,16*n);C3:=C1-C2;
//C4:=EMA((C0-C2)/C3,2)*100;
//长期:C4,colorcyan,linethick1;
//底部区:27,coloryellow;
//注:=b4>REF(b4,1);
//注意:=IF(注,12,0);
//关:=(CROSS(注意,5)) AND 短期<73 AND D<60;
//关注:IF(关,32,0),LINETHICK1,coloryellow;
[url=http://www.70822.com/soft/sort013/sort036/down-165610.html]KDJ抄底逃顶(同花顺公式 副图 源码 测试图)[/url]