软件名称:[B]发家kdj牛版之修改版(附图 源码)[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:5.00 KB
官方主页:Home Page
更新时间:2010-06-08 06:18:17
软件简介:
添加顶部及纯牛预警图示,希望带来更大收益,指标是固定的,人是活的,有利好不要理会顶部警示收益会更高哦。
发家KDJ牛版之修改版
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
GGG:=K-J>35 AND J<-15;
FFF:=J>0 AND REF(J,1)<-5 AND REF(J,1)>REF(J,2);
TTT:=CROSS(K,D) AND D>REF(D,2) AND D<30;
YYY:=CROSS(K,D) AND D>REF(D,2) AND D>70;
STICKLINE(J<-10,-10,0,0.1,0), ,COLORWHITE;
DRAWTEXT(J<-10,-4,'底'),COLOR00FFFF;
STICKLINE(GGG,40,0,0.1,0), ,COLORMAGENTA;
DRAWTEXT(GGG,25,'背离'),COLOR00FFFF;
STICKLINE(FFF,-10,0,4,0), ,COLORGREEN;
DRAWTEXT(FFF,-8,'今买明赚1%出'),COLOR00FFFF;
STICKLINE(TTT,50,0,0.1,0), ,COLORRED;
DRAWTEXT(TTT,20,'买'),COLOR00FFFF;
STICKLINE(YYY,50,0,0.1,0), ,COLORRED;
DRAWTEXT(YYY,20,'买'),COLOR00FFFF;
KDJ30均:REF((K+D+J)/3,M3)/10,COLORYELLOW;
KDJ10均:REF((K+D+J)/3,M4)/10,COLORWHITE;
KDJ5均:REF((K+D+J)/3,M5)/10,COLORMAGENTA;
MA60:=MA(C,60);
个股趋势:MA(C,1)/MA(REF(C,18),18)*100,COLOR33FF99,LINETHICK1;
大盘趋势:=EMA(INDEXC,1)/MA(REF(INDEXC,18),18)*100;
大盘走势:MA(FORCAST(大盘趋势,20),6),COLORRED;
DPZD:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100;
GGZD:=(C-REF(C,1))/REF(C,1)*100;
QRD:=GGZD-DPZD;
强弱度:EMA(QRD,20),COLORYELLOW;
强弱度,COLORSTICK;
穿:=CROSS(个股趋势,大盘走势) AND 个股趋势>REF(个股趋势,2);
STICKLINE(穿,个股趋势,0,0.5,0), , COLORGREEN;
DRAWTEXT(穿,72,'穿'),COLOR00FFFF;
牛:=穿 AND CROSS(J,K) AND 大盘走势>REF(大盘走势,2) AND MA60>MA(MA60,30);
STICKLINE(牛,0,-20,2,0), , COLORMAGENTA;
DRAWTEXT(牛,-10,'牛'),COLOR00FFFF;
小牛:=穿 AND TTT AND 大盘走势>REF(大盘走势,2);
小牛1:=穿 AND YYY AND 大盘走势>REF(大盘走势,2);
STICKLINE(小牛,0,-25,1.5,0), , COLORYELLOW;
DRAWTEXT(小牛,-12,'小牛'),COLOR00FFFF;
STICKLINE(小牛1,0,-25,1.5,0), , COLORYELLOW;
DRAWTEXT(小牛1,-12,'小牛'),COLOR00FFFF;
MA3:MA(个股趋势,3),COLORBLUE;
MA5:MA(个股趋势,5),COLORMAGENTA;
MA10:MA(个股趋势,10),COLORGRAY;
MA20:MA(个股趋势,20),COLORWHITE;
MA30:MA(个股趋势,30),COLORBLUE;
A1B:=VOL>REF(VOL,1) AND C>O AND C>MAX(REF(C,1),REF(O,1));
A2B:=REF(VOL,1)<REF(VOL,2);
A3B:=REF(VOL,1)<REF(VOL,3);
A4B:=REF(VOL,1)<REF(VOL,4);
A5B:=REF(VOL,1)<REF(VOL,5);
AAB:=A1B AND A2B AND A3B;
BBB:=A4B AND A5B;
地量:=AAB AND BBB;
STICKLINE(地量,1,0,5.7,0), , COLORRED;
DRAWTEXT(地量,1,'地量'),COLOR00FFFF;
大牛:=穿 AND 大盘走势>REF(大盘走势,2) AND 地量 AND 大盘走势>MA(大盘走势,30);
STICKLINE(大牛,0,-10,3,0), , COLORGREEN;
DRAWTEXT(大牛,-8,'大牛'),COLOR00FFFF;
MA1:=MA(CLOSE,5),COLORRED;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);
FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;
FH3:=EMA(C,30)>=REF(EMA(C,30),1) AND COUNT(EMA(C,5)>EMA(C,10) AND EMA(C,10)>EMA(C,30),1)=1;
FH4:=CROSS(C,EMA(C,30)) OR C>EMA(C,30);
FH5:=FH1 AND FH2 AND FH3 AND FH4;
FH6:=FH1 AND FH2 AND FH3 AND FH4 AND ABS((DIFF-DEA)/C)<0.018;
FH7:=FH1 AND FH2 AND FH3 AND FH4 AND MACD<0.10;
二次金叉:=REF(EVERY(C<MA1,2),1) AND CROSS(C,MA1) AND ( FH5 OR FH6 OR FH7),COLORYELLOW;
STICKLINE(二次金叉,15,0,0.5,0), , COLORGRAY;
DRAWTEXT(二次金叉,14,'二金'),COLOR00FFFF;
不错:=穿 AND 地量 AND 二次金叉;
STICKLINE(不错,0,-15,0.5,0), , COLORGRAY;
MA120:=MA(C,120);
DRAWTEXT(不错,-10,'不错'),COLOR00FFFF;
主力吸货:=穿 AND 地量 AND MA5>REF(MA5,1) AND MA120>MA(MA120,10) AND CCI<REF(CCI,1);
STICKLINE(主力吸货,0,-20,0.5,0), , COLORRED;
DRAWTEXT(主力吸货,-15,'主力吸货'),COLOR00FFFF;
升:=穿 AND 地量 AND MACD>REF(MACD,1) AND MA5>MA10;
STICKLINE(升,75,95,3,0), , COLORMAGENTA;
DRAWTEXT(升,90,'升'),COLOR00FFFF;
顶:=J>110 AND MACD>REF(MACD,1) AND MACD>0 AND EXIST(HHV(H,N)>=10,N);
STICKLINE(顶,80,100,5,0), , COLORGREEN;
DRAWTEXT(顶,85,'顶'),COLOR00FFFF;
纯牛:=HIGH>EXIST(HHV(H,N)>=10,N) AND 升;
STICKLINE(纯牛,90,110,5,0), , COLORRED;
DRAWTEXT(纯牛,95,'纯牛'),COLOR00FFFF;
[url=http://www.70822.com/soft/sort013/sort05/down-21301.html]发家kdj牛版之修改版(附图 源码)[/url]