通达信新CCI副图 源码
- AA:=(HIGH+LOW+CLOSE)/3;
-
- CCI:(AA-MA(AA,11))/(0.015*AVEDEV(AA,11)),COLOR0000FF,LINETHICK4;
- CI:EMA(CCI,5),COLORYELLOW,LINETHICK2;
-
- 界:100;界0:0;界1:-100;
-
- IF(CCI>REF(CCI,1),CCI,DRAWNULL),COLORRED,LINETHICK4;
- IF(REF(CCI,1)>CCI,CCI,DRAWNULL),COLOR00FF00,LINETHICK4;
- IF(CCI<CI,CCI,DRAWNULL),COLORGREEN,LINETHICK4;
- DRAWTEXT(CROSS(CCI,CI),界1,'买'),COLOR00FFFF;
657477897.png
|