同花顺主力加仓跟随坐轿源码
-
相关简介:主力建仓完毕,中部六省开始拉升,中途震仓后,加大仓位继续大幅拉升 JJ:=(CLOSE+HIGH+LOW)/3; A:=EMA(JJ,7); B:=REF(A,1); STICKLINE(AB,A,B,5,0),COLORORANGE; STICKLINE(AB,A,B,5,0),colorblue; 主力线:=EMA(C,3),colorwhite; 跟随主力线:=EMA(C,5),coloryellow; 辅助主力线:=EMA(C,7),colorbrown; 短线回踩支撑:=EMA(C,1
-
文章来源:股海网作者:股海网发布时间:2016-08-21浏览次数:
主力建仓完毕,中部六省开始拉升,中途震仓后,加大仓位继续大幅拉升
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,7);
B:=REF(A,1);
STICKLINE(A>B,A,B,5,0),COLORORANGE;
STICKLINE(A<B,A,B,5,0),colorblue;
主力线:=EMA(C,3),colorwhite;
跟随主力线:=EMA(C,5),coloryellow;
辅助主力线:=EMA(C,7),colorbrown;
短线回踩支撑:=EMA(C,10),colorligreen;
启动线:=EMA(C,20),colorred,LINETHICK2;
SS:=CROSS(主力线,跟随主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(跟随主力线,辅助主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(跟随主力线,短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(主力线,辅助主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(主力线,短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(跟随主力线,辅助主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(跟随主力线,启动线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(辅助主力线,短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(跟随主力线,启动线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(主力线,启动线);
DRAWTEXT(SS,L-0.5,'买入'),colormagenta;
DRAWICON(SS,L-0.3,1);
BOLL:=MA(C,20);
UPPER:=BOLL+2*STD(C,20);
LOWER:=BOLL-2*STD(C,20);
大黑码:=CROSS(C,UPPER) AND C/REF(C,1)>1.05,colorred;
DRAWTEXT(大黑码 AND C>MA(C,60) AND C>MA(C,90) AND C>MA(C,120) AND C>MA(C,250),H*1.03,'敢死队'),colorbrown;MA5:EMA(CLOSE,5);
X_MA5:EMA(MA5,5);MA135:=MA(VOL,135);
TJ1:=(VOL=HHV(VOL,10) AND VOL>1.7*REF(VOL,1) AND C>=REF(C,1) AND C>=O AND VOL<=MA135*3.5);
LJL:=FILTER(TJ1,3);
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,3),1,0);
ST:=TJ3=1;
CL:=FILTER(ST,3);
STICKLINE(C,REF(L,BARSLAST(CL)),REF(L,BARSLAST(CL)),5,0),COLORORANGE;
STICKLINE(CLOSE,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),5,0),colorcyan;
STICKLINE(LJL,OPEN,CLOSE,6,0),COLORF00FF0;
DRAWTEXT(LJL,L*0.99,'支撑'),COLORF00FF0;DRAWICON(REF(C,4)>REF(O,4) AND REF(C,3)<REF(C,4) AND REF(C,2)<REF(C,4) AND REF(C,1)<REF(C,4) AND C>REF(C,4),L*0.96,22);
DRAWICON(REF(C,4)<REF(O,4) AND REF(C,3)>REF(C,4) AND REF(C,2)>REF(C,4) AND REF(C,1)>REF(C,4) AND C<REF(C,4),H,13);
DRAWICON(REF(C,3)>REF(O,3) AND REF(C,2)<REF(C,3) AND REF(C,1)<REF(C,3) AND C>REF(C,3),L*0.96,22);
DRAWICON(REF(C,3)<REF(O,3) AND REF(C,2)>REF(C,3) AND REF(C,1)>REF(C,3) AND C<REF(C,3),H,13);