龙头模型幅图 通达信副图指标 源码




VAR1:=(3*CLOSE+HIGH+LOW+OPEN)/6;

VAR2:=EMA(VAR1,35);

VAR3:=(HHV(VAR2,10)+HHV(VAR2,30)+HHV(VAR2,90))/3;

VAR4:=(LLV(VAR2,10)+LLV(VAR2,30)+LLV(VAR2,90))/3;

VAR5:=(HHV(VAR3,5)+HHV(VAR3,15)+HHV(VAR3,30))/3;

VAR6:=(LLV(VAR4,5)+LLV(VAR4,15)+LLV(VAR4,30))/3;

VAR7:=EXPMA(CLOSE,6);

VAR8:=EXPMA(CLOSE,18);

M1:=500*(VAR7-VAR8)/VAR8+2,COLORYELLOW,LINETHICK2;

ZZ:=M1>2 AND EMA(EMA(VAR1,2),2)>VAR6;

共振追涨紫:ZZ AND ZZ>=REF(ZZ,1)COLORMAGENTA ,NODRAW;

STICKLINE(共振追涨紫,4,8,0.5,0),COLORMAGENTA ;

DRAWTEXT(共振追涨紫,7.5,'紫'),COLORYELLOW;

X_1:=INDEXH;

X_2:=INDEXO;

X_3:=INDEXL;

X_4:=INDEXC;

X_5:=INDEXV;

X_6:=(3*CLOSE+HIGH+LOW+OPEN)/6;

X_7:=EMA(X_6,35);

X_8:=(HHV(X_7,5)+HHV(X_7,15)+HHV(X_7,30))/3;

X_9:=(LLV(X_7,5)+LLV(X_7,15)+LLV(X_7,30))/3;

牛线:=(HHV(X_8,5)+HHV(X_8,15)+HHV(X_8,30))/3,COLORYELLOW;

X_10:=(LLV(X_9,5)+LLV(X_9,15)+LLV(X_9,30))/3;

X_11:=X_4/EMA(X_4,120);

大盘中线:=EMA(EMA(CLOSE,120)*X_11,2),COLORRED;

X_12:=X_6>=牛线 AND X_6>=大盘中线;

强势起爆紫:X_12=1,COLORMAGENTA,NODRAW;

STICKLINE(强势起爆紫,4,7,1.5,0),COLORMAGENTA  ;

DRAWTEXT(强势起爆紫,6.5,'紫'),COLORYELLOW;

TT:=(2*CLOSE+OPEN+HIGH+LOW)*100;

FF:=TT/EMA(TT,4)-1;

动能2红:FF>REF(FF,1) AND FF>0,COLORRED ,NODRAW;

STICKLINE(动能2红,4,6,2,0),COLORRED ;

DRAWTEXT(动能2红,5.5,'红'),COLORYELLOW;

动能2黄:FF<REF(FF,1) AND FF>0 ,COLORYELLOW ,NODRAW;

STICKLINE(动能2黄,4,6,0.5,0),COLORYELLOW ;

DRAWTEXT(动能2黄,5.5,'黄'),COLORYELLOW;

{庄家控盘}

VAR1A:=EMA(EMA(C,8),39),NODRAW;

控盘度:=((VAR1A-REF(VAR1A,1))/REF(VAR1A,1)*1000)+50,NODRAW;

低控盘:IF(控盘度>50 AND 控盘度<58,控盘度,0),COLORYELLOW,NODRAW;

STICKLINE(控盘度>50 ,4,5,2.5,0),COLORYELLOW;

DRAWTEXT(控盘度>50,4.5,'黄'),COLORRED;

HJ_1:=CLOSE/REF(CLOSE,1)>=1.098 AND C=H;

HJ_22:=COUNT(HJ_1,2)>=1 AND NOT(COUNT(HJ_1,3)>=2);

妖启:=FILTER(HJ_22,13),COLORDDDDDD;

HJ_23:=COUNT(HJ_1,3)>=2 AND NOT(COUNT(HJ_1,4)>=3);

龙头启动:妖启 AND COUNT(妖启,18)=1 AND (IF(CODELIKE('60'),1,0) OR IF(CODELIKE('00'),1,0)),COLORBLUE,NODRAW;

STICKLINE(龙头启动,0,0.75,3,0),COLORBLUE;

DRAWTEXT(龙头启动,0.35,'龙头启动'),COLORWHITE;

DRAWTEXT(龙头启动,0.35,'        火箭'),COLORRED;

妖升:=FILTER(HJ_23,13),COLORGREEN;

龙头主升:妖升 AND COUNT(妖升,18)=1 AND (IF(CODELIKE('60'),1,0) OR IF(CODELIKE('00'),1,0)),COLORWHITE,NODRAW;

STICKLINE(龙头主升,1,1.75,2.5,0),COLORWHITE;

DRAWTEXT(龙头主升,1.35,'龙头主升'),COLORRED;

DRAWTEXT(龙头主升,1.35,'        ★'),COLORYELLOW;

主力攻击:=EMA(CLOSE,5),COLORRED;

主力攻击线:=(MA(CLOSE,4)+MA(CLOSE,6)+MA(CLOSE,5)+MA(CLOSE,10))/4,COLORWHITE;

主力控盘线:=EMA(CLOSE, 21),COLORYELLOW,LINETHICK2;

攻击控盘买:=CROSS(主力攻击,主力攻击线)AND REF(主力攻击,1)<REF(主力控盘线,1);

创业板块XG:={主力攻击线>主力控盘线 AND} C>REF(C,1)*1.045 AND C<REF(C,1)*1.07 AND L<主力攻击线 AND IF(CODELIKE('300'),1,0) AND C>主力攻击线,COLORMAGENTA;

TTA:=(2*CLOSE+OPEN+HIGH+LOW)*100;

FFA:=TTA/EMA(TTA,4)-1;

趋势动能:=ROUND2(FFA*100,1);

趋势龙头:CROSS(趋势动能,2)  AND 趋势动能>=5 AND IF(CODELIKE('300'),1,0),COLORGREEN,NODRAW;

STICKLINE(趋势龙头 OR 创业板块XG,0,1,2,0),COLORGREEN;

DRAWTEXT(趋势龙头 OR 创业板块XG,0.5,'趋势龙头'),COLORRED;

DRAWTEXT(趋势龙头 OR 创业板块XG,0.5,'        旗帜'),COLORYELLOW;

0,COLORWHITE;

4,COLORYELLOW;

DRAWTEXT_FIX(1,0,0.515,0, STRCAT(HYBLOCK,STRCAT(' + ', STRCAT(GNBLOCK,STRCAT('+ ', EXTERNSTR(0,1)))))),COLORWHITE;

紫紫红黄:=共振追涨紫 AND 强势起爆紫 AND 动能2红 AND 控盘度>50 ;

首紫紫红黄:=紫紫红黄 AND REF(紫紫红黄,1)<>1;

STICKLINE(首紫紫红黄,2.85,3.5,0,0),COLORRED;

DRAWTEXT(首紫紫红黄,3.10,'参考买点'),COLORRED;

首动能2黄:=动能2黄 AND REF(动能2黄,1)<>1;

STICKLINE(首动能2黄,2,2.75,0,0),COLORYELLOW;

DRAWTEXT(首动能2黄,2.35,'参考卖点'),COLORYELLOW;



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

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

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

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