KD强弱指标
2016-2-13 12:52:21点击:
KDJ强弱指标
使用方法如下:
一、KDJ信号
1,双J线信号(属于短线灵敏信号):
双J线触底反弹,双J线触顶下降,注意有钝化现象
2,K值信号(短期信号):
红柱上升,黄柱金叉,蓝柱死叉,绿柱下跌
3,D线信号(中期信号):
黄线上升,蓝线下跌,注意拐点
4,K值企稳:在底部的黄色三角线,在强势区出现红K柱表示调整结束
5,K值低位启动:底部的红色三角线
6,K值高位下跌:顶线部绿色三角线
关注K值及D线在强弱区的位置
二、操盘线:底部的红蓝粗线
红线操盘,蓝线观望
三、生命线:顶部的红绿粗线
红线持股,绿线持币
四、未来函数信号:顶部出现的BS信号,B是买入信号,S是卖出信号,
属于未来函数,有漂移现象,请谨慎使用,若在高位出现S或低位出现B,
需结合其它信号才有参考价值
本指标口诀:上升D线红柱持股,下降D线绿柱持币
*本指标拥有短中长三期信号,属于本人的操作指标,
若配合其它成交量指标可对个股实现定点突破,精确打击
*指标不是万能的,关键在于灵活运用
{"求KDJ值";}
VAR4:=LLV(LOW,N);
VAR5:=HHV(HIGH,N);
rsv:=(CLOSE-VAR4)/(VAR5-VAR4)*100;
K:SMA(rsv,3,1),coloryellow,nodraw;
D:SMA(K,3,1),colorliblue,NODRAW;
PARTLINE(D,D>REF(D,1),coloryellow,D<=REF(D,1),colorliblue),LINETHICK1;
J:=3*K-2*D;
IF(J<0) J=0;
IF(J>100) J=100;
J9:J,colormagenta;
{"增加5日的J线";}
RSV5=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
KA5:=SMA(RSV5,3,1);
DA5:=SMA(KA5,3,1);
JA5:=3*KA5-2*DA5;
IF(JA5<0) JA5=0;
IF(JA5>100) JA5=100;
J5:JA5,colorgray;
{"K值柱状线";}
STICKLINE(K>REF(K,1),K ,REF(K,1),6,0),colorred;
STICKLINE(K<=REF(K,1),K ,REF(K,1),6,0),colorgreen;
STICKLINE(CROSS(k,d),k,REF(k,1),6,0),coloryellow;
STICKLINE(CROSS(D,K),k,REF(k,1),6,0),colorblue;
{"强弱分区";}
//顶:105,colorgray,DRAWNULL;
强势区:80,colorgray;
强弱分界:50,coloryellow;
弱势区:20,colorgray;
//底:0,DRAWNULL;
K值企稳:IF((K>REF(K,1)) AND (REF(K,1)<=REF(K,2)) AND (REF(K,2)<=REF(K,3)),5,0),coloryellow;//COLOR99CC99;
K值低位:IF((K>REF(K,1)) AND (REF(K,1)<=REF(K,2)) AND REF(K,1)<20,-5,0),colorred,LINETHICK1;
高位下跌:IF((D<REF(D,1)) AND (REF(D,1)>=REF(D,2)) AND REF(K,1)>80,95,100),colorgreen,Linethick1;
{"均线系统一,操盘线BBI";}
VAR1:=(2*C+H+L+O)/5;
VAR2:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30))/4;
操盘线:IF(VAR2,0,DRAWNULL),colorgray,LINETHICK3;
红买1:IF(VAR1>VAR2,0,DRAWNULL), colorred,LINETHICK3;
蓝卖:IF(VAR1<VAR2,0,DRAWNULL),colorFFFF00,LINETHICK3;
{"均线系统二,30日均线";}
VAR6:=(2*C+H+L+O)/5;
MA30:=MA(C,30);
生命线:IF(MA30,100,DRAWNULL),colorgray,LINETHICK3;
红买2:IF(VAR6>MA30,100,DRAWNULL), colorred,LINETHICK3;
绿卖:IF(VAR6<MA30,100,DRAWNULL),colorgreen,LINETHICK3;
{"ZIG未来函数";}
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND
(REF(ZIG (3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND
(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));
//STICKLINE((VARC=1),100,105,10,1),colorred;www.88gs.com
//STICKLINE((VARD=1),100,105,10,1),colorgreen;
DRAWTEXT(VARC,106,"B"),colorred;
DRAWTEXT(VARD,106,"S"),colorgreen;
//DRAWICON(VARc,109,7);
//DRAWICON(VARd,109,8);
{"资金标枪bias线平均";}{"6日乖离5日平均再平均使其圆滑";}
//VARX:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;{"6日的BIAS";}
//指标BIAS:EMA(EMA(VARX,5),5)*4, COLORSTICK;{"原放大参数是3";}