第一篇:【股票指标公式下载】-【大智慧】分时超赢(主净、主现、超净、超现)
【大智慧】分时超赢(主净、主现、超净、超现)-指标公式源码
DRAWTEXTREL(0,40,'('+STKLABEL+')'+STKNAME+' '+YEAR+'年'+MONTH+'月'+DAY+'日'),ColorFFFF80;n:=5;ZLLR:=AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000;ZLLC:=AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000;主净:=SUM(ZLLR-ZLLC,0);主现:=SUM(ZLLR-ZLLC,N);{N分钟} TDLR:=AMOUNT*DYNAINFO(95)/10000;TDLC:=AMOUNT*DYNAINFO(98)/10000;超净:=SUM(TDLR-TDLC,0);超现:=SUM(TDLR-TDLC,N);{N分钟} DDLR:=AMOUNT*DYNAINFO(94)/10000;DDLC:=AMOUNT*DYNAINFO(97)/10000;大净:=SUM(DDLR-DDLC,0);大现:=SUM(DDLR-DDLC,N);{N分钟} ZDLR:=AMOUNT*DYNAINFO(93)/10000;ZDLC:=AMOUNT*DYNAINFO(96)/10000;中净:=SUM(ZDLR-ZDLC,0);中现:=SUM(ZDLR-ZDLC,N);{N分钟} XDLR:=(AMOUNT-AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000;XDLC:=(AMOUNT-AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000;散净:=SUM(XDLR-XDLC,0);散现:=SUM(XDLR-XDLC,N);{N分钟} 主力买:=(ORDERVOL(1,2)/CAPITAL)*100;主力卖:=(ORDERVOL(2,2)/CAPITAL)*100;主力净买:=sum((主力买-主力卖),0);超大买:=(ORDERVOL(1,3)/CAPITAL)*100;超大卖:=(ORDERVOL(2,3)/CAPITAL)*100;超大净买:=sum((超大买-超大卖),0);大户买:=((ORDERVOL(1,2)-ORDERVOL(1,3))/CAPITAL)*100;大户卖:=((ORDERVOL(2,2)-ORDERVOL(2,3))/CAPITAL)*100;大户净买:=sum((大户买-大户卖),0);
中户买:=(ORDERVOL(1,1)/CAPITAL-ORDERVOL(2,1)/CAPITAL)*100;中户卖:=(ORDERVOL(1,2)/CAPITAL-ORDERVOL(2,2)/CAPITAL)*100;中户净买:=sum((中户买-中户卖),0);散户买:=(1-ORDERVOL(1,1)/CAPITAL)*100;散户卖:=(1-ORDERVOL(2,1)/CAPITAL)*100;散户净买:=sum((散户买-散户卖),0);主力:主力净买;超大:超大净买;大户:大户净买;中户:中户净买;散户:散户净买;a1:=SUM((ORDERVOL(1,3)),0);a2:=SUM((ORDERVOL(2,3)),0);a3:=(SUM((ORDERVOL(1,2)),0))a2;a5:=(SUM((ORDERVOL(1,1)),0))(SUM((ORDERVOL(2,2)),0));a7:=(SUM((ORDERVOL(1,0)),0))(SUM((ORDERVOL(2,1)),0));a9:=(SUM((ORDERVOL(1,0)),0))+(SUM((ORDERVOL(2,0)),0));a10:=a7a6;a12:=a3a2;a14:=(SUM((ORDERVOL(1,2)),0))(a30 * a41);a44:=600(a32 * a41);a46:=600(a34 * a41);a48:=600(a36 * a41);a50:=600(a38 * a42);a52:=600(a40 * a41);a54:=600(大筹 * a41);a56:=600(主筹* a42);DRAWTEXTREL(30,380,'散'),ColorWhite;DRAWTEXTREL(30,480,'户'),ColorWhite;DRAWRECTREL(50,a49,68,600,RGB(200,0,0)),ColorWhite;DRAWRECTREL(68,a50,86,600,RGB(0,200,0)),ColorWhite;DRAWRECTREL(86,a53,104,600,(IF((a10 >= 0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite;DRAWTEXTREL(130,380,'中'),ColorDDFFFF;DRAWTEXTREL(130,480,'户'),ColorDDFFFF;DRAWRECTREL(150,a47,168,600,RGB(200,0,0)),ColorWhite;DRAWRECTREL(168,a48,186,600,RGB(0,200,0)),ColorWhite;DRAWRECTREL(186,a54,204,600,(IF((a11 >= 0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite;DRAWTEXTREL(230,380,'大'),ColorDDFFFF;DRAWTEXTREL(230,480,'户'),ColorDDFFFF;DRAWRECTREL(250,a45,268,600,RGB(200,0,0)),ColorWhite;DRAWRECTREL(268,a46,286,600,RGB(0,200,0)),ColorWhite;DRAWRECTREL(286,a55,304,600,(IF((a12 >= 0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite;DRAWTEXTREL(330,380,'机'),ColorDDFFFF;DRAWTEXTREL(330,480,'构'),ColorDDFFFF;DRAWRECTREL(350,a43,368,600,RGB(200,0,0)),ColorWhite;DRAWRECTREL(368,a44,386,600,RGB(0,200,0)),ColorWhite;DRAWRECTREL(386,a56,404,600,(IF((a13 >= 0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite;DRAWTEXTREL(448,380,'主'),ColorDDFFFF;DRAWTEXTREL(448,480,'力'),ColorDDFFFF;DRAWRECTREL(465,a51,483,600,RGB(200,0,0)),ColorWhite;DRAWRECTREL(483,a52,501,600,RGB(0,200,0)),ColorWhite;DRAWRECTREL(501,a57,519,600,(IF((a14 >= 0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite;DRAWRECTREL(5,600,404,604,0),colorWhite;DRAWRECTREL(910,0,1000,100,rgb(255,0,0)),COLORcyan;
DRAWRECTREL(910,100,1000,200,rgb(1,1,1)),COLORcyan;DRAWTEXTREL(910,0 ,'主力:'),ColorWhite;STR1:=' '+NUMTOSTRN(主净,2);STR6:=''+NUMTOSTRN(主力,2)+'%';DRAWTEXTREL(950,0,STR6),ColorWhite;DRAWTEXTREL(920,100,STR1),ColorWhite;DRAWRECTREL(910,200,1000,300,rgb(0,0,255)),COLORcyan;DRAWRECTREL(910,300,1000,400,rgb(1,1,1)),COLORcyan;DRAWTEXTREL(910 ,200,'超大:'),ColorWhite;STR2:=' '+NUMTOSTRN(超净,2);STR7:=''+NUMTOSTRN(超大,2)+'%';DRAWTEXTREL(950,200,STR7),ColorWhite;DRAWTEXTREL(920,300,STR2),ColorWhite;DRAWRECTREL(910,400,1000,500,rgb(255,255,0)),COLORcyan;DRAWRECTREL(910,500,1000,600,rgb(1,1,1)),COLORcyan;DRAWTEXTREL(910,400 ,'大户:'),ColorBlack;STR3:=' '+NUMTOSTRN(大净,2);STR8:=''+NUMTOSTRN(大户,2)+'%';DRAWTEXTREL(950,400,STR8),ColorBlack;DRAWTEXTREL(920,500,STR3),ColorWhite;DRAWRECTREL(910,600,1000,700,rgb(255,255,250)),COLORcyan;DRAWRECTREL(910,700,1000,800,rgb(1,1,1)),COLORcyan;DRAWTEXTREL(910,600,'中户:'),ColorBlack;STR4:=' '+NUMTOSTRN(中净,2);STR9:=''+NUMTOSTRN(中户,2)+'%';DRAWTEXTREL(950,600,STR9),ColorBlack;DRAWTEXTREL(920,700,STR4),ColorWhite;DRAWRECTREL(910,800,1000,900,rgb(0,255,0)),COLORcyan;DRAWRECTREL(910,900,1000,1000,rgb(1,1,1)),COLORcyan;DRAWTEXTREL(910,800,'散户:'),ColorBlack;STR5:=' '+NUMTOSTRN(散净,2);STR10:=''+NUMTOSTRN(散户净买,2)+'%';DRAWTEXTREL(950,800,STR10),ColorBlack;DRAWTEXTREL(920,900,STR5),ColorWhite;
【大智慧】分时超赢(主净、主现、超净、超现)-指标公式效果图
(文档来源:若水财经社区)
第二篇:【指标公式源码下载】大智慧超赢分时主图指标公式
大智慧超赢分时主图指标公式
DRAWTEXTREL(0,40,'('+STKLABEL+')'+STKNAME+' '+YEAR+'年'+MONTH+'月'+DAY+'日'),COLORYELLOW;GJ:CLOSE,COLORWHITE;HJ:=ABS((CLOSE+HIGH+LOW)/3-MA(CLOSE,3))/MA(CLOSE,3);PHJ:DMA((CLOSE+LOW+HIGH)/3,HJ),LINETHICK3,COLORYELLOW;K1:EMA(C,5),COLORRED;K2:EMA(C,22),COLORYELLOW;K3:EMA(C,66),COLORGREEN;K4:EMA(C,270),COLORBLUE;
第三篇:【指标公式源码下载】大智慧分时超赢指标分时图用(叠加大盘线、均线、超净、外盘、内盘、主增、主动率)(xiexiebang推荐)
大智慧分时超赢指标分时图用(叠加大盘线、均线、超净、外盘、内盘、主增、主动率)
{分时超赢A-(分时主图.叠加超赢)} DRAWTEXTABS(0,5,'《夏卫东-自编》'),COLOR0000FF;{叠加大盘线} TC:=STRCMP(STRLEFT(MARKETLABEL,2),'SZ');DPSH:=“SH000001$CLOSE”/HHV(STKINDI('SH000001','分超引用.昨收#DAY'),0);DPSZ:=“399001$CLOSE”/HHV(STKINDI('399001','分超引用.昨收#DAY'),0);DPC:=IF(INBLOCK('A股板块'),DYNAINFO(3)*IF(TC=0,DPSZ,DPSH),C);POLYLINE(C>0,DPC),COLORFF00FF,LINETHICK2,LAYER0;{分时线} 最新:C,COLORWHITE,LINETHICK2,PRECIS2,LAYER0;AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));BB:=BETWEEN(C/AA,C+H,C-H);均线:IF(BB=0,MA(C,BARSCOUNT(C)),AA),COLOR00FFFF,LINETHICK2,PRECIS2;{分时超赢} ZLLR:=SUM((AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000),0);ZLLC:=SUM((AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000),0);主净:ZLLR-ZLLC,COLOR00FFFF,LINETHICK0,PRECIS2;TDLR:=SUM((AMOUNT*DYNAINFO(95)/10000),0);TDLC:=SUM((AMOUNT*DYNAINFO(98)/10000),0);超净:TDLR-TDLC,COLORFF00FF,LINETHICK0,PRECIS2;DDLR:=SUM((AMOUNT*DYNAINFO(94)/10000),0);DDLC:=SUM((AMOUNT*DYNAINFO(97)/10000),0);大净:DDLR-DDLC,COLOR00FF00,LINETHICK0,PRECIS2;ZDLR:=SUM((AMOUNT*DYNAINFO(93)/10000),0);ZDLC:=SUM((AMOUNT*DYNAINFO(96)/10000),0);中净:ZDLR-ZDLC,COLORB5B5B5,LINETHICK0,PRECIS2;XDLR:=IF(AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93))>0,SUM(((AMOUNT-AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000),0),0);XDLC:=IF(AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96))>0,SUM(((AMOUNT-AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000),0),0);散净:XDLR-XDLC,COLORFF9911,LINETHICK0;外盘:=sum(if(DYNAINFO(23)*close,DYNAINFO(23),0),0)*0.003906;内盘:=sum(if(DYNAINFO(22)*close,DYNAINFO(22),0),0)*0.003906;主动率:=(外盘-内盘)/(内盘+外盘)*100;单数比:=DYNAINFO(92)/DYNAINFO(91);通
吃
率
:=((DYNAINFO(95)+DYNAINFO(94))-(DYNAINFO(98)+DYNAINFO(97)))*VOL/VOL*100;DRAWTEXTABS(440,5,'主动率:'+ NUMTOSTRN(主动率,2)+' 单数比:'+ NUMTOSTRN(单数比,2)+' 通吃率:'+ NUMTOSTRN(通吃率,2)),COLOR00FFFF;DRAWTEXTABS(110,5,''),COLOR0000FF;DRAWTEXTABS(210,5,''),COLOR00FF00;DRAWTEXTABS(310,5,''),COLORFFFFFF;{五分钟资金趋势} 主5:=主净-REF(主净,5);超5:=超净-REF(超净,5);大5:=大净-REF(大净,5);中5:=中净-REF(中净,5);散5:=散净-REF(散净,5);DRAWTEXTABS(110,20,'五分钟各单净买(万):'),COLORFFFF00;DRAWTEXTABS(230,20,'主力:'+ NUMTOSTRN(主5,2)),COLOR00FFFF;DRAWTEXTABS(320,20,'超大:'+ NUMTOSTRN(超5,2)),COLORFF00FF;DRAWTEXTABS(410,20,'大户:'+ NUMTOSTRN(大5,2)),COLOR00FF00;DRAWTEXTABS(500,20,'中户:'+ NUMTOSTRN(中5,2)),COLORB5B5B5;DRAWTEXTABS(590,20,'散户:'+ NUMTOSTRN(散5,2)),COLORFF9911;{画柱图};最大值:=400/(MAX(ZLLR,ZLLC,TDLR,TDLC,DDLR,DDLC,ZDLR,ZDLC,XDLR,XDLC,散净,中净,大净,超净,主净));主力买:=600-(ZLLR*最大值);主力卖:=600-(ZLLC*最大值);超大买:=600-(TDLR*最大值);超大卖:=600-(TDLC*最大值);大户买:=600-(DDLR*最大值);大户卖:=600-(DDLC*最大值);中户买:=600-(ZDLR*最大值);中户卖:=600-(ZDLC*最大值);散户买:=600-(XDLR*最大值);散户卖:=600-(XDLC*最大值);散户净买:=600-(ABS(散净)*最大值);
平
盘
家
数
:'+NUMTOSTRN(DYNAINFO(71),0)+'
家
下
跌
家
数
:'+NUMTOSTRN(DYNAINFO(70),0)+'
家
上
涨
家
数
:'+NUMTOSTRN(DYNAINFO(69),0)+'
家中户净买:=600-(ABS(中净)*最大值);大户净买:=600-(ABS(大净)*最大值);超大净买:=600-(ABS(超净)*最大值);主力净买:=600-(ABS(主净)*最大值);{各单增减比例显示} ZLB:=SUM((ORDERVOL(1,2)/CAPITAL*100),0);ZLS:=SUM((ORDERVOL(2,2)/CAPITAL*100),0);主增:=ZLB-ZLS;TDB:=SUM((ORDERVOL(1,3)/CAPITAL*100),0);TDS:=SUM((ORDERVOL(2,3)/CAPITAL*100),0);超增:=TDB-TDS;DDB:=SUM(((ORDERVOL(1,2)/CAPITAL*100-ORDERVOL(1,3)/CAPITAL*100)),0);DDS:=SUM(((ORDERVOL(2,2)/CAPITAL*100-ORDERVOL(2,3)/CAPITAL*100)),0);大增:=DDB-DDS;ZDB:=SUM(((ORDERVOL(1,1)/CAPITAL*100-ORDERVOL(1,2)/CAPITAL*100)),0);ZDS:=SUM(((ORDERVOL(2,1)/CAPITAL*100-ORDERVOL(2,2)/CAPITAL*100)),0);中增:=ZDB-ZDS;XDB:=SUM(((VOL-ORDERVOL(1,1))/CAPITAL*100),0);XDS:=SUM(((VOL-ORDERVOL(2,1))/CAPITAL*100),0);散增:=XDB-XDS;DRAWRECTREL(330,主力买,350,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL(350,主力卖,370,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL(370,主
力
净
买,390,610,(IF((主
净
0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRAWRECTREL(445,超大买,465,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL(465,超大卖,485,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL(485,超
大
净
买,505,610,(IF((超
净
0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRAWRECTREL(560,大户买,580,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL(580,大户卖,600,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL(600,大
户
净
买,620,610,(IF((大
净
0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRAWRECTREL(675,中户买,695,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL(695,中户卖,715,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL(715,中
户
净
买,735,610,(IF((中
净
0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRAWRECTREL(790,散户买,810,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL(810,散户卖,830,610,RGB(0,200,0)),COLOR000000,LAYER5;
>=
>=
>=
>= DRAWRECTREL(830,散户净买,850,610,(IF((散净 >= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRAWRECTREL(330,620,390,635,RGB(255,255,0));DRAWRECTREL(445,620,505,635,RGB(255,0,255));DRAWRECTREL(560,620,620,635,RGB(0,200,0));DRAWRECTREL(675,620,735,635,RGB(200,200,200));DRAWRECTREL(790,620,850,635,RGB(0,0,200));DRAWTEXTREL(310,530,'主'),ColorDDFFFF;DRAWTEXTREL(310,600,'力'),ColorDDFFFF;DRAWTEXTREL(425,530,'超'),ColorDDFFFF;DRAWTEXTREL(425,600,'大'),ColorDDFFFF;DRAWTEXTREL(540,530,'大'),ColorDDFFFF;DRAWTEXTREL(540,600,'户'),ColorDDFFFF;DRAWTEXTREL(655,530,'中'),ColorDDFFFF;DRAWTEXTREL(655,600,'户'),ColorDDFFFF;DRAWTEXTREL(770,530,'散'),ColorDDFFFF;DRAWTEXTREL(770,600,'户'),ColorDDFFFF;DRAWTEXTREL(290,660,'买入'),colorred;DRAWTEXTREL(290,720,'卖出'),Color00FF00;DRAWTEXTREL(290,780,'净买'),COLOR1199FF;DRAWTEXTREL(290,830,'增减'),COLORFFFF00;DRAWTEXTREL(330,660,NUMTOSTRN(ZLLR,2)),colorred;DRAWTEXTREL(330,720,NUMTOSTRN(ZLLC,2)),COLOR00FF00;DRAWTEXTREL(330,780,NUMTOSTRN(主净,2)),COLOR1199FF;DRAWTEXTREL(330,830,NUMTOSTRN(主增,2)+'%'),COLORFFFF00;DRAWTEXTREL(445,660,NUMTOSTRN(TDLR,2)),colorred;DRAWTEXTREL(445,720,NUMTOSTRN(TDLC,2)),COLOR00FF00;DRAWTEXTREL(445,780,NUMTOSTRN(超净,2)),COLOR1199FF;DRAWTEXTREL(445,830,NUMTOSTRN(超增,2)+'%'),COLORFFFF00;DRAWTEXTREL(560,660,NUMTOSTRN(DDLR,2)),colorred;DRAWTEXTREL(560,720,NUMTOSTRN(DDLC,2)),COLOR00FF00;DRAWTEXTREL(560,780,NUMTOSTRN(大净,2)),COLOR1199FF;DRAWTEXTREL(560,830,NUMTOSTRN(大增,2)+'%'),COLORFFFF00;DRAWTEXTREL(675,660,NUMTOSTRN(ZDLR,2)),colorred;DRAWTEXTREL(675,720,NUMTOSTRN(ZDLC,2)),COLOR00FF00;DRAWTEXTREL(675,780,NUMTOSTRN(中净,2)),COLOR1199FF;DRAWTEXTREL(675,830,NUMTOSTRN(中增,2)+'%'),COLORFFFF00;DRAWTEXTREL(790,660,NUMTOSTRN(XDLR,2)),colorred;DRAWTEXTREL(790,720,NUMTOSTRN(XDLC,2)),COLOR00FF00;DRAWTEXTREL(790,780,NUMTOSTRN(散净,2)),COLOR1199FF;DRAWTEXTREL(790,830,NUMTOSTRN(散增,2)+'%'),COLORFFFF00;
第四篇:大智慧正版超赢指标源码
大智慧正版超赢指标源码
大智慧超赢指标源码: {SVSH主力持仓分析}
input:p1(7);
主力持仓:topview(1436,0,200),LINETHICK2;
bb1:=主力持仓-ref(主力持仓,1);
STICKLINE(bb1=0,bb1+主力持仓,主力持仓,0.1,0),colorred;STICKLINE(bb1>=0.2 and bb1-0.2 and bb1<0,主力持仓+bb1,主力持仓,0.1,0),COLORCYAN;
STICKLINE(bb1-1,主力持仓+bb1,主力持仓,1,0),COLORCYAN;
STICKLINE(bb1-2,主力持仓+bb1,主力持仓,2,0),COLORCYAN;
STICKLINE(bb10,NUMTOSTR(p1)+'日内买卖净占比'+NUMTOSTR(多日净值)+'%'),colorred;
drawmovetext(多日净值0.2,主力持仓+bb1,'当日主力净买入占流通盘的'+NUMTOSTR(intpart(bb1*100)/100)+'%'),colorred;
drawflagtext(bb1<=-0.2,主力持仓+bb1,'当日主力净卖出占流通盘的'+NUMTOSTR(intpart(-bb1*100)/100)+'%'),colorgreen;
DRAWGBK((topview(1400,0,10)-ref(topview(1400,0,10),1))0 and STRCMP(STKLABEL,'000001')0 and capital0),COLOR484848;
drawmovetext((topview(1400,0,10)-ref(topview(1400,0,10),1))>0,'流通A股增加了'+NUMTOSTR((topview(1400,0,10)-ref(topview(1400,0,10),1))/10000)+'万股'),coloryellow;
drawmovetext((topview(1400,0,10)-ref(topview(1400,0,10),1))<0,'流通A股减少了'+NUMTOSTR((ref(topview(1400,0,10),1)-topview(1400,0,10))/10000)+'万股'),coloryellow;
drawtextabs(0,0,'超赢主力持仓'),coloryellow;{SVZJ超赢实时监控}
T1:=topview(1430);
T2:=topview(1431);
T3:=topview(1432);
T4:=topview(1433);
散户:(T1-REF(T1,1))*capital/10000*c,PRECIS1,colorstick;
中户:(T2-REF(T2,1))*capital/10000*c,PRECIS1,colorstick;
大户:(T3-REF(T3,1))*capital/10000*c,PRECIS1,colorstick;
超大:(T4-REF(T4,1))*capital/10000*c,PRECIS1,colorstick;
drawtextrel(0,997,'净额(万元)');
drawtextrel(0,998.5,'分类');drawtextrel(10,998,'#RULER10'),COLORYELLOW;
drawtextrel(20,998,'#RULER10'),COLORYELLOW;
drawtextrel(30,998,'#RULER10'),COLORYELLOW;
drawtextrel(40,998,'#RULER10'),COLORYELLOW;{SVYY超赢盘中趋势}
昨天的超大:=“SVYY.昨日原超大#day”;
昨天的大户:=“SVYY.昨日原大户#day”;
昨天的中户:=“SVYY.昨日原中户#day”;
昨天的散户:=“SVYY.昨日原散户#day”;
当日超大1:=(ordervol(1,3)-ordervol(2,3))/capital*100;当日大户1:=((ordervol(1,2)-ordervol(2,2))-(ordervol(1,3)-ordervol(2,3)))/capital*100;当日中户1:=((ordervol(1,1)-ordervol(2,1))-(ordervol(1,2)-ordervol(2,2)))/capital*100;
当日散户1:=0-当日中户1-当日大户1-当日超大1;
当日散户:=sum(当日散户1,0);
当日中户:=sum(当日中户1,0);
当日大户:=sum(当日大户1,0);
当日超大:=sum(当日超大1,0);
最新超大:=昨天的超大+当日超大;
最新大户:=昨天的大户+当日大户;
最新中户:=昨天的中户+当日中户;
最新散户:=昨天的散户+当日散户;
回归后散户仓位:=1/(exp(50)/100*exp(-(50+(最新散户-50)/20))+0.01);
回归后中户仓位:=1/(exp(50)/100*exp(-(50+(最新中户-50)/20))+0.01);
回归后大户仓位:=1/(exp(50)/100*exp(-(50+(最新大户-50)/20))+0.01);
回归后超大仓位:=1/(exp(50)/100*exp(-(50+(最新超大-50)/20))+0.01);
归百:=100/(回归后散户仓位+回归后中户仓位+回归后大户仓位+回归后超大仓位);
超大:=回归后超大仓位*归百;
大户:=回归后大户仓位*归百;
中户:=回归后中户仓位*归百;
散户:=回归后散户仓位*归百;
盘中变化:大户+超大-ref(大户,1)-ref(超大,1),colorstICK,LINETHICK2;
超赢趋势:sum(盘中变化,0);{SVFL分类排行}
散户:=topview(1430);
中户:=topview(1431);大户:=topview(1432);
超大:=topview(1433);
P1日前散户:=REF(散户,P1);
散户持仓:percentbar(散户,P1日前散户);
P2日前中户:=REF(中户,P2);
中户持仓:percentbar(中户,P2日前中户);
P3日前大户:=REF(大户,P3);
大户持仓:percentbar(大户,P3日前大户);
P4日前超大:=REF(超大,P4);
超大持仓:percentbar(超大,P4日前超大);
散户增减:散户-P1日前散户;中户增减:中户-P2日前中户;
大户增减:大户-P3日前大户;
超大增减:超大-P4日前超大;
活跃资金增减:大户+超大-ref(大户,1)-ref(超大,1);{TRT主力资金线}
variable:eye=0;
eye:=(BIGORDER(1)-BIGORDER(2))*vol/capital*100;
eyes:=sum(eye,0);gold:=eyes+50;
主力资金:gold,color0093f5;
STICKLINE(eye>0 and eye=2,gold,gold+eye,4,0),colorred;
STICKLINE(eye>-0.5 and eye<=0,gold+eye,gold,0.5,0),COLORCYAN;
STICKLINE(eye-1,gold+eye,gold,2,0)SUZL,COLORCYAN;
STICKLINE(eye-2,gold+eye,gold,3,0),COLORCYAN;
STICKLINE(eye=0.3,gold+eye,'当日主力净买入力度'+NUMTOSTR(intpart(eye*100)/100)+'%'),colorred;
drawflagtext(eye<=-0.3,gold+eye,'当日主力净卖出力度'+NUMTOSTR(intpart(eye*100)/100)+'%'),colorgreen;{每日大单} 每日大单:(bigorder(1)-bigorder(2))*vol/capital*100,color3d;{超赢买入-选股公式}
DDX:=(BIGORDER(1)-BIGORDER(2))*vol/capital*100;
DDX>0.1 and DYNAINFO(14)0.1 AND COUNT(DDX>0,10)>=3 and ddx>0.15;
第五篇:【股票指标公式下载】-【大智慧】超赢BS(收盘价、能量级别、短线)
【大智慧】超赢BS(收盘价、能量级别、短线)-指标公式源码
DRAWGBK(v>=0,STRIP(RGB(18,19,51),RGB(1,155,155),0));N:=2;B1:=MA(CLOSE,1);B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);SMA2:=MA(B2,3);FILLRGN(b2,sma2,b2>sma2),colorred;FILLRGN(b2,sma2,b2
STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),OPEN,CLOSE,7,0),colorred;STICKLINE(CLOSE
drawbmp(s1=1 and ref(s1,1)=0 and(p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;drawbmp(s1=0 and ref(s1,1)=1 and(p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;早晨之星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)1.05 AND CLOSE>REF(CLOSE,2);黄昏之星:=REF(CLOSE,2)/REF(OPEN,2)>1.03 AND REF(OPEN,1)>REF(CLOSE,2)AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE1.03;垂死十字:=CLOSE=OPEN AND CLOSE=LOW AND CLOSE<>HIGH;早晨十字星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)1.05 AND CLOSE>REF(CLOSE,2);黄昏十字星:=REF(CLOSE,2)/REF(OPEN,2)>1.05 AND REF(OPEN,1)>REF(CLOSE,2)AND REF(OPEN,1)=REF(CLOSE,1)AND CLOSE/OPEN<0.95 AND CLOSE3*(MAX(OPEN,CLOSE)-LOW)AND CLOSE>MA(CLOSE,5);倒转锤头:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW)AND CLOSE (CLOSE,1));乌云盖顶:=REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1)AND CLOSE1.03 AND OPENREF(CLOSE,1);身怀六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04 AND ABS(CLOSE-OPEN)/CLOSE<0.005AND MAX(CLOSE,OPEN) 出水芙蓉:=(OPEN 解盘:='【K线形态解盘】'+ IFs(倾盆大雨,'★倾盆大雨 见顶信号;','')+ IFs(大阴烛,'★大阴烛 后市向淡,发生逆转;','')+ IFs(好友反攻,'★好友反攻 底部反转;','')+ IFs(跳空缺口,'★跳空缺口 注意向上还是向下跳空;','')+ IFs(光脚阴线,'★光脚阴线 下跌信号;','')+ IFs(光头阳线,'★光头阳线 光头阳线,后市看涨;','')+ IFs(三只乌鸦,'★三只乌鸦 三只乌鸦,可能见顶回落;','')+ IFs(分离,'★分离 注意看涨分离和看跌分离;','')+ IFs(长下影,'★长下影 持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意;','')+ IFs(长上影,'★长上影 表明行情上档压力沉重,升势受阻;','')+ IFs(下跌三部曲,'★下跌三部曲 下跌三部曲,下跌信号;','')+ IFs(上升三部曲,'★上升三部曲 上涨信号;','')+ IFs(早晨之星,'★早晨之星 见底回升;','')+ IFs(黄昏之星,'★黄昏之星 见顶回落;','')+ IFs(十字星,'★十字星 有转向意味,注意股价位置在顶部还是底部;','')+ IFs(长十字,'★长十字 注意在顶部还是底部;','')+ IFs(垂死十字,'★垂死十字 下跌信号;','')+ IFs(早晨十字星,'★早晨十字星 上涨信号,见底回升;','')+ IFs(黄昏十字星,'★黄昏十字星 下跌信号,见顶回落;','')+ IFs(射击之星,'★射击之星 可能见顶回落,可靠性低;','')+ IFs(倒转锤头,'★倒转锤头 可能见底回升;','')+ IFs(锤头,'★锤头 可能见底回升,如有量配合,信号强烈;','')+ IFs(吊颈,'★吊颈 上升行情中见顶回落,顶部出现,见顶信号;','')+ IFs(平顶,'★平顶 温和的反转;','')+ IFs(穿头破脚,'★穿头破脚 顶部出现,见顶回落信号;','')+ IFs(乌云盖顶,'★乌云盖顶 见顶回落信号;','')+ IFs(曙光初现,'★曙光初现 后市见底回升;','')+ IFs(身怀六甲,'★身怀六甲 ,出现在底部,是见底回升信号;出现在顶部,是见顶回落信意;','')+ IFs(十字胎,'★十字胎 注意股价位置;','')+ IFs(平底,'★平底 温和的反转;','')+ IFs(大阳烛,'★大阳烛 看涨;','')+ IFs(三个白武士,'★三个白武士 每日收盘价上移,表示可能见底回升;','')+ IFs(双飞乌鸦,'★双飞乌鸦 ,行情将见顶回落;','')+ IFs(孕育线,'★孕育线 注意股价位置;','')+ IFs(多方炮,'★多方炮 在底部出现有上涨意味,在中间出现有可能是上涨中继,顶部出现是复 合见顶信号;','')+ IFs(出水芙蓉,'★出水芙蓉;','');DRAWTEXTREL(10,10,BKNAME),Color00FFFD,LINETHICK3;DRAWTEXTABS(10,30,解盘),LINETHICK2,COLORff00FF;DRAWFLAGTEXT(倾盆大雨,c,'★倾盆大雨,见顶信号'),COLORFF00FF;DRAWFLAGTEXT(大阴烛,c,'★大阴烛,后市向淡,发生逆转'),COLORFF00FF;DRAWFLAGTEXT(好友反攻,c,'★好友反攻,底部反转'),COLORFF00FF;DRAWFLAGTEXT(跳空缺口,c,'★跳空缺口,注意向上还是向下跳空'),COLORFF00FF;DRAWFLAGTEXT(光脚阴线,c,'★光脚阴线,下跌信号'),COLORFF00FF;DRAWFLAGTEXT(光头阳线,c,'★光头阳线,后市看涨'),COLORFF00FF;DRAWFLAGTEXT(三只乌鸦,c,'★三只乌鸦,可能见顶回落'),COLORFF00FF;DRAWFLAGTEXT(分离,c,'★分离,注意看涨分离和看跌分离'),COLORFF00FF;DRAWFLAGTEXT(长下影,c,'★长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意'),COLORFF00FF;DRAWFLAGTEXT(长上影,c,'★长上影,表明行情上档压力沉重,升势受阻'),COLORFF00FF;DRAWFLAGTEXT(下跌三部曲,c,'★下跌三部曲,下跌信号'),COLORFF00FF;DRAWFLAGTEXT(上升三部曲,c,'★上升三部曲,上涨信号'),COLORFF00FF;DRAWFLAGTEXT(早晨之星,c,'★早晨之星,见底回升'),COLORFF00FF;DRAWFLAGTEXT(黄昏之星,c,'★黄昏之星,见顶回落'),COLORFF00FF;DRAWFLAGTEXT(十字星,c,'★十字星,有转向意味,注意股价位置在顶部还是底部'),COLORFF00FF;DRAWFLAGTEXT(长十字,c,'★长十字,注意在顶部还是底部'),COLORFF00FF;DRAWFLAGTEXT(垂死十字,c,'★垂死十字,下跌信号'),COLORFF00FF;DRAWFLAGTEXT(早晨十字星,c,'★早晨十字星,上涨信号,见底回升'),COLORFF00FF;DRAWFLAGTEXT(黄昏十字星,c,'★黄昏十字星,下跌信号,见顶回落'),COLORFF00FF;DRAWFLAGTEXT(射击之星,c,'★射击之星,可能见顶回落,可靠性低'),COLORFF00FF;DRAWFLAGTEXT(倒转锤头,c,'★倒转锤头,可能见底回升'),COLORFF00FF; DRAWFLAGTEXT(锤头,c,'★锤头,可能见底回升,如有量配合,信号强烈'),COLORFF00FF;DRAWFLAGTEXT(吊颈,c,'★吊颈,上升行情中见顶回落,顶部出现,见顶信号'),COLORFF00FF;DRAWFLAGTEXT(平顶,c,'★平顶,温和的反转'),COLORFF00FF;DRAWFLAGTEXT(穿头破脚,c,'★穿头破脚,顶部出现,见顶回落信号'),COLORFF00FF;DRAWFLAGTEXT(乌云盖顶,c,'★乌云盖顶,见顶回落信号'),COLORFF00FF;DRAWFLAGTEXT(曙光初现,c,'★曙光初现,后市见底回升'),COLORFF00FF;DRAWFLAGTEXT(身怀六甲,c,'★身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信意'),COLORFF00FF;DRAWFLAGTEXT(十字胎,c,'★十字胎'),COLORFF00FF;DRAWFLAGTEXT(平底,c,'★平底,温和的反转'),COLORFF00FF;DRAWFLAGTEXT(大阳烛,c,'★大阳烛,看涨'),COLORFF00FF;DRAWFLAGTEXT(三个白武士,c,'★三个白武士,每日收盘价上移,表示可能见底回升'),COLORFF00FF;DRAWFLAGTEXT(双飞乌鸦,c,'★双飞乌鸦,行情将见顶回落'),COLORFF00FF;DRAWFLAGTEXT(孕育线,c,'★孕育线,注意股价位置'),COLORFF00FF;DRAWFLAGTEXT(多方炮,c,'★多方炮,在底部出现有上涨意味,在中间出现有可能是上涨中继,顶部出现是复 合见顶信号'),COLORFF00FF; 【大智慧】超赢BS(收盘价、能量级别、短线)-指标公式效果图 (文档来源:若水财经社区)