通达信多周期CCI指标(源码)
2014-04-08 08:41:00来源:本站整理浏览:303
DRAWICON(CROSS(200,CCI),250,5);
DRAWICON( CROSS(CCI,-200),-250,4);
DRAWICON( CROSS(CCI,-100),-100,6);
转强:STICKLINE(CCI>0,0,CCI,4,0),COLOR0000D5;
弱转强:STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,4,0),COLOR00DFDF;
强转弱:STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,4,0),COLOR00CA00;
0,POINTDOT,COLORRED;
TYP := (HIGH + LOW + CLOSE)/3;
月:(TYP-MA(TYP,280))/(0.015*AVEDEV(TYP,280)),COLOR000099;
周:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLOR0066CC;
日:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORMAGENTA;
BB日:=日-REF(日,1);
BB周:=周-REF(周,1);
BB月:=月-REF(月,1);
IF(BB月>0,月,DRAWNULL),COLOR000099,LINETHICK2;
IF(BB周>0,周,DRAWNULL),COLOR0066CC,LINETHICK2;
IF(BB日>0,日,DRAWNULL),COLORMAGENTA,LINETHICK2;
- 上一篇公式:通达信四大板指指标(源码)
- 下一篇公式:通达信黑马回调买入选股指标(源码)