【金钻指标精选】通达信【吸筹建仓突破再加】分时主图指标公式,助你股海擒牛!

财富   2024-11-09 21:28   湖北  


  精 彩 内 容 呈 现 


 指    标    源    码


主营收入同比:=FINANCE(44);

净利润同比:=FINANCE(43);

所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT('',HYBLOCK),STRCAT('',DYBLOCK)),STRCAT(' [概念]-',GNBLOCK)));

DRAWTEXT_FIX(ISLASTBAR,0.005,0.05,0,所属板块),COLORMAGENTA;

市盈:=DYNAINFO(39);

市净:=CONST(DYNAINFO(7) / FINANCE(34));

净利:=CONST(FINANCE(30)/FINANCE(20));

DRAWTEXT_FIX(1,0.72,0.71,0,'市盈:'),COLORYELLOW;

DRAWTEXT_FIX(1,0.79,0.71,0,CON2STR(市盈,2)),COLORRED;

DRAWTEXT_FIX(1,0.72,0.77,0,'市净:'),COLORYELLOW;

DRAWTEXT_FIX(1,0.79,0.77,0,CON2STR(市净,2)),COLORWHITE;

DRAWTEXT_FIX(1,0.72,0.83,0,'净利:'),COLORYELLOW;

DRAWTEXT_FIX(1,0.79,0.83,0,CON2STR(净利,2)),COLORWHITE;

DRAWTEXT_FIX(1,0.72,0.89,0,'主营同比:'),COLORWHITE;

DRAWTEXT_FIX(1,0.79,0.89,0,STRCAT(VAR2STR(主营收入同比,0),' %')),COLORYELLOW;

DRAWTEXT_FIX(1,0.72,0.95,0,'净利同比:'),COLORWHITE;

DRAWTEXT_FIX(1,0.79,0.95,0,STRCAT(VAR2STR(净利润同比,0),' %')),COLORYELLOW;

换手:=VOL/CAPITAL*100;

五换:=MA(换手,5);

DRAWTEXT_FIX(1,0.87,0.71,0,'今换:'),COLORYELLOW;

DRAWTEXT_FIX(1,0.91,0.71,0,STRCAT('',CON2STR(换手,2))),COLORWHITE;

DRAWTEXT_FIX(1,0.87,0.77,0,'五换:'),COLORYELLOW;

DRAWTEXT_FIX(1,0.91,0.77,0,STRCAT('',CON2STR(五换,2))),COLORWHITE;

DRAWTEXT_FIX(1,0.87,0.83,0,'量比:'),COLORWHITE;

DRAWTEXT_FIX(1,0.91,0.83,0,STRCAT('',CON2STR(DYNAINFO(17),2))),COLORRED;

DRAWTEXT_FIX(1,0.87,0.89,0,'内盘:'),COLORYELLOW;

DRAWTEXT_FIX(1,0.91,0.89,0,STRCAT('',CON2STR(DYNAINFO(22),0))),COLORGREEN;

DRAWTEXT_FIX(1,0.87,0.95,0,'外盘:'),COLORYELLOW;

DRAWTEXT_FIX(1,0.91,0.95,0,STRCAT('',CON2STR(DYNAINFO(23),0))),COLORRED;

现价:=C,COLORWHITE,LINETHICK2;

均价11:=SUM(C*V,240)/SUM(V,240),COLORRED,LINETHICK2;

TT:=BARSCOUNT(C);

前高:=REF(HHV(H,TT),1);

突破:=CROSS(C,REF(HHV(H,TT),1)) AND C/均价11< 1.09 AND TT>1 AND TT< 240;

主力扫盘:=COUNT(突破,13)>=3 AND CROSS(C,REF(HHV(H,TT),1));

已主力扫盘:=BARSLAST(主力扫盘)< 13;

ZYG2:=DYNAINFO(4)>0 AND HHV(HIGH,2)/LLV(LOW,2)< 1.25 AND REF(CLOSE,1)< LLV(LOW,3)+(HHV(HIGH,3)-LLV(LOW,3))*0.85;

ZYG9:=EMA(CLOSE,2);

ZYG10:=EMA(CLOSE,3);

ZYG11:=MAX(ZYG9,ZYG10);

X2:=CLOSE>ZYG11 AND ZYG2 AND (CLOSE>REF(HHV(HIGH,2),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.015) AND (V/CAPITAL<=0.2) AND C/REF(C,1)< 1.07;

NX:=MA(((SLOPE(C,20)*5)+C),10);

B1:=HOUR=09 AND MINUTE=45;

B20:=LLV(L,15);

B30:=BARSLAST(B1);

B4:=REF(B20,B30);

B5:=CONST(B4),COLORFF80FF,CIRCLEDOT,LINETHICK2;

C1:=HOUR=09 AND MINUTE=45;

C2:=HHV(H,15);

C3:=BARSLAST(C1);

C4:=REF(C2,C3);

C5:=CONST(C4),COLORFF80FF,CIRCLEDOT,LINETHICK2;

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD10:=(DIF-DEA)*2;

AA0:=MACD10>00 AND DIF>0 AND DEA>0;

A100:=HOUR=10 AND MINUTE=0;

A20:=HHV(H,30);

A30:=BARSLAST(A100);

A40:=REF(A20,A30);

A50:=CONST(A40);

A80:=CLOSE>A50 AND REF(C<=A50,1) AND CLOSE>NX;

AB:=FILTER(A80,100);

A90:=DYNAINFO(3);

AC:=CLOSE<=A90*1.04 AND CLOSE>A90;

量比:=V/REF(MA(V,5),1);

XG:=AA0 AND AB AND AC AND A40>A90 AND 量比>=1;

ZYG4:=CLOSE;

ZYG5:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5);

BAB1:=STICKLINE(ZYG5>0,DYNAINFO(3),DYNAINFO(3)*(1+ZYG5),0.1,0);

BAB2:=STICKLINE(ZYG5< 0,DYNAINFO(3),DYNAINFO(3)*(1+ZYG5),0.1,0);

ZYG6:=CLOSE/DYNAINFO(3);DRAWTEXT_FIX(C>O,0,0.07,0,'更多实用指标公式,请关注微信公众号:金钻指标精选'),COLORWHITE;

ZYG7:=FILTER(ZYG5>0.015 AND ZYG5>REF(ZYG5,1)*2 AND VOL>REF(VOL,1)*2 AND CLOSE>REF(CLOSE,1) OR ZYG5>0.025,240);

H1:=MAX(DYNAINFO(3),DYNAINFO(5));

L1:=MIN(DYNAINFO(3),DYNAINFO(6));

P1:=H1-L1;

阻力:=L1+P1*8/9,COLORLIRED,DOTLINE;

支撑:=L1+P1*0.5/9,COLORGREEN,DOTLINE;

DRAWTEXT(FILTER(CROSS(C,支撑),240),L-0.01,'吸筹'),COLOR0000FF;

DRAWTEXT(FILTER(CROSS(C,阻力),240),H-0.01,'压'),COLOR0000FF;

章鱼哥1:=V*C/100;

章鱼哥2:=SUM((IF(((章鱼哥1/8>20) AND (CLOSE>(REF(CLOSE,1)))),章鱼哥1,0)),0);

章鱼哥3:=SUM((IF(((章鱼哥1/8>20) AND (CLOSE< (REF(CLOSE,1)))),章鱼哥1,0)),0);

章鱼哥4:=SUM((IF(((章鱼哥1/8< 20) AND (CLOSE>(REF(CLOSE,1)))),章鱼哥1,0)),0);

章鱼哥5:=SUM((IF(((章鱼哥1/8< 20) AND (CLOSE< (REF(CLOSE,1)))),章鱼哥1,0)),0);

机构买盘:=(章鱼哥2);

机构卖盘:=(章鱼哥3);

散户买盘:=(章鱼哥4);

散户卖盘:=(章鱼哥5);

BU:=BARSLAST(CLOSE=HHV(CLOSE,60));

SE:=BARSLAST(CLOSE=LLV(CLOSE,60));

主力1:=SE;

主力2:=BU;

LM1:=SE;

LM2:=BU;

OK:=主力1>主力2 AND LM1>LM2;

OK1:=主力1>主力2 AND LM1< LM2;

NOK:=主力2>主力1 AND LM2>LM1;

NOK1:=主力2>主力1 AND LM2< LM1;

DRAWICON(FILTER(CROSS(主力1,主力2),240),OPEN*1,5);

DRAWTEXT(FILTER(CROSS(主力1,主力2),240) ,OPEN*0.985,'抓'),COLORFF0000;

TT1:=BARSCOUNT(C);

均价黄:=SUM(C*V,TT1)/SUM(V,TT1);

量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);

价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);

价上岗量破5:=C>均价黄 AND V>MA(V,5);

量起爆:=V>=REF(V,1)*1;

价创新高:=C>=HHV(C,0);

量创新高:=V>=HHV(V,0);

对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=4.50;

每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅;

VV:=BARSSINCE(每日一点)+1;

首次起爆价:=REF(C,VV-1),NODRAW;

起爆收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;

流通盘:=CAPITAL*100/100000000,NODRAW;

起爆时间:=REF(TIME/10000,VV),NODRAW;

已爆分钟:=VV-1,NODRAW;

DRAWICON(每日一点,C,25);

DRAWTEXT(每日一点,L-0.01,'←分时起爆'),COLOR0000FF;

DRAWNUMBER_FIX(ISLASTBAR AND C>1,0.8,0.5,0,起爆收益),COLORFF0000;

DRAWTEXT_FIX(ISLASTBAR AND C>1,0.8,0.45,0,'起爆收益'),COLOR0000FF;

DRAWTEXT_FIX(ISLASTBAR AND C>1,0.85,0.5,0,'%'),COLOR0000FF;

ACX:=FILTER(CROSS(主力1,主力2),240);

ACX1:=BARSSINCE(ACX)+1;

首次抓板价:=REF(C,ACX1-1),NODRAW;

抓板收益:(DYNAINFO(7)-首次抓板价)/首次抓板价*100,NODRAW;

DRAWNUMBER_FIX(ISLASTBAR AND C>1,0.8,0.35,0,抓板收益),COLORFF0000;

DRAWTEXT_FIX(ISLASTBAR AND C>1,0.8,0.3,0,'抓板收益'),COLOR0000FF;

DRAWTEXT_FIX(ISLASTBAR AND C>1,0.85,0.35,0,'%'),COLOR0000FF;

全仓买进:=CROSS(C,REF(HHV(H,TT),1)) AND HHVBARS(VOL,TT)=0 AND C/均价11< 1.09 AND TT>1 AND TT< 240 AND BARSLAST(主力扫盘)>=20 AND 对昨日涨幅;

DRAWTEXT(全仓买进 ,前高, '←全仓'),COLORCYAN;

DRAWICON(全仓买进,C,23);

对昨日涨幅1:=(C/DYNAINFO(3)-1)*100<=7;

价2步:=C/REF(C,3)>1.04 ;

DRAWTEXT(价2步,C*0.995,'←突'),COLORYELLOW;

现:=100*(C-REF(C,1))/REF(C,1);

量:=SUM(V,FROMOPEN);

大买:=SUM(IF(现>=0 AND V>CAPITAL*0.0005 AND PERIOD=0,V,0),FROMOPEN);

大卖:=SUM(IF(现< 0 AND V>CAPITAL*0.0005 AND PERIOD=0,V,0),FROMOPEN);

小买:=SUM(IF(现>=0 AND V< CAPITAL*0.0005 AND PERIOD=0,V,0),FROMOPEN);

小卖:=SUM(IF(现< 0 AND V< CAPITAL*0.0005 AND PERIOD=0,V,0),FROMOPEN);

B31:=100*大买/量;

B32:=100*大卖/量;

B33:=100*小买/量;

B34:=100*小卖/量;

DRAWRECTREL(133,CONST(100-B31)*1000/100,159,1000,RGB(255,0,0));

DRAWRECTREL(269,CONST(100-B32)*1000/100,294,1000,RGB(0,255,0));

DRAWRECTREL(405,CONST(100-B33)*1000/100,426,1000,RGB(128,0,0));

DRAWRECTREL(536,CONST(100-B34)*1000/100,557,1000,RGB(0,128,0));

DRAWTEXT_FIX(PERIOD=0,0.135,8,0,CON2STR(B31,0)) COLORFFFFFF;

DRAWTEXT_FIX(PERIOD=0,0.270,8,0,CON2STR(B32,0)) COLORFF0000;

DRAWTEXT_FIX(PERIOD=0,0.403,8,0,CON2STR(B33,0)) COLORFFFFFF;

DRAWTEXT_FIX(PERIOD=0,0.539,8,0,CON2STR(B34,0)) COLORFF0000;





PS:

新增2个微信公众号,用来补充分享指标公式源码和机会提示,有需要的可以关注下!


使用说明:




点击下方短线指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!



温馨提示



我每天分享指标,不求打赏,请大家看完文章后保持互动

帮忙点击底部【在看+赞

保持互动,系统才会及时向你推送文章,不错过精品指标。

金钻指标精选
定时更新各类指标公式以及各种看盘软件,助力您在股市斩获丰利。资源共享,以股会友!
 最新文章