软件名称:[B]月周日macd趋势(源码 副图)[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:3.00 KB
官方主页:Home Page
更新时间:2010-11-01 07:20:29
软件简介:
月DIFF:=MA("MACD.DIFF#MONTH",22),LINETHICK0;
月DEA:=MA("MACD.DEA#MONTH",22);
周DIFF:=MA("MACD.DIFF#WEEK",5),LINETHICK0;
周DEA:=MA("MACD.DEA#WEEK",5);
月:PARTLINE(月DIFF>=REF(月DIFF,1),月DIFF),COLORRED,LINETHICK2;
PARTLINE(月DIFF<REF(月DIFF,1),月DIFF),COLORGREEN,LINETHICK2;
周:PARTLINE(周DIFF>=REF(周DIFF,1),周DIFF),COLORMAGENTA,LINETHICK2;
PARTLINE(周DIFF<REF(周DIFF,1),周DIFF),COLORBLUE,LINETHICK2;
DRAWICON(CROSS(周DIFF,周DEA),周DEA,10);
DRAWICON(CROSS(周DEA,周DIFF),周DEA,12);
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA), COLORSTICK;
日DIFF:=MA("MACD.DIFF#DAY",1),LINETHICK0;
日:PARTLINE(日DIFF>=REF(日DIFF,1),日DIFF),COLORYELLOW,LINETHICK1;
PARTLINE(日DIFF<REF(日DIFF,1),日DIFF),LINEDOT,COLORBROWN,LINETHICK1;
低位金叉:IF(CROSS(DIFF,DEA) AND DIFF<-0.1,1,0),COLORYELLOW,LINETHICK0;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
PARTLINE(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,0.7),
COLORFF00FF,LINETHICK0,CROSSDOT;
二次金叉:IF(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,1,0),
COLORFF00FF,LINETHICK0;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
PARTLINE(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1)
AND CROSS(DIFF,DEA),0.65),COLORRED,LINETHICK2,CROSSDOT;
底背:IF(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1)
AND CROSS(DIFF,DEA),1,0),COLORRED,LINETHICK0;
势: DRAWLINE(A1=0,DEA,底背,DEA,0),COLORWHITE;{,COLORRED;}
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND
CROSS(DEA,DIFF);
PARTLINE(REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND
CROSS(DEA,DIFF),0.6),COLORF08000,LINETHICK2,CROSSDOT;
顶背_:IF(REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND
CROSS(DEA,DIFF),1,0),COLORF08000,LINETHICK0;
压: DRAWLINE(A2=0,DEA,顶背,DEA,0),COLORFFBB99;
A3:=CROSS(DIFF,DEA) AND DEA<0;
PARTLINE(FILTER(COUNT(A3,21)=2,10),0.55),COLORWHITE,LINETHICK2,
CROSSDOT;
零下二次金叉_:IF(FILTER(COUNT(A3,21)=2,10),1,0),COLORWHITE,
LINETHICK0;
DRAWICON(CROSS(DIFF,DEA) ,DIFF,4),ALIGN1;
DRAWICON(CROSS(DEA,DIFF) , DEA,5),ALIGN1;
金叉:if(CROSS(DIFF,DEA),diff,0),color00ff00,stick,linethick1;
{死叉:if(CROSS(DEA,DIFF),diff,0),colorff0099,stick,linethick1;}
选股:二次金叉>0 or 低位金叉>0 or 底背>0;
0,colorgray;
DRAWICON(二次金叉>0 or 低位金叉>0 or 底背>0,1,10);
不会贴图望哪位补一张!
[url=http://www.70822.com/soft/sort013/sort02/down-26665.html]月周日macd趋势(源码 副图)[/url]