红买绿卖:STRLEFT('☆☆☆☆☆',18),coloryellow;
TYP := (HIGH + LOW + CLOSE)/3;m:=14;
CC1:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),colorred;
C1:=SMA(CC1,3,1);
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;
CB1:=EMA(C3,5);CB2:=REF(CB1,1);
FILLRGN(CC1,100,CC1>100,RGB(50,225,50),CC1<-100,RGB(250,150,50));
STICKLINE(C>1,100,-100,100,0),colorblack;
TYP:=(HIGH+LOW+CLOSE)/3;
F1:=ZIG(3,15);
方向:=IF((F1> REF(F1,1)),-100,100);
STICKLINE(方向>90,-150,-100,10,1),COLORFF9428;
STICKLINE(方向<0,100,150,10,1),colorFF00FF;
CCI雷达:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),colorwhite,LINETHICK2;
M1 := EMA( CLOSE, 9 );
M2 := EMA( CLOSE, 18);
MD :=M1 - M2;
MM := EMA( MD, 3 );
〓持仓 : IF( MD >= MM AND MD<= 0,CCI雷达, DRAWNULL ), colorlired, LINETHICK2;
〓减仓: IF( MD >= MM AND MD >0, CCI雷达, DRAWNULL ), colorred,LINETHICK2;
〓空仓 : IF( MM>= MD AND MD > 0,CCI雷达, DRAWNULL ), colorgreen,LINETHICK2;
〓观望: IF( MD < MM AND MD < 0,CCI雷达, DRAWNULL ), colorwhite,LINETHICK2;
p:100 ,color0000FF;
D:-100 ,COLORFF9428;