N:=26;
M:=6;
TH:=SUM(IF(CLOSE>REF(CLOSE,1),vol,0),N);
TL:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),N);
TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),N);
VR:100*(TH*2+TQ)/(TL*2+TQ);
MAvr:MA(VR,M);
DRAWBAND(VR,RGB(255,0,0),MAVR,RGB(0,255,0));
CC1:cci(25),COLORSTICK,COLOR40FF00;
DRAWICON(crOSS(200,CCI),250,2);
DRAWICON( CROSS(CCI,-200),-250,1);
转强:CCI>0,COLOR0000D5,NODRAW;
{STICKLINE(CCI>0,0,CCI,2,0),COLOR0000D5;}
弱转强:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,NODRAW;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;
强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,NODRAW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLOR00CA00;
生命CCI线:CCI(84),COLORWHITE;
底部线:-100.00,COLORYELLOW,LINETHICK2;
警戒线:300.00,COLORWHITE,LINETHICK2;
生命线:80.00,COLORRED,LINETHICK2;
轴:0.00,COLORLIBLUE ,LINETHICK2;
DRAWTEXT(CROSS(生命CCI线,底部线),底部线,’主升浪’)COLORYELLOW;
DRAWTEXT(CROSS(生命CCI线,警戒线),警戒线,’警惕’)COLORYELLOW;
DRAWTEXT(CROSS(生命CCI线,生命线),生命线,’强’)COLORYELLOW;
DRAWTEXT(CROSS(生命CCI线,轴),轴,’注’)COLORYELLOW;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。