软件名称:[B]把KDJ和MACD加加在一起找买卖点[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2014-01-01 10:46:59
软件简介:
{KDJ+MACD}
DRAWGBKlast(c>0,strip(RGB(0,0,20),RGB(0,0,40),0));
0,COLORFF9900,LAYER3;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORFF9900,LAYER0;
D:SMA(K,3,1),COLOR00FFff,LINETHICK1;
J:3*K-2*D,COLOR0000FF,LINETHICK1,LAYER0;
FILLRGN(J,K,J>K,RGB(0,120,0)),COLORFF9900,LINETHICK2,LAYER4;
FILLRGN(J,K,J<K,RGB(50,0,50)),COLORFF9900,LINETHICK2,LAYER4;
DIFF:=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
STICKLINE(MACD>0,MACD/2,0,20,0),Color0598FF;
STICKLINE(MACD<0,MACD/2,0,20,0),ColorFF2200;
周J:MA("KDJ.J#WEEK"(9,3,3),5),COLORFF9900;
PARTLINE(周J,周J>=REF(周J,1),rgb(0,255,255)),LINETHICK4,LAYER0;
DRAWGBK(DIFF>DEA OR K>D OR 周J>=REF(周J,1),STRIP(RGB(0,0,255),RGB(100,0,0),0)),LAYER0;{-----}
FL:=CROSS(REF(J,1),J) AND J>80;
DRAWTEXT(FL,J,''+NUMTOSTRN(J,0)+''),LAYER0,ALIGN1,COLOR00ffFF,LINETHICK1;
DRAWTEXTABS(50,2,'★J(9,3,3)【'+NUMTOSTRN(J,1)+'】'),COLOR0077ff,LINETHICK1;
DRAWTEXTABS(180,2,'★MACD(26,12,9)【'+NUMTOSTRN(MACD,1)+'】'),COLOR00ff00,LINETHICK1;
KDB:=BARSLAST(REF(CROSS(K,D),1));
KDDB:=REF(CLOSE,KDB+1)>CLOSE AND REF(K,KDB+1)<K AND CROSS(K,D);
K底背:=IF(FILTER(KDDB>0,5),1,0);
DRAWTEXT(K底背=1,80,'底背离'),COLOR00FF00,LINETHICK2;
KDD:=BARSLAST(REF(CROSS(D,K),1));
K顶背:=REF(CLOSE,KDD+1)<CLOSE AND REF(K,KDD+1)>K AND CROSS(D,K);
DRAWTEXT(FILTER(K顶背>0,5),80,'顶背离'),COLOR00FFFF,LINETHICK2;
DRAWTEXT(barstatus=2 ,J,'【J='+NUMTOSTRN(J,0)+'】'),ALIGN1,Color00FFFF,linethick2,LAYER0;
[url=http://www.70822.com/soft/sort013/sort03/down-68622.html]把KDJ和MACD加加在一起找买卖点[/url]