软件名称:[B]MACD-KDJ金死叉公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2010-11-12 04:15:46
软件简介:
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26));
DEA:=EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,8,0),COLOR00AAFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,6.6,0),COLOR00BBFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4.4,0),COLOR00CCFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,3.3,0),COLOR00DDFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2.2,0),COLOR00EEFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.1,0),COLOR00FFFF;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,8,0),COLOR0000AA;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,6.6,0),COLOR0011BB;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,4.4,0),COLOR0022CC;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,3.3,0),COLOR0033DD;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.2,0),COLOR0044EE;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.1,0),COLOR0055FF;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,8,0),COLORAA00BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,6.6,0),COLORBB11BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,4.4,0),COLORCC22BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,3.3,0),COLORDD33BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.2,0),COLOREE44BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.1,0),COLORFF55BB;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,8,0),COLORFFAA00;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,6.6,0),COLORFFBB11;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,4.4,0),COLORFFCC22;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,3.3,0),COLORFFDD33;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.2,0),COLORFFEE44;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.1,0),COLORFFFF55;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:3*K-2*D,LINETHICK0;
周K:=MA("KDJ.K#WEEK"(9,3,3),5);
周D:=MA("KDJ.D#WEEK"(9,3,3),5);
周J:=MA("KDJ.J#WEEK"(9,3,3),5);
DRAWICON(K<20 AND CROSS(K,D),MACD,8),LINETHICK1,ALIGN2,COLORBROWN;
日金▲: DRAWTEXT(CROSS("KDJ.K#DAY"(9,3,3),"KDJ.D#DAY"(9,3,3)),MACD,'▲'),ALIGN2,COLORGRAY;
日死▼: DRAWTEXT(CROSS("KDJ.D#DAY"(9,3,3),"KDJ.K#DAY"(9,3,3)),MACD*1.5,'▼'),ALIGN2,COLORWHITE;
周金▲: DRAWTEXT(CROSS("KDJ.K#WEEK"(9,3,3),"KDJ.D#WEEK"(9,3,3)),MACD,'▲'),ALIGN2,COLORRED;
周死▼: DRAWTEXT(CROSS("KDJ.D#WEEK"(9,3,3),"KDJ.K#WEEK"(9,3,3)),MACD*1.5,'▼'),,ALIGN2,COLORGREEN;
月金▲: DRAWTEXT(CROSS("KDJ.K#MONTH"(9,3,3),"KDJ.D#MONTH"(9,3,3)),MACD,'▲'),ALIGN2,COLORMAGENTA;
月死▼: DRAWTEXT(CROSS("KDJ.D#MONTH"(9,3,3),"KDJ.K#MONTH"(9,3,3)),MACD*1.5,'▼'),ALIGN2,COLORYELLOW;
DIFF: (EMA(CLOSE,12)-EMA(CLOSE,26)),COLORWHITE;
DEA:EMA(DIFF,9),COLORWHITE;
PARTLINE(C>MA(C,15) AND DIFF>=DEA,DEA),COLORMAGENTA,LINETHICK2;
PARTLINE(C>MA(C,15) AND DIFF>=DEA,DIFF),COLORRED,LINETHICK2;
PARTLINE(C<MA(C,15),DEA),COLORGREEN,LINETHICK2;
PARTLINE(C<MA(C,15),DIFF),COLORGREEN,LINETHICK2;
VERTLINE(DIFF<70 AND CROSS(DIFF,DEA)),COLORRED;
VERTLINE(CROSS(DEA,DIFF)),COLORWHITE;
[url=http://www.70822.com/soft/sort013/sort02/down-27043.html]MACD-KDJ金死叉公式[/url]