CCI还可以这样用 副图 通达信
2016/11/25 15:11:19点击:
TYP:= (HIGH + LOW + CLOSE)/3;
CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
C1:=SMA(CC1,3,1);
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;
DRAWBAND(CC1,RGB(0,244,244),0,RGB(255,200,90));
100,DOTLINE;
-100,DOTLINE;
CB1:EMA(C3,5);
CB2:REF(CB1,1);
买入:CROSS(CB1, CB2) AND CB1<-100;
DRAWICON(买入,CB1,13);
买强:CROSS(CB1, CB2) AND CB1>0 AND CB2>0;
DRAWICON(买强,CB1,29);
卖出:CROSS(CB2, CB1) AND CB1>100;
DRAWICON(卖出,CB2,14);
卖强:CROSS(CB2, CB1) AND CB1>90 AND CB2>90;
DRAWICON(卖强,CB1-10,28);
CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
C1:=SMA(CC1,3,1);
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;
DRAWBAND(CC1,RGB(0,244,244),0,RGB(255,200,90));
100,DOTLINE;
-100,DOTLINE;
CB1:EMA(C3,5);
CB2:REF(CB1,1);
买入:CROSS(CB1, CB2) AND CB1<-100;
DRAWICON(买入,CB1,13);
买强:CROSS(CB1, CB2) AND CB1>0 AND CB2>0;
DRAWICON(买强,CB1,29);
卖出:CROSS(CB2, CB1) AND CB1>100;
DRAWICON(卖出,CB2,14);
卖强:CROSS(CB2, CB1) AND CB1>90 AND CB2>90;
DRAWICON(卖强,CB1-10,28);
- 上一篇:最好用的背离指标 2016/11/25
- 下一篇:通达信艳阳天选股副图源码 2016/11/25