软件名称:[B]MACD二号[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2017-02-08 01:39:37
软件简介:
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,0,0),colorgreen;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0,0),colormagenta;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=1,21)=1;
STICKLINE(金叉,0,0.1,5,0),COLOR0000FF;
DRAWTEXT(金叉,-0.095,'金叉'),COLOR0000FF;
二金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二金叉,0,0.15,5,0),COLOR8977FF;
DRAWTEXT(二金叉,0.23,'二次金叉'),COLOR8977FF;
三金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=3,28)=1;
STICKLINE(三金叉,0,0.2,5,0),COLOR00AA00;
DRAWTEXT(三金叉,0.28,'三次金叉'),COLOR00AA00;
四金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=4,28)=1;
STICKLINE(四金叉,0,0.25,5,0),colorcyan;
DRAWTEXT(四金叉,0.33,'四次金叉'),colorcyan;
五金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=5,33)=1;
STICKLINE(五金叉,0,0.3,5,0),colorblue;
DRAWTEXT(五金叉,0.37,'五次金叉'),colorblue;
六金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=6,33)=1;
STICKLINE(六金叉,0,0.35,5,0),coloryellow;
DRAWTEXT(六金叉,0.7,'黄金底'),coloryellow;
DRAWTEXT(六金叉,0.42,'六次金叉'),coloryellow;
七金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=7,33)=1;
STICKLINE(七金叉,0,0.4,5,0),colorwhite;
DRAWTEXT(七金叉,0.88,'白金底'),colorwhite;
DRAWTEXT(七金叉,0.47,'七次金叉'),colorwhite;
八金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=8,33)=1;
STICKLINE(八金叉,0,0.5,5,0),colormagenta;
DRAWTEXT(八金叉,0.8,'钻石底'),colormagenta;
DRAWTEXT(八金叉,0.57,'八次金叉'),colormagenta;
九金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=9,33)=1;
STICKLINE(九金叉,0,0.55,5,0),colorred;
DRAWTEXT(九金叉,0.8,'金钻底'),colorred;
DRAWTEXT(九金叉,0.6,'九次金叉'),colorred;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
[url=http://www.70822.com/soft/sort013/sort036/down-106849.html]MACD二号[/url]