分享

【精选指标】通达信【分时主力吸筹】分时主图指标,助你股海擒牛!

 墨子语 2025-04-04

精 彩 内 容 呈 现  

图片

 指    标    源    码

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

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

P1:=H1-L1;阻力:L1+P1*8/9,COLORCYAN,LINETHICK1;

支撑:L1+P1*0.5/9,COLORFF66FF,LINETHICK1;

中:(H1+L1)/2,POINTDOT,COLORWHITE,LINETHICK1;

DRAWICON(LONGCROSS(支撑,C,2),C*0.995,44);

STICKLINE(LONGCROSS(支撑,C,2),C,阻力,0,-1),COLORRED;

DRAWICON(LONGCROSS(C,阻力,2),C*1.005,45);

STICKLINE(LONGCROSS(C,阻力,2),C,支撑,0,-1),COLORGREEN;

STICKLINE(C<支撑,支撑,C,1,0),COLORYELLOW;

成交额:=V*C/100,NODRAW;

章鱼哥1:=SUM((IF(((成交额/8>20) AND (C>(REF(C,1)))),成交额,0)),0);

章鱼哥2:=SUM((IF(((成交额/8>20) AND (C<(REF(C,1)))),成交额,0)),0);

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

章鱼哥4:=SUM((IF(((成交额/8<20) AND (C<(REF(C,1)))),成交额,0)),0);

章鱼哥5:=((章鱼哥1+章鱼哥2)+章鱼哥3)+章鱼哥4;

章鱼哥6:=1;章鱼哥7:=STRCAT(STRCAT('机构买入',CON2STR((100*章鱼哥1)/章鱼哥5,0)),'%');

章鱼哥8:=STRCAT(STRCAT('机构卖出',CON2STR((100*章鱼哥2)/章鱼哥5,0)),'%');

DRAWTEXT_FIX(章鱼哥6=1,0.0,0.9,0,章鱼哥7),COLORRED;

DRAWTEXT_FIX(章鱼哥6=1,0.1,0.1,0,章鱼哥8),COLORBLACK;

所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT(' [行业]—',HYBLOCK),STRCAT(' [地域]—',DYBLOCK)),STRCAT(' [概念]—',GNBLOCK)));

DRAWTEXT_FIX(ISLASTBAR,0.09,0.95,0,所属板块),COLORWHITE;

价:=C;大盘:=EMA(INDEXC,500)/EMA(C,500);

大盘参考线:=INDEXC/大盘;ZYG1:=(3*C+L+O+H)/6;DRAWTEXT_FIX(C>O,0,0.07,0,'更多实用指标公式,请关注微信公众号:通达信指标公式'),COLORMAGENTA;

ZYG2:=(20*ZYG1+19*REF(ZYG1,1)+18*REF(ZYG1,2)+17*REF(ZYG1,3)+16*REF(ZYG1,4)+15*REF(ZYG1,5)+14*REF(ZYG1,6)+13*REF(ZYG1,7)+12*REF(ZYG1,8)+11*REF(ZYG1,9)+10*REF(ZYG1,10)+9*REF(ZYG1,11)+8* REF(ZYG1,12)+7*REF(ZYG1,13)+6*REF(ZYG1,14)+5*REF(ZYG1,15)+4*REF(ZYG1,16)+3*REF(ZYG1,17)+2*REF(ZYG1,18)+REF(ZYG1,21))/210;

ZYG3:=HHV(C,90);

ZYG4:=LLV(C,90);

ZYG5:=ZYG3-ZYG4;

ZYG6:=EMA((C-ZYG4)/ZYG5-0.5,14);

ZYG7:=ZYG6*20;

ZYG8:=REF(HHV(C,66),2);

ZYG9:=CROSS(C,ZYG8) AND (HHV(C,110)/LLV(C,110)-1)*100<45 AND ZYG7<5.666;

ZYG10:=15*FILTER(ZYG9,41)>10;

主力扫盘:=ZYG10*50,;

DRAWTEXT(ZYG10,C,'●主力吸筹'),COLORRED;

ZYG:=(VOL/C)/2;ZYG11:=SUM(IF(ZYG>100 AND C>REF(C,1),ZYG,0),0);

ZYG12:=SUM(IF(ZYG>100 AND C<REF(C,1),ZYG,0),0);

ZYG13:=SUM(IF(ZYG<100 AND C>REF(C,1),ZYG,0),0);

ZYG14:=SUM(IF(ZYG<100 AND C<REF(C,1),ZYG,0),0);

ZYG15:=ZYG11+ZYG12+ZYG13+ZYG14;

机买:=(ZYG11/ZYG15)*100;

机卖:=(ZYG12/ZYG15)*100;

主力差:=机买-机卖;

ZYG16:=DRAWTEXT(主力差>0 AND REF(主力差,1)<=0,C*0.85,'●机构')=1;

DRAWTEXT(ZYG16>0 ,C*1.0001,'●'),COLORRED;

ZYG17:=EMA(EMA(C,13),13);

控盘:=(ZYG17-REF(ZYG17,1))/REF(ZYG17,1)*1000;

章鱼:=DYNAINFO(11);

章:=(EMA(C,8)-EMA(C,55))*10;

鱼:=EMA(章,3);章鱼1:=(C-章鱼)/章鱼<-0.03;

章鱼2:=控盘>REF(控盘,1) AND 控盘<-0.2;

章鱼3:=CROSS(章,鱼) AND 章<-0.3;

章鱼4:=FILTER(章鱼1 AND 章鱼2 AND 章鱼3,13);

DRAWTEXT(章鱼4,C,'●主力赢'),COLORYELLOW;

星期:=WEEKDAY;

日1:=DATETODAY(DATE);

上市日:=REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT);

自然日:=日1-DATETODAY(上市日)+1;

ZB:=(自然日-REF(自然日,1))!=星期-REF(星期,1)OR TOTALBARSCOUNT-CURRBARSCOUNT=0;

本周第几天:=BARSLAST(ZB)+1;

MA1:=REF(C,本周第几天);

MA2:=REF(MA1,本周第几天);

MA3:=REF(MA2,本周第几天);

MA4:=REF(MA3,本周第几天);

MA5:=REF(MA4,本周第几天);

MA6:=REF(MA5,本周第几天);

MA7:=REF(MA6,本周第几天);

MA8:=REF(MA7,本周第几天);

MA9:=REF(MA8,本周第几天);

MA10:=REF(MA9,本周第几天);

MA11:=REF(MA10,本周第几天);

MA12:=REF(MA11,本周第几天);

十三周价:=(C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9+MA10+MA11+MA12)/13;

决策:REFDATE(十三周价,DATE),POINTDOT,COLORMAGENTA;

DRAWICON(CROSS(C,决策),C,1);

使用说明:

图片

图片

图片

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多