通信达公式编写 通达信常用寻宝副图公式源码 www.beexiaomifeng.com小编为您提供
?
M:=20;
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
CCK:(TYP-MA(TYP,M))/(0.005*AVEDEV(TYP,M));
STICKLINE(CCI>REF(CCI,1) AND CCI<0 AND CCI>-100,0,CCI,1,0),COLORGREEN;
STICKLINE(CCI>REF(CCI,1) AND CCI>120,0,CCI,1,0),COLORRED;
STICKLINE(CCK<390 AND REF(CCK,10)>400,400,200,1,0),COLORRED;
趋势线:EXPMA(CCI,15),COLORMAGENTA,LINETHICK2;
黑马线:EXPMA(CCK,5),COLORRED,LINETHICK2;
CCQ:=(趋势线-黑马线);
CCA:=((REF(趋势线,8)-REF(黑马线,8)) OR (REF(趋势线,10)-REF(黑马线,10))
OR (REF(趋势线,12)-REF(黑马线,12)) OR (REF(趋势线,15)-REF(黑马线,15))
OR (REF(趋势线,18)-REF(黑马线,18)) OR (REF(趋势线,20)-REF(黑马线,20))
OR (REF(趋势线,23)-REF(黑马线,23)));
STICKLINE(CROSS(CCI,趋势线) AND CCI<0 AND CCQ<230,100,-400,1,0),COLORGREEN;
STICKLINE(CCA>150 AND CCI<0 AND CCI>CCK AND CCI<-30 AND MA(C,20)
OR CROSS(REF(CCI,2),REF(趋势线,2)) OR CROSS(CCI,趋势线)),-500,-300,3,0 ),COLORRED;
CCB:=CCK>-340 AND 趋势线>黑马线 AND CCI<0 AND (REF(CCK,8)<-350 OR REF(CCK,10)<-350
OR REF(CCK,12)<-350 OR REF(CCK,15)<-350 OR REF(CCK,13)<-350 OR REF(CCK,11)<-350
OR REF(CCK,9)<-350 OR REF(CCK,7)<-350) AND (CROSS(REF(黑马线,5),REF(CCK,5))
OR CROSS(REF(黑马线,6),REF(CCK,6)) OR CROSS(REF(黑马线,4),REF(CCK,4)));
STICKLINE(CCB,100,-200,1,0),COLORYELLOW;
STICKLINE(CCK>CCI AND CCI>黑马线 AND CROSS(CCI,趋势线),-500,-200,1,0),COLORYELLOW;
STICKLINE(CROSS(REF(CCI,1),REF(黑马线,1)) AND CROSS(CCK,黑马线),-500,-700,1,0),COLORGREEN;
?
?
?
更多股票公式相关资讯请关注www.beexiaomifeng.com
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!