进场红柱指标如下:
N:=14;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); nbsp; nbsp; nbsp;
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); nbsp; nbsp; nbsp;
VAR3:=EMA(VAR2,10); nbsp; nbsp;
VAR4:=LLV(LOW,33); nbsp; nbsp;
VAR5:=EMA(IF(LOW =VAR4,VAR3,0),3); nbsp; nbsp;
主力进场:IF(VAR5 REF(VAR5,1),VAR5,0),COLORRED,NODRAW; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0 ),COLOR000055; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF; nbsp; nbsp;
洗盘:IF(VAR5 REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0),COLOR005500; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.6,0),COLOR007700; nbsp; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.1,0),COLOR009900; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00; nbsp; nbsp;
STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00; nbsp; nbsp;
nbsp;
线:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 , nbsp; COLORAABBDD; nbsp; nbsp;
BB:=((REF(趋势线,1) REF(趋势线,2) nbsp; AND 趋势线 -20 AND 趋势线 -25) AND nbsp; 趋势线 =REF(趋势线,1)) OR (REF(CROSS(-20,趋势线),1) AND CROSS(趋势线,-20)); nbsp; nbsp;
DRAWTEXT(BB,80, #39;见底信号 #39;),COLOR41B5FA; nbsp; nbsp;
见底信号:IF(BB,80,-1),COLORRED; nbsp; nbsp;
TYP:=(HIGH+LOW+CLOSE)/3; nbsp; nbsp;
CCI20:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)) COLORYELLOW; nbsp; nbsp;
K:=SMA(CCI20,3,1); nbsp; nbsp;
D:=SMA(K,3,1); nbsp; nbsp;
指数TYP:=(INDEXH+INDEXL+INDEXC)/3; nbsp; nbsp;
指数CCI:=(指数TYP-MA(指数TYP,N))/(0.015*AVEDEV(指数TYP,N)); nbsp; nbsp;
DRAWBAND(K,RGB(255,50,100),D,RGB(0,200,0)); nbsp; nbsp;
IF(CCI20 REF(CCI20,1),CCI20,DRAWNULL),COLORFFFF00,LINETHICK1; nbsp; nbsp;
IF(CCI20 REF(CCI20,1),CCI20,DRAWNULL),COLOR0000EA,LINETHICK2; nbsp; nbsp; nbsp;
超跌:-175,POINTDOT,COLORCYAN,LINETHICK4; nbsp; nbsp;
STICKLINE(CCI20 =-185,-185,-200,2,0),COLOR377CF0; nbsp; nbsp; nbsp;
顶部:150,POINTDOT,COLORGREEN,LINETHICK4; nbsp; nbsp;
STICKLINE(CCI20 =150,158,168,2,0),COLORGREEN; nbsp; nbsp; nbsp;
强势买入:STICKLINE(C,100,100,-1,0),COLORLIMAGENTA; nbsp; nbsp;
反弹买入:STICKLINE(C,-100,-100,-1,0),COLOR0099FF; nbsp; nbsp;
:IF(CROSS(CCI20,反弹买入),-100,0),STICK,COLORYELLOW,LINETHICK2; nbsp; nbsp;
DRAWTEXT( CURRBARSCOUNT=45,198, #39;★主力进场 见底 CCI 先价 先机确认★ #39;),COLORCYAN;