TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); CC1:(TYP-MA(TYP,25))/(0.015*AVEDEV(TYP,25)),COLORSTICK; 主升:CCI>0,COLORRED,NODRAW; STICKLINE(CCI>0,0,CCI,2,0),COLORRED; 弱轉(zhuǎn)強(qiáng):CROSS(CCI,-200) AND CCI>REF(CCI,1),COLORLIRED,NODRAW; STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLORLIRED; 強(qiáng)轉(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線:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),COLORYELLOW; 生命線:100.00,COLORRED; 底部線:-100.00,COLORLIGREEN; 警戒線:300.00,COLORWHITE; DRAWTEXT(CROSS(生命CCI線,底部線),底部線,'主升浪'),COLORRED; DRAWTEXT(CROSS(生命CCI線,警戒線),警戒線,'警惕'),COLORRED; DRAWTEXT(CROSS(生命CCI線,生命線),生命線,'強(qiáng)'),COLORMAGENTA; 200,DOTLINE,COLORLIGREEN; -200,DOTLINE,COLORBROWN; |
|