M:=27;
M2:=12;
CC1:CCI(25),COLORSTICK,COLOR40FF00;
CC2:CCI(21),COLORSTICK,COLOR40FF00;
DRAWICON(CROSS(200,CCI),250,2);
DRAWICON(CROSS(CCI,-200),-250,1);
生命CCI線:CCI(84),colorwhite;
DRAWICON(生命CCI線>150 AND CC2>100 AND (CCI(21)>REF(CCI(21),
1) OR CCI(84)>REF(CCI(84),1)) ,-10,1);
轉(zhuǎn)強:CCI>0,COLOR0000D5,NODRAW;
STICKLINE(CCI>0,0,CCI,2,0),COLOR0000D5;
DRAWICON(CCI(84)<REF(CCI(84),1) AND 生命CCI線>150 AND CC2>100,0,2);
弱轉(zhuǎn)強:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,NODRAW;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;
強:生命CCI線>150 AND CC2>100 AND (CCI(21)>REF(CCI(21),
1) OR CCI(84)>REF(CCI(84),1)),COLOR0000D5,NODRAW;
STICKLINE(生命CCI線>150 AND CC2>100 AND (CCI(21)>REF(CCI(21),
1) OR CCI(84)>REF(CCI(84),1)),0,CC2,2,0),COLOR0000D5;
強轉(zhuǎn)弱: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線>200 AND CC2>200,COLOR00DFDF,NODRAW;
TYP:=(IF(ISNULL(HIGH),CLOSE,//www.CHNmoney.com
HIGH)+IF(ISNULL(LOW),CLOSE,LOW)+CLOSE)/3;
生命CCI線:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
STICKLINE(生命CCI線>200 AND CC2>200,CC2,0,2,0),COLOR00DFDF;
回調(diào)修正: CCI(84)<REF(CCI(84),1) AND
生命CCI線>150 AND CC2>100,COLOR0000D5,NODRAW;
底部線:-100.00,coloryellow,LINETHICK2;
警戒線:300.00,colorwhite,LINETHICK2;
STICKLINE(CCI(84)<REF(CCI(84),1) AND
生命CCI線>150 AND CC2>100,0,CC2,2,0),colorblue;
生命線:100.00,colorred,LINETHICK2;
警戒:=500.00,;
轉(zhuǎn)弱勢:CC2<100 AND 生命CCI線<150,COLOR00CA00,NODRAW;
DRAWTEXT(CROSS(生命CCI線,底部線),底部線,'主升'),colorred;
DRAWTEXT(CROSS(生命CCI線,警戒線),警戒線,'警惕'),colorred;
STICKLINE(CC2<100 AND 生命CCI線<150,0,CC2,2,0),COLOR00CA00;
轉(zhuǎn)強線:150,colorred,LINETHICK2;
DRAWTEXT(CROSS(生命CCI線,警戒),警戒,'極高'),coloryellow;
超強線:200.00,coloryellow,LINETHICK2;
生命線:100.00,colorgreen,LINETHICK2;
DRAWTEXT(CROSS(生命CCI線,生命線),生命線,'強'),colormagenta;