同花顺主力加仓跟随坐轿源码

主力建仓完毕,中部六省开始拉升,中途震仓后,加大仓位继续大幅拉升


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);

 




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图