以下是通达信趋势CCI(源码副图贴图)无未来、无密码(无源码的请下载附件导入)
STICKLINE(C>0,-300,-200,50,0),COLORGRAY;
STICKLINE(C>0,300,200,50,0),COLOR0080FF;
CCIA:((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,14))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,14)),COLORFF3300;
生命CCI线:CCI(84),COLORWHITE;
CC1:CCI(25),COLORSTICK;
DRAWICON(CROSS(200,CCI),280,2);
DRAWICON( CROSS(CCI,-200),-180,1);
转强:CCI>0,COLOR0000D5,NODRAW;
STICKLINE(CCI>0,0,CCI,0.5,0),COLORRED;
STICKLINE(CCI<0,0,CCI,0.5,0),COLORBROWN;
弱转强:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,NODRAW;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,1,0),COLORYELLOW;
强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,NODRAW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,1,0),COLOR00CA00;
上限:100, COLORGRAY,DOTLINE;
下限:-100,COLORYELLOW,DOTLINE;
DRAWTEXT(CROSS(生命CCI线,300),240,'警惕')COLORGREEN;
DRAWICON(CROSS(CCIA,100),-200,11);{手上};
DRAWICON(CROSS(100,CCIA),280,12);{手};
630144681.jpg
|