请高手给做个KDJ底背离提示公式(同花顺)
答案:2 悬赏:50 手机版
解决时间 2021-02-13 17:21
- 提问者网友:你独家记忆
- 2021-02-13 08:53
请高手给做个 个股KDJ底背离提示公式(同花顺) 谢谢!
最佳答案
- 五星知识达人网友:猎心人
- 2021-02-13 09:39
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;
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;
全部回答
- 1楼网友:旧脸谱
- 2021-02-13 10:53
rsv1:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv1,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
a1:=barslast(ref(cross(j,k),1));
底背离:ref(c,a1+1)>c and j>ref(j,a1+1) and cross(j,k);
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯