通达信加强CCI副图指标 源码 贴图
2024-11-11 09:44:00来源:本站整理浏览:374
通达信加强CCI副图指标 源码 贴图
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),NODRAW;
DRAWTEXT(CROSS(200,CCI),250,'下穿200'),COLORGREEN;
DRAWTEXT(CROSS(CCI,-200),-150,'上穿-200'),COLORYELLOW;
DRAWTEXT(CROSS(CCI,-100),-100,'上穿-100'),COLORFF00FF;
STICKLINE(CCI>0,0,CCI,1,0),COLORRED;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,1,0),COLORYELLOW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,1,0),COLORGREEN;
CCI70:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK2;
差值:=CCI70-REF(CCI70,1);{公式网WWW.GPXIAZAI.COM}
IF(差值>0,CCI70,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(差值<0,CCI70,DRAWNULL),COLORBLUE,LINETHICK2;
0,COLORYELLOW;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),NODRAW;
DRAWTEXT(CROSS(200,CCI),250,'下穿200'),COLORGREEN;
DRAWTEXT(CROSS(CCI,-200),-150,'上穿-200'),COLORYELLOW;
DRAWTEXT(CROSS(CCI,-100),-100,'上穿-100'),COLORFF00FF;
STICKLINE(CCI>0,0,CCI,1,0),COLORRED;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,1,0),COLORYELLOW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,1,0),COLORGREEN;
CCI70:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK2;
差值:=CCI70-REF(CCI70,1);{公式网WWW.GPXIAZAI.COM}
IF(差值>0,CCI70,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(差值<0,CCI70,DRAWNULL),COLORBLUE,LINETHICK2;
0,COLORYELLOW;
- 上一篇公式:通达信机遇备至副图指标 源码 贴图
- 下一篇公式:通达信多头45度选股指标 源码 贴图