此指标为在原准备基础上的改良版,上穿-200可做参考买点,下穿-200可做参考卖点 改良版的CCI指标——CCI主升指标 通达信副图指标 贴图 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 CCISTICKLINE(CROSS(200,CCI) AND CCI生命CCI线:CCI(84),COLORWHITE; 底部线:-100.00,COLORYELLOW,LINETHICK2; 警戒线:300.00,COLORWHITE,LINETHICK2; 生命线:100.00,COLORRED,LINETHICK2; DRAWTEXT(CROSS(生命CCI线,底部线),底部线,'★主升浪')COLORRED; DRAWTEXT(CROSS(生命CCI线,警戒线),警戒线,'★警惕')COLORRED; DRAWTEXT(CROSS(生命CCI线,生命线),生命线,'★强')COLORMAGENTA; 200; -200; 100;TYP:=(HIGH+LOW+CLOSE)/3; CCI1:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0; DRAWTEXT(CROSS(200,CCI),250,'下穿200'),COLORGREEN; DRAWTEXT( CROSS(CCI1,-200),-150,'上穿-200'),COLORYELLOW; DRAWTEXT( CROSS(CCI1,-100),-100,'上穿-100'),COLORFF00FF; STICKLINE(CCI1>0,0,CCI1,1,0),COLORRED; STICKLINE(CROSS(CCI1,-200) AND CCI1>REF(CCI,1),CCI1,0,1,0),COLORYELLOW; STICKLINE(CROSS(200,CCI1) AND CCI1 {CCI}
CCI高度关注:IF(REF(CCI,1)<-99 AND CCI >-98,1,0),COLORWHITE; STICKLINE(CCI高度关注,20,40,6,1),LINETHICK3,COLORWHITE;
Y1:=LLV(L,17); Y2:=SMA(ABS(L-REF(L,1)),17,1); Y3:=SMA(MAX(L-REF(L,1),0),17,2); Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1)); STICKLINE(CROSS(Q,0),15,0,4,0), , COLORYELLOW; 强拉升: IF(CROSS(Q,0),1,0),COLORYELLOW; Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00,LINETHICK2; STICKLINE(CROSS(Q1,-24),20,0,4,0), , COLORMAGENTA; 加强拉升: IF(CROSS(Q1,-24),1,0),COLORMAGENTA; VAR2:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4); 天:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,2)); 地:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1)); STICKLINE(地>天 AND 地<0,10,0,1,0),COLORRED; 开始拉升:STICKLINE(地>天 AND 地<0,10,0,1,0)=1,COLORRED;
|