转最全分时叠加大盘+板块+概念+地域
n:=叠加线数;{叠加线数(4,14)}
时长:=if(hour>=10 and hour<15 ,1,0);{10点至 15点}
drawtextabs(0,0,'板块:'+bkname),colorcyan,linethick1;
均线:=if(between(c/(sum(amount,0)/sum(vol*100,0)),1.05,0.95)=0,ma(c,0),(sum(amount,0)/sum(vol*100,0)));
均线h:(均线*1.007 ),colorff6600,linethick0,layer0;
均线l:(均线/1.005 ),color00ff00,linethick0;
均线横盘:=c<均线h and c>均线l;
量比:=sum(vol,0)*240/dynainfo(38)/barscount(c);
量比5分钟:=sum(量比,5);
量比10:=sum(量比,10);
上个5分钟量比:=量比10-量比5分钟;
放量:=sum(vol,6)>ref(ma(vol,30),1)*10;
cc:close,colorwhite,linethick2;
partline(cc,cc>=ref(cc,1),rgb(255,151,255),cc<ref(cc,1),rgb(0,255,255)),linethick2,layer0;
横盘:=((hhv(close,barscount(close))-llv(close,barscount(close)))/close)<1;
横涨:量比5分钟>上个5分钟量比 and 横盘 and 时长 and 放量 and (cc>均线h) and dynainfo(22)<dynainfo(23),linethick0;
横跌:=横盘 and 时长 and 放量 and cross(均线l,cc) ;
drawtext(cross(横涨,0),均线,'▲'),colorred,layer0;
突破:filter(横涨,100),linethick0;
下破:=filter(横跌,50);
drawtext(突破,均线h,'★突破'),colorff00ff,layer0;
drawtext(下破,均线l,'★下破'),color00ff00,layer0;
vertline(突破,3),colorff00ff,linethick3;
vertline(下破,3),color00ff00,linethick3;
rc:=dynainfo( 3);
s2:=sma(c,2,1);
s6:=sma(c,3,1);
dk:=3*(s2-s6);
stickline(dk>0,rc,(rc+dk),0,1),colorred;
stickline(dk<0,rc,(rc+dk),0,1),colorgreen;
h1:=max(dynainfo(3),dynainfo(5));
l1:=min(dynainfo(3),dynainfo(6));
p1:=h1-l1;
阻力:l1+p1*7/8,coloryellow,linethick0;
drawtextabs(0,10,'阻力:'+numtostrn(阻力,2)),linethick2,coloryellow;
支撑:l1+p1*0.5/8,colorff00ff,linethick0;
drawtextabs(0,25,'支撑:'+numtostrn(支撑,2)),linethick2,colorff00ff;
dynainfo(5),dotline,colorff00ff;
dynainfo(6),dotline,color00ff00;
{叠加大盘线}
tc:=strcmp(strleft(marketlabel,2),'sz');
dpsh:="sh000001$close"/hhv(stkindi('sh000001','分超引用.昨收#day'),0);
dpsz:="sz399001$close"/hhv(stkindi('sz399001','分超引用.昨收#day'),0);
dpc:=if(inblock('a股板块'),dynainfo(3)*if(tc=0,dpsz,dpsh),c);
polyline(c>0,dpc),color3399ff,linethick1,layer0;
drawtext( barstatus=2,dpc ,'大盘' ),color3399ff;
{叠加板块线}
bk1002:="991002$close"/hhv(stkindi('991002','分超引用.昨收#day'),0);
bk1003:="991003$close"/hhv(stkindi('991003','分超引用.昨收#day'),0);
bk1004:="991004$close"/hhv(stkindi('991004','分超引用.昨收#day'),0);
bk1006:="991006$close"/hhv(stkindi('991006','分超引用.昨收#day'),0);
bk1007:="991007$close"/hhv(stkindi('991007','分超引用.昨收#day'),0);
bk1008:="991008$close"/hhv(stkindi('991008','分超引用.昨收#day'),0);
bk1009:="991009$close"/hhv(stkindi('991009','分超引用.昨收#day'),0);
bk1010:="991010$close"/hhv(stkindi('991010','分超引用.昨收#day'),0);
bk1011:="991011$close"/hhv(stkindi('991011','分超引用.昨收#day'),0);
bk1014:="991014$close"/hhv(stkindi('991014','分超引用.昨收#day'),0);
bk1016:="991016$close"/hhv(stkindi('991016','分超引用.昨收#day'),0);
bk1017:="991017$close"/hhv(stkindi('991017','分超引用.昨收#day'),0);
bk1018:="991018$close"/hhv(stkindi('991018','分超引用.昨收#day'),0);
bk1019:="991019$close"/hhv(stkindi('991019','分超引用.昨收#day'),0);
bk1020:="991020$close"/hhv(stkindi('991020','分超引用.昨收#day'),0);
bk1021:="991021$close"/hhv(stkindi('991021','分超引用.昨收#day'),0);
bk1023:="991023$close"/hhv(stkindi('991023','分超引用.昨收#day'),0);
bk1024:="991024$close"/hhv(stkindi('991024','分超引用.昨收#day'),0);
bk1025:="991025$close"/hhv(stkindi('991025','分超引用.昨收#day'),0);
bk1026:="991026$close"/hhv(stkindi('991026','分超引用.昨收#day'),0);
bk1027:="991027$close"/hhv(stkindi('991027','分超引用.昨收#day'),0);
bk1028:="991028$close"/hhv(stkindi('991028','分超引用.昨收#day'),0);
bk1031:="991031$close"/hhv(stkindi('991031','分超引用.昨收#day'),0);
bk1032:="991032$close"/hhv(stkindi('991032','分超引用.昨收#day'),0);
bk1033:="991033$close"/hhv(stkindi('991033','分超引用.昨收#day'),0);
bk1034:="991034$close"/hhv(stkindi('991034','分超引用.昨收#day'),0);
bk1035:="991035$close"/hhv(stkindi('991035','分超引用.昨收#day'),0);
bk1036:="991036$close"/hhv(stkindi('991036','分超引用.昨收#day'),0);
bk1037:="991037$close"/hhv(stkindi('991037','分超引用.昨收#day'),0);
bk1135:="991135$close"/hhv(stkindi('991135','分超引用.昨收#day'),0);
bk1136:="991136$close"/hhv(stkindi('991136','分超引用.昨收#day'),0);
bk1255:="991255$close"/hhv(stkindi('991255','分超引用.昨收#day'),0);
bkcc:=if(inblock('工程建筑'),dynainfo(3)*bk1002,if(inblock('电力'),dynainfo(3)*bk1003,if(inblock('计算机'),dynainfo(3)*bk1004,
if(inblock('电子信息'),dynainfo(3)*bk1006,if(inblock('房地产'),dynainfo(3)*bk1007,if(inblock('纺织服装'),dynainfo(3)*bk1008,
if(inblock('钢铁'),dynainfo(3)*bk1009,if(inblock('供水供气'),dynainfo(3)*bk1010,if(inblock('化工化纤'),dynainfo(3)*bk1011,
if(inblock('电器'),dynainfo(3)*bk1014,if(inblock('交通设施'),dynainfo(3)*bk1016,if(inblock('银行类'),dynainfo(3)*bk1017,
if(inblock('旅游酒店'),dynainfo(3)*bk1018,if(inblock('煤炭石油'),dynainfo(3)*bk1019,if(inblock('酿酒食品'),dynainfo(3)*bk1020,
if(inblock('农林牧渔'),dynainfo(3)*bk1021,if(inblock('商业连锁'),dynainfo(3)*bk1023,if(inblock('建材'),dynainfo(3)*bk1024,
if(inblock('其他行业'),dynainfo(3)*bk1025,if(inblock('汽车类'),dynainfo(3)*bk1026,if(inblock('机械'),dynainfo(3)*bk1027,
if(inblock('医药'),dynainfo(3)*bk1028,if(inblock('外贸'),dynainfo(3)*bk1031,if(inblock('教育传媒'),dynainfo(3)*bk1032,
if(inblock('仪电仪表'),dynainfo(3)*bk1033,if(inblock('有色金属'),dynainfo(3)*bk1034,if(inblock('造纸印刷'),dynainfo(3)*bk1035,
if(inblock('券商'),dynainfo(3)*bk1036,if(inblock('电力设备'),dynainfo(3)*bk1037,if(inblock('通信'),dynainfo(3)*bk1135,
if(inblock('运输物流'),dynainfo(3)*bk1136,if(inblock('保险'),dynainfo(3)*bk1255,c))))))))))))))))))))))))))))))));
bkc:=if(n>1,bkcc,c);
polyline(c>0,bkc),color808000,linethick1;
drawtext( barstatus=2,bkc ,'板块' ),color808000;
{叠加地域线}
dy3091:="993091$close"/hhv(stkindi('993091','分超引用.昨收#day'),0);
dy3450:="993450$close"/hhv(stkindi('993450','分超引用.昨收#day'),0);
dy3596:="993596$close"/hhv(stkindi('993596','分超引用.昨收#day'),0);
dy3598:="993598$close"/hhv(stkindi('993598','分超引用.昨收#day'),0);
dy3599:="993599$close"/hhv(stkindi('993599','分超引用.昨收#day'),0);
dy3602:="993602$close"/hhv(stkindi('993602','分超引用.昨收#day'),0);
dy3603:="993603$close"/hhv(stkindi('993603','分超引用.昨收#day'),0);
dy3604:="993604$close"/hhv(stkindi('993604','分超引用.昨收#day'),0);
dy3606:="993606$close"/hhv(stkindi('993606','分超引用.昨收#day'),0);
dy3607:="993607$close"/hhv(stkindi('993607','分超引用.昨收#day'),0);
dy3608:="993608$close"/hhv(stkindi('993608','分超引用.昨收#day'),0);
dy3609:="993609$close"/hhv(stkindi('993609','分超引用.昨收#day'),0);
dy3610:="993610$close"/hhv(stkindi('993610','分超引用.昨收#day'),0);
dy3611:="993611$close"/hhv(stkindi('993611','分超引用.昨收#day'),0);
dy3612:="993612$close"/hhv(stkindi('993612','分超引用.昨收#day'),0);
dy3613:="993613$close"/hhv(stkindi('993613','分超引用.昨收#day'),0);
dy3614:="993614$close"/hhv(stkindi('993614','分超引用.昨收#day'),0);
dy3616:="993616$close"/hhv(stkindi('993616','分超引用.昨收#day'),0);
dy3617:="993617$close"/hhv(stkindi('993617','分超引用.昨收#day'),0);
dy3618:="993618$close"/hhv(stkindi('993618','分超引用.昨收#day'),0);
dy3619:="993619$close"/hhv(stkindi('993619','分超引用.昨收#day'),0);
dy3620:="993620$close"/hhv(stkindi('993620','分超引用.昨收#day'),0);
dy3621:="993621$close"/hhv(stkindi('993621','分超引用.昨收#day'),0);
dy3622:="993622$close"/hhv(stkindi('993622','分超引用.昨收#day'),0);
dy3623:="993623$close"/hhv(stkindi('993623','分超引用.昨收#day'),0);
dycc:=if(inblock('新上海'),dynainfo(3)*dy3091,if(inblock('成渝特区'),dynainfo(3)*dy3450,if(inblock('海峡西岸'),dynainfo(3)*dy3596,
if(inblock('图们江'),dynainfo(3)*dy3598,if(inblock('滨海新区'),dynainfo(3)*dy3599,if(inblock('深圳本地'),dynainfo(3)*dy3602,
if(inblock('黄河三角'),dynainfo(3)*dy3603,if(inblock('横琴新区'),dynainfo(3)*dy3604,if(inblock('珠江三角'),dynainfo(3)*dy3606,
if(inblock('江苏沿海'),dynainfo(3)*dy3607,if(inblock('辽宁沿海'),dynainfo(3)*dy3608,if(inblock('关中天水'),dynainfo(3)*dy3609,
if(inblock('新疆振兴'),dynainfo(3)*dy3610,if(inblock('西藏'),dynainfo(3)*dy3611,if(inblock('皖江区域'),dynainfo(3)*dy3612,
if(inblock('鄱阳湖'),dynainfo(3)*dy3613,if(inblock('长株潭'),dynainfo(3)*dy3614,if(inblock('武汉规划'),dynainfo(3)*dy3616,
if(inblock('海南开发'),dynainfo(3)*dy3617,if(inblock('青海'),dynainfo(3)*dy3618,if(inblock('云南'),dynainfo(3)*dy3619,
if(inblock('陕甘宁'),dynainfo(3)*dy3621,if(inblock('长江三角'),dynainfo(3)*dy3622,if(inblock('西部开发'),dynainfo(3)*dy3623,
c))))))))))))))))))))))));
dyc:=if(n>2,dycc,c);
polyline(c>0,dyc),color77aa77,linethick1;
drawtext( barstatus=2,dyc ,'地域' ),color77aa77;
{叠加概念线}
gn3120:="993120$close"/hhv(stkindi('993120','分超引用.昨收#day'),0);
gn3128:="993128$close"/hhv(stkindi('993128','分超引用.昨收#day'),0);
gn3129:="993129$close"/hhv(stkindi('993129','分超引用.昨收#day'),0);
gn3305:="993305$close"/hhv(stkindi('993305','分超引用.昨收#day'),0);
gn3580:="993580$close"/hhv(stkindi('993580','分超引用.昨收#day'),0);
gn3585:="993585$close"/hhv(stkindi('993585','分超引用.昨收#day'),0);
gn3586:="993586$close"/hhv(stkindi('993586','分超引用.昨收#day'),0);
gn3597:="993597$close"/hhv(stkindi('993597','分超引用.昨收#day'),0);
gn3601:="993601$close"/hhv(stkindi('993601','分超引用.昨收#day'),0);
gn3645:="993645$close"/hhv(stkindi('993645','分超引用.昨收#day'),0);
gn3646:="993646$close"/hhv(stkindi('993646','分超引用.昨收#day'),0);
gn3647:="993647$close"/hhv(stkindi('993647','分超引用.昨收#day'),0);
gn3665:="993665$close"/hhv(stkindi('993665','分超引用.昨收#day'),0);
gn3685:="993685$close"/hhv(stkindi('993685','分超引用.昨收#day'),0);
gn3686:="993686$close"/hhv(stkindi('993686','分超引用.昨收#day'),0);
gn3695:="993695$close"/hhv(stkindi('993695','分超引用.昨收#day'),0);
gn3710:="993710$close"/hhv(stkindi('993710','分超引用.昨收#day'),0);
gn3732:="993732$close"/hhv(stkindi('993732','分超引用.昨收#day'),0);
gn3745:="993745$close"/hhv(stkindi('993745','分超引用.昨收#day'),0);
gn3798:="993798$close"/hhv(stkindi('993798','分超引用.昨收#day'),0);
gn3801:="993801$close"/hhv(stkindi('993801','分超引用.昨收#day'),0);
gn4005:="994005$close"/hhv(stkindi('994005','分超引用.昨收#day'),0);
gn3669:="993669$close"/hhv(stkindi('993669','分超引用.昨收#day'),0);
gn3731:="993731$close"/hhv(stkindi('993731','分超引用.昨收#day'),0);
gn3751:="993751$close"/hhv(stkindi('993751','分超引用.昨收#day'),0);
gn3075:="993075$close"/hhv(stkindi('993075','分超引用.昨收#day'),0);
gn3139:="993139$close"/hhv(stkindi('993139','分超引用.昨收#day'),0);
gn3140:="993140$close"/hhv(stkindi('993140','分超引用.昨收#day'),0);
gn3141:="993141$close"/hhv(stkindi('993141','分超引用.昨收#day'),0);
gn3142:="993142$close"/hhv(stkindi('993142','分超引用.昨收#day'),0);
gn3143:="993143$close"/hhv(stkindi('993143','分超引用.昨收#day'),0);
gn3144:="993144$close"/hhv(stkindi('993144','分超引用.昨收#day'),0);
gn3075:="993075$close"/hhv(stkindi('993075','分超引用.昨收#day'),0);
gn3139:="993139$close"/hhv(stkindi('993139','分超引用.昨收#day'),0);
gn3140:="993140$close"/hhv(stkindi('993140','分超引用.昨收#day'),0);
gn3141:="993141$close"/hhv(stkindi('993141','分超引用.昨收#day'),0);
gn3142:="993142$close"/hhv(stkindi('993142','分超引用.昨收#day'),0);
gn3143:="993143$close"/hhv(stkindi('993143','分超引用.昨收#day'),0);
gn3144:="993144$close"/hhv(stkindi('993144','分超引用.昨收#day'),0);
gncc:=if(inblock('新材料'),dynainfo(3)*gn3120,if(inblock('农业龙头'),dynainfo(3)*gn3128,if(inblock('数字电视'),dynainfo(3)*gn3129,
if(inblock('网络游戏'),dynainfo(3)*gn3305,if(inblock('cdm项目'),dynainfo(3)*gn3580,if(inblock('新能源'),dynainfo(3)*gn3585,
if(inblock('铁路基建'),dynainfo(3)*gn3586,if(inblock('智能电网'),dynainfo(3)*gn3597,if(inblock('igcc'),dynainfo(3)*gn3601,
if(inblock('节能环保'),dynainfo(3)*gn3645,if(inblock('物联网'),dynainfo(3)*gn3646,if(inblock('电力设备'),dynainfo(3)*gn3647,
if(inblock('航天军工'),dynainfo(3)*gn3665,if(inblock('3g'),dynainfo(3)*gn3685,if(inblock('期货'),dynainfo(3)*gn3686,
if(inblock('创投'),dynainfo(3)*gn3695,if(inblock('低碳经济'),dynainfo(3)*gn3710,if(inblock('稀土永磁'),dynainfo(3)*gn3732,
if(inblock('稀缺资源'),dynainfo(3)*gn3745,if(inblock('煤化工'),dynainfo(3)*gn3798,if(inblock('黄金股'),dynainfo(3)*gn3751,
if(inblock('破发破净'),dynainfo(3)*gn3669,if(inblock('分拆上市'),dynainfo(3)*gn3731,if(inblock('s板'),dynainfo(3)*gn4005,if(inblock('次新股'),dynainfo(3)*gn3075,
if(inblock('大盘'),dynainfo(3)*gn3139,if(inblock('中盘'),dynainfo(3)*gn3140,if(inblock('小盘'),dynainfo(3)*gn3141,if(inblock('高价'),dynainfo(3)*gn3142,if(inblock('中价'),dynainfo(3)*gn3143,if(inblock('低价'),dynainfo(3)*gn3144,c)))))))))))))))))))))))))))))));
gnc:=if(n>3,gncc,c);
polyline(c>0,gnc),colorff6699,linethick1;
drawtext( barstatus=2,gnc ,'概念' ),colorff6699;
----------------------------------------------
引用公式源码(分超引用)
{today:=dynainfo(7)=close and dynainfo(10)=amount and time0<55800;}
today:=dynainfo(7)=close and dynainfo(10)=amount and (order(1)=0 and order(2)=0);
昨收:ref(c,1),linethick0;
小单买:if(today,(1-"ddedata@bigorder"(1,1)),(1-bigorder(1,1)));
小单卖:if(today,(1-"ddedata@bigorder"(2,1)),(1-bigorder(2,1)));
中单买:if(today,("ddedata@bigorder"(1,1)-"ddedata@bigorder"(1,2)),(bigorder(1,1)-bigorder(1,2)));
中单卖:if(today,("ddedata@bigorder"(2,1)-"ddedata@bigorder"(2,2)),(bigorder(2,1)-bigorder(2,2)));
大单买:if(today,("ddedata@bigorder"(1,2)-"ddedata@bigorder"(1,3)),(bigorder(1,2)-bigorder(1,3)));
大单卖:if(today,("ddedata@bigorder"(2,2)-"ddedata@bigorder"(2,3)),(bigorder(2,2)-bigorder(2,3)));
特单买:if(today,"ddedata@bigorder"(1,3),bigorder(1,3));
特单卖:if(today,"ddedata@bigorder"(2,3),bigorder(2,3));
主单买:if(today,("ddedata@bigorder"(1,2)),bigorder(1,2));
主单卖:if(today,("ddedata@bigorder"(2,2)),bigorder(2,2));
上一指标公式:抄底王通用副图公式下载 大智慧通用抄底
下一指标公式:也来发一个最新分时突破主图公开+公式下载 大智慧突破来发
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文转最全分时叠加大盘+板块+概念+地域公式下载 大智慧地域最全仅供学习研究。