(MACD四次金交)结合CCI(副图、源码。帖图)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-03-09 09:14:00
公式简介:
MACD大家都非常熟了,按不同层次的金交给标示出来,再把CCI结合到里面会有怎样的效果自已看吧。
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))*0.0015,COLORGREEN,LINETHICK1;
DIFF:EMA(CLOSE,12)-EMA(CLOSE,27)COLORWHITE;
DEA:EMA(DIFF,9),COLORYELLOW;
MACD:2*(DIFF-DEA)COLORSTICK;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
一次金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=1,5)=1;
二次金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,5)=1;
三次金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=3,5)=1;
四次金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=4,5)=1;
一次金叉:IF(一次金,0.3,0)COLORYELLOW,LINETHICK2;
二次金叉:IF(二次金,0.3,0)COLORMAGENTA,LINETHICK2;
三次金叉:IF(三次金,0.3,0)COLORLIMAGENTA,LINETHICK2;
四次金叉:IF(四次金,0.3,0)COLORRED,LINETHICK2;
[url=http://www.goodgupiao.com/gupiaogongshi/12691.html][B](MACD四次金交)结合CCI(副图、源码。帖图)[/B][/url]