以下是通达信徐大师CCI源码
DRAWTEXT(CURRBARSCOUNT=120,200,’抄短底是上升波必不可少的功夫’),COLOR676767;
DRAWTEXT(CURRBARSCOUNT=120,170.1,’寻找底背离底部买进信号运用CCI’),COLOR676767;
DRAWTEXT(CURRBARSCOUNT=120,140.1,’要比运用KD、RSI、W R有时要灵敏一天半左右’),COLOR676767;
DRAWTEXT(CURRBARSCOUNT=120,110.1,’早抓低点较滞抄底的人不管是趋利还是避害都更有腾挪空间’),COLOR676767;
DRAWTEXT(CURRBARSCOUNT=120,80,’(1)跌破负100如继续创新低而该指标连续反弹可能现短底’),COLOR676767;
DRAWTEXT(CURRBARSCOUNT=120,50.1,’(2)升破负100及升破100属短多信号以及空头停损信号’),COLOR676767;
DRAWTEXT(CURRBARSCOUNT=120,20,’(3)强势中跌破100及弱势中跌破负100可能产生调整’),COLOR676767;
DRAWTEXT(CURRBARSCOUNT=120,-10.1,’(4)升破100后如股指继续创新高而该指标连续下行可能出现短顶’),COLOR676767;
DRAWTEXT(CURRBARSCOUNT=120,-40.1,’(5)上述四个作用中第一和第四个更有准确度’),COLOR676767;
DRAWTEXT(CURRBARSCOUNT=120,-70.1,’对大涨或下跌一定数值时判断顶部或底部比较容易没极端行情’),COLOR676767;
DRAWTEXT(CURRBARSCOUNT=120,-100,’配合MACD、SKD、成交量和均线等才能达到最佳效果’),COLOR676767;
DRAWTEXT(CURRBARSCOUNT=75,200.1,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=75,185,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=75,170.1,”),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=75,155.1,”),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=75,140.1,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=75,125.1,”),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=75,110,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=75,95.1,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=75,80,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=75,65.1,”),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=75,50.1,”),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=75,35.1,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=75,20.1,”),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=75,5,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=35,200.1,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=35,185,’ ‘),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=35,170.1,”),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=35,155.1,”),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=35,140.1,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=35,125.1,”),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=35,110,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=35,95.1,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=35,80,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=35,65.1,”),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=35,50.1,”),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=35,35.1,”),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=35,20.1,”),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=35,5,”),COLORYELLOW;
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
要卖线:150,POINTDOT,COLOR009F00;
要买线:-150,POINTDOT,COLORFF00FF;
多空:0,POINTDOT,COLORWHITE;
IF(CCI>100,CCI,DRAWNULL),COLORRED,LINETHICK2;
IF(CCI<-100,CCI,DRAWNULL),COLORFF2400,LINETHICK2;
评论(0)