软件名称:[B]进一步优化《多周期KDJ攻略》副图指标----(简单说明 源码 贴图 )[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2011-09-28 04:40:01
软件简介:
修改后的《多周期KDJ攻略》源码如下:
(N:9; M1:3; M2:3;)
周J1:=MA("KDJ.J#WEEK"(N,M1,M2) ,5),COLORFFFF00,LINETHICK2;
关注区:STICKLINE(周J1>=REF(周J1,1),0,100,4,0),COLOR000077;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
月K:=MA("KDJ.K#MONTH"(N,M1,M2),5);
月D:=MA("KDJ.D#MONTH"(N,M1,M2),5);
周K:=MA("KDJ.K#WEEK"(N,M1,M2) ,5);
周D:=MA("KDJ.D#WEEK"(N,M1,M2) ,5);
DRAWBAND(周K,RGB(170,140,200),周D,RGB(100,100,100));
DRAWBAND(K,RGB(250,20,150),D,RGB(17,250,180));
STICKLINE(周K>=周D,50,(周K-周D)+50,2,0),COLORCC0099;
STICKLINE(周K<周D,50,( 周K-周D)+50,2,0),COLORAAAA00;
STICKLINE(K>=D,50,(K-D)+50,0.5,0),COLORRED;
STICKLINE(K<D,50,(K-D)+50,0.5,0),COLOR00FF00;
DRAWICON(K>=D,46,13);
DRAWICON(周K>=周D,50,23);
DRAWICON(月K>=月D,54,3);
100,COLORGREEN;
0,COLORYELLOW;
日金叉:IF(CROSS(K,D),5,0),COLORMAGENTA,LINETHICK2;
DRAWBAND(日金叉,RGB(250,0,250),0,RGB(0,0,0));
日死叉: IF(CROSS(D,K),95,100), COLOR00FF00,LINETHICK2;
DRAWBAND(100,RGB(0,250,0),日死叉,RGB(0,0,0));
周金叉:IF(CROSS(周K,周D),10,0),COLORRED,LINETHICK2;
DRAWBAND(周金叉,RGB(250,0,0),0,RGB(0,0,0));
周死叉:IF(CROSS(周D,周K),90,100), COLORFFFF00,LINETHICK2;
DRAWBAND(100,RGB(0,250,250),周死叉,RGB(0,0,0));
月金叉:IF(CROSS(月K,月D),15,0),COLORYELLOW,LINETHICK2;
DRAWBAND(月金叉,RGB(250,250,0),0,RGB(0,0,0));
月死叉:IF(CROSS(月D,月K),85,100),COLORFF0000,LINETHICK2;
DRAWBAND(100,RGB(0,0,250),月死叉,RGB(0,0,0));
周J:MA("KDJ.J#WEEK"(N,M1,M2) ,5),COLORFFFF00,LINETHICK2;
IF(周J<=0,0,DRAWNULL),COLORRED,LINETHICK4;
IF(周J>85,100,DRAWNULL),COLOR00FFFF,LINETHICK4;
IF(周J>=REF(周J,1),周J,DRAWNULL),COLORFF0000,LINETHICK2;
DRAWTEXT_FIX(1,0.0,0.0,0,'★★ 暗红色为周J拐点向上---操作区★★红球表示日KD金叉★★红十字球为周KD金叉★★笑脸为月KD金叉★★'),COLORFFFFFF;
[url=http://www.70822.com/soft/sort013/sort05/down-39308.html]进一步优化《多周期KDJ攻略》副图指标----(简单说明 源码 贴图 )[/url]