| | | |
实战CCI指标(通达信公式 副图 源码 贴图)
TYP:=(H+L+C)/3;
短CCI:((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))),COLORWHITE;
NOTEXTA1:DRAWNULL;
NOTEXTA2:DRAWNULL;
NOTEXTA3:DRAWNULL;
NOTEXTA4:DRAWNULL;
长CCI:((TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84))),COLORRED;
DRAWBAND(短CCI,RGB(255,0,0),-100,RGB(0,255,0));
DRAWBAND(长CCI,RGB(255,0,255),-100,RGB(0,0,255));
DRAWBAND(100,RGB(80,80,80),-100,RGB(0,0,0));
NOTEXT1:0,COLORYELLOW,DOTLINE;
NOTEXT2:=-60,COLORYELLOW,DOTLINE;
NOTEXT3:=60,COLORYELLOW,DOTLINE;
DRAWICON(CROSS(短CCI,0),0,1);
DRAWICON(CROSS(短CCI,100),100,34);
DRAWICON(CROSS(100,短CCI),100,2);
NOTEXT4:短CCI,COLORWHITE,LINETHICK2;
NOTEXT5:长CCI,COLORRED,LINETHICK2;
龙腾四海:EMA(200*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)-100,LINETHICK2,COLORCYAN;
|
| | | | |
|