以下是珍藏精品 精准KDJ【抓牛指标、源码、副图和选股、说明】
珍藏精品 精准KDJ【抓牛指标、源码、副图和选股、说明】
说明:此指标包含副图和选股两个公式,炒股就这么简单,只有经过长期实践和在牛、熊市中经得起时间考验的指标才是好指标。通过K、J两条线的走势,可以成功率极高的发现底部启动和顶部卖出,公式中的各种买卖提示简单实用。配合成交量一起使用会起到事半功倍的效果。慢慢揣摩,必有收获……。
注:“关注”提示中虽然有未来函数,但不影响使用,只需要次日买入即可。其它提示无未来函数。
真心的希望坛友们借助此指标能够稳定的盈利,就是我最大的快乐,顺祝大家节日快乐!
源码
{精准KDJ}
VAR4:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR5:=C/MA(C,60)-1;
中顶:IF(CROSS(VAR4,-95) AND VAR5<0.35 AND VAR5>=0.2,80,100),COLORMAGENTA,LINETHICK2;
大顶:IF(CROSS(VAR4,-95) AND VAR5>=0.35,80,100),COLORFF7F00,LINETHICK2;
10,COLORGREEN,LINETHICK3,POINTDOT;
40,COLORGREEN,LINETHICK3,POINTDOT;
50,COLORRED,LINETHICK2;
60,COLOR00FFFF,LINETHICK3,POINTDOT;
90, COLORRED,LINETHICK3,POINTDOT;
100,COLORCYAN,LINETHICK2;
{卖}
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
卖点:=CROSS(85,RSI1)*30;
STICKLINE(卖点,0,70,1.2,0),COLOR008800;
STICKLINE(卖点,0,70,0.8,0),COLOR00AA00;
STICKLINE(卖点,0,70,0.4,0),COLOR00CC00;
STICKLINE(卖点,0,70,0,0),COLOR00FF00;
DRAWTEXT(卖点>0,60,’小心’),LINETHICK1,COLOR00FF00;
{涨停板敢死队}
LX1:=(EMA((AMOUNT/10000000),1) /3);
LX2:=(WINNER(C)/0.3);
LX3:=IF(C<0,LX1,V);
LX4:=IF(C<0,LX2,V);
LX5:=IF((BARSCOUNT(C)>100),LX3,LX4);
量:=LX5/1000;
动量:=(EMA(量,13)*1.5);
A01:=IF((量>动量),量,0);
A02:=BARSLAST((A01>0));
A03:=REF(量,A02);
趋势:=IF((量<=A01),量,A03);
突破:=IF(((((量=趋势) AND (C>REF(C,1))) AND (量>REF(量,1))) AND (REF(A02,2)>0)),888,0);
STICKLINE(突破,0,25,1.2,0),COLOR000088;
STICKLINE(突破,0,25,0.8,0),COLOR0000BB;
STICKLINE(突破,0,25,0.4,0),COLOR0000DD;
STICKLINE(突破,0,25,0,0),COLOR0000FF;
DRAWTEXT(突破>0.9,25,’关注’),COLOR0000FF,LINETHICK1;
{今买明卖}
MA20:=MA(C,20);
MA30:=MA(C,30);
QSXS:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
ZF:=(C/REF(C,1)-1)*100;
N1:=BARSLAST(CROSS(C,MA(C,5)));
N2:=BARSLAST(CROSS(MA(C,5),C));
HM:=IF(N1<N2,N1+1,0)*QSXS;
Z2:=HM=1 AND ZF>=0 AND C>O AND QSXS;
KX1:=ZF<=-3 AND C<O;
XDSJ:=BARSLAST(KX1);
KX2:=ZF>=3 AND C>O;
JBY:=KX2 AND XDSJ<=2 AND C>=REF(O*0.99,XDSJ) AND ZF>ABS(REF(ZF,XDSJ)*0.99);
Z3:=IF(FILTER(JBY,1) AND QSXS,5,0);
抢钱了:=Z2 AND Z3;
STICKLINE(抢钱了>0,0,50,1.2,0),COLOR008888;
STICKLINE(抢钱了>0,0,50,0.8,0),COLOR00AAAA;
STICKLINE(抢钱了>0,0,50,0.4,0),COLOR00CCCC;
STICKLINE(抢钱了>0,0,50,0,0),COLOR00FFFF;
DRAWTEXT(抢钱了>0,40,’买卖’),LINETHICK1,COLOR00FFFF;
0,COLORMAGENTA,LINETHICK2;
{KDJ}
RSV:=(CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100;
K:SMA(RSV,3,1),COLORWHITE,LINETHICK2;
D:=SMA(K,3,1),COLOR00FFFF,LINETHICK2;
{J线没未来}
J:3*K-2*D,COLOR00FFFF,LINETHICK2;
IF(J<REF(J,1),J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(J>REF(J,1),J,DRAWNULL),COLORRED,LINETHICK2;
{KDJ红绿相交}
DRAWICON(CROSS(J,D) AND CROSS(J,K),0,25);
DRAWICON(CROSS(D,J) AND CROSS(K,J),103,27);
{买卖选股}
MA20:=MA(C,20);
MA30:=MA(C,30);
QSXS:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
ZF:=(C/REF(C,1)-1)*100;
N1:=BARSLAST(CROSS(C,MA(C,5)));
N2:=BARSLAST(CROSS(MA(C,5),C));
HM:=IF(N1<N2,N1+1,0)*QSXS;
Z2:=HM=1 AND ZF>=0 AND C>O AND QSXS;
KX1:=ZF<=-3 AND C<O;
XDSJ:=BARSLAST(KX1);
KX2:=ZF>=3 AND C>O;
JBY:=KX2 AND XDSJ<=2 AND C>=REF(O*0.99,XDSJ) AND ZF>ABS(REF(ZF,XDSJ)*0.99);
Z3:=IF(FILTER(JBY,1) AND QSXS,5,0);
买卖:Z2 AND Z3;
评论(0)