【股票指标公式下载】-【大智慧】主力进场(私募机构、进场、加仓)
【股票指标公式下载】-【大智慧】主力监控(买入单数、单数差、大单卖出、机构吃货均量)
2010-12-11 11:41
(文档来源:若水财经社区)
大单买入:DYNAINFO(94),PRECIS0;
大单FO(94)-DYNAINFO(97),PRECIS0;
机构买单数:DYNAINFO(99),PRECIS0;
机构卖单数:DYNAINFO(100),PRECIS0;
机构单数差:DYNAINFO(99)-DYNAINFO(100),PRECIS0;
机构吃货数:DYNAINFO(102),PRECIS0;
机构吐货数:DYNAINFO(103),PRECIS0;
吃吐数差:DYNAINFO(102)-DYNAINFO(103),PRECIS0;
机构吃货量:DYNAINFO(104),PRECIS0;
机构吐货量:DYNAINFO(105),PRECIS0;
吃吐量差:DYNAINFO(104)-DYNAINFO(105),PRECIS0;
机构吃货均量:DYNAINFO(106),PRECIS0;
机构吐货均量:DYNAINFO(107),PRECIS0;
【大智慧】主力监控(买入单数、单数差、大单卖出、机构吃货均量)-指标公式效果图
下载次数: 0
2010-12-11 11:43
大智慧主力监控买入单数单数差大单卖出机构吃货均量指标公式效果图文档来源
【大智慧】主力监控(买入单数、单数差、大单卖出、机构吃货均量)-指标公式源码
买入单数:DYNAINFO(91),PRECIS0;
卖出单数:DYNAINFO(92),PRECIS0;
单数差:DYNAINFO(92)-DYNAINFO(91),PRECIS0;
大智慧L2主力资金监控(设置方法)(指标公式)
大智慧L2主力资金监控(设置方法)(指标公式)大智慧L2主力资金监控(设置方法)(指标公式)1、安装指标{主力持仓}HS:=vol/capital;DD:=BIGORDER(1,2)-BIGORDER(2,2);DT:=HS*DD*100;主力持仓: 50+Sum(DT,0),linethick2;三日:SUM(主力持仓,3),linethick0;五日:SUM(主力持仓,5),linethick0;十日:SUM(主力持仓,10),linethick0;当日增减度: DT, linethick0;STICKLINE(DT>0,主力持仓,主力持仓+DT,5,0),COLORRed; STICKLine(DT<0,主力持仓+DT,主力持仓,5,0),COLORGreen; 当日成交 := (DT * capital) * DYNAINFO(11)/10000;买入手数 := (capital*DT)/100;净买比:买入手数/vol*100,linethick0;if (当日成交>=0) thenbeginStr1:= '净买入:'+ NUMTOSTRN(当日成交,0)+'万元,';Str2 := '净买入:'+ NUMTOSTRN(买入手数,0)+'手,';Str3 := '当日增减度:' + NUMTOSTRN(DT,3);end;if 当日成交<0 thenbeginStr1:= '净卖出:'+ NUMTOSTRN(当日成交,0)+'万元,';Str2 := '净卖出:'+ NUMTOSTRN(买入手数,0)+'手,';Str3 := '当日增减度:' + NUMTOSTRN(DT,3);end;DRAWFLAGTEXT(DT>=0,主力持仓,Str1+str2+str3),COLORRED;DRAWFLAGTEXT(DT<0,主力持仓,Str1+str2+str3),COLORGREEN;{资金流向主力资金}一日资金流入:amount*BIGORDER(1,2)/10000,colorred,linethick0;一日资金流出:amount*BIGORDER(2,2)/10000,colorgreen,linethick0;净额:一日资金流入-一日资金流出,linethick0;十日飘红:count(净额>0,10),colorred;连续飘红:last(净额>0);stickline(净额>0,0,净额,3,0),colorred,linethick2;stickline(净额<0,净额,0,3,0),colorgreen,linethick2;0,dotline,colorwhite;注意:要分别安装2个指标,不需要设为常用指标。
【股票指标公式下载】-【大智慧】分时控盘(主力出货、有庄控盘、高度控盘)
【大智慧】分时控盘(主力出货、有庄控盘、高度控盘)-指标公式源码VAR1:=EMA(EMA(CLOSE,13),13);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,1,1),COLOR00FF00;STICKLINE(控盘>REF(控盘,1) AND 控盘<0,控盘,0,1,1),COLORFF00FF;无庄控盘:=控盘<0;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLOR0000FF;有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;VAR2:=100*WINNER(CLOSE*0.95);STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLORFFFF00;主力出货:=控盘<REF(控盘,1) AND 控盘>0;STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,1),COLOR00FFFF;高度控盘: VAR2>50 AND COST(85)<CLOSE AND 控盘>0,COLOR00FFFF,LINETHICK2; A10:=CROSS(控盘,0);控盘B:=FILTER(IF(A10,1,0),5);JJ:=DYNAINFO(11);P:=55;S:=8;M1:=3;财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;神:=EMA(财,M1);BTJ1:=(C-JJ)/JJ<-0.03;BTJ11:=(C-JJ)/JJ<-0.03;STJ1:=(C-JJ)/JJ>0.005;STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;STJ02:=控盘>0;BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;{波段买卖条件}BTJ3:=CROSS(财,神) AND 财<-0.3;BTJ32:=CROSS(财,神) AND 财<-0.1;STJ31:=CROSS(神,财);STJ32:=CROSS(神,财) AND 财>1.618;BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);DRAWTEXT(BTJ81,神,'↑买底'),COLORRED;DRAWTEXT(BTJ811,神*1.2,'↑有庄'),COLORWHITE;STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);STJ82:=FILTER(STJ02 AND STJ32 ,13);STJ83:=STJ81 AND STJ82;DRAWTEXT(STJ83,神,'↓卖'),COLOR00FF00;DIFF: (EMA(CLOSE,8) - EMA(CLOSE,55))*10,COLORRED;DEA: EMA(DIFF,3),COLORGREEN;庄:= BTJ11 AND BTJ2 AND BTJ3;有庄:FILTER(庄,55),COLORWHITE;DRAWTEXT(BTJ811,有庄,'有庄'),COLORWHITE;【大智慧】分时控盘(主力出货、有庄控盘、高度控盘)-指标公式效果图(文档来源:若水财经社区)。
大智慧主力建仓和出货指标公式
AAA:=(DMA(VAR11,(VOL /SUM(VOL,90))) * 60);
BBB:=(DMA(VAR11,(VOL / CAPITAL)) * 60);
VAR7:=(EMA(VAR6,3) - 10);
A:=1.1*C;
B:=0.9*C;
B1:=100*(WINNER(A)-WINNER(B));
C1:=MA(C,13)<REF(MA(C,13),1);
D1:=IF(C>1000,CROSS(VAR3,22),CROSS(VAR3,24));
锁定筹码:=100-B1;
请注意甄别内容中的联系方式诱导购买等信息谨防诈骗
大智慧主力建仓和出货指标公式
VAR0:=DYNAINFO(5);
VAR1:=BARSCOUNT(HIGH);
VAR2:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);
低位金叉跟进:=IF((VAR1 > 20),VAR2,0);
VAR5:=EMA(VAR4,8);
VAR6:=((3 * SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1),3,1)));
锁定区:STICKLINE(锁定筹码>70 AND C1,0,锁定筹码-65,8,0),COLOR0000FF;
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)第一篇:【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式源码{【SUPERVIEW大资金流向】} DRAWTEXTABS(0,2,'《若水》'),COLOR0000FF;DRAWTEXTABS(85,2,'《若水》'),COLORYELLOW;DRAWTEXTREL(350,10,'【SUPERVIEW大资金流向】'),LINETHICK4,Color00b5ff;DRAWTEXTABS(0,38,'大盘指数:'+INDEXC+''),LINETHICK0,COLORFF00FF;DRAWTEXTABS(0,52,'大盘涨跌:'+INDEXC-REF(INDEXC,1)),LINETHICK0,PRECIS2,COLORFFFF00;DRAWTEXTA BS(100,52,''+((INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100)+'%'),LINETHICK0,PRECIS2,C OLORFFFF00;DRAWTEXTABS(0,140,'股票代码:'+STKLABEL+''),LINETHICK1,COLORFFFF00;DRAWTEXTABS(0,155 ,'股票名称:'+STKNAME+''),LINETHICK1,COLORFFFF00;DRAWTEXTABS(0,17 0,'最新价格:'+DYNAINFO(7)+'元'),LINETHICK0,COLORFF00FF;DRAWTEXTABS(0,185,'今日涨幅:'+DYNAINFO(14)*100+'%'),LINETHICK0,COLOR00FFFF,PRECIS2; DRAWTEXTABS(0,200,'今日涨跌:'+C-REF(C,1)),LINETHICK0,COLORFFFF00,PRECIS2;DRAWTEXTABS(0,2 14,'历史最高价:'+HHV(HIGH,0)),Colorred,LINETHICK0;DRAWTEXTABS(0,229,'历史最低价:'+LLV(LOW,0)),COLOR00FF00,LINETHICK0;TODAY:=DYNAINFO(7 )=CLOSE and DYNAINFO(10)=AMOUNT;{判断是否当天} {叠加大盘线} TC:=STRCMP(STRLEFT(MARKETLABEL,2),'SZ');DPSH:=“SH00000 1$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),CO LORFF00FF,LINETHICK2,LAYER0;{DRAWTEXTABS(90,5,TC);} DRAWTEXTABS(0,66,'上涨家数:'+NUMTOSTRN(DYNAINFO(69),0)+' 家'),COLOR0000FF;DRAWTEXTABS(0,80,'下跌家数:'+NUMTOSTRN(DYNAINFO(70),0)+' 家'),COLOR00FF00;DRAWTEXTABS(0,94,'平盘家数:'+NUMTOSTRN(DYNAINFO(71),0)+' 家'),COLORFFFFFF;{分时超赢} HS:=vol/capital;主单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,2),BIGORDER(1,2[/email]));主单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,2),BIGORDER(2,2[/email]));特单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,3),bigorder(1,3[/email]));特单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,3),bigorder(2,3[/email]));大单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,2)-“DDEDATA@BIGORDER”(1,3),bigorder(1,2)-bigorder(1,3[/email]));大单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,2)-“DDEDATA@BIGORDER”(2,3),bigorder(2,2)-bigorder(2,3[/email]));中单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,1)-“DDEDATA@BIGORDER”(1,2),bigord er(1,1)-bigorder(1,2[/email]));中单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,1)-“DDEDATA@BIGORDER”(2,2),bigorder(2,1)-bigorder(2,2[/email]));小单买:=IF(TODAY,1-“[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER”(1,1),1 -bigorder(1,1[/email]));小单卖:=IF(TODAY,1-“[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER”(2,1),1 -bigorder(2,1[/email]));外盘:=sum(if(DYNAINFO(23)*close,DYNAINFO(23),0),0)*0.003906;内盘:=sum(if(DYNAINFO(22)*close,DYNAINFO(22),0),0)*0.003906;主动率:=(外盘-内盘)/(内盘+外盘)*100;单数比:=IF(DYNAINFO(92)/DYNAINFO(91),DYNAINFO(92)/DYNAINF O(91),0);TCL1:=IF(TODAY ,(大单买+特单买),(DYNAINFO(95)+DYNAINFO(94)));TCL2:=IF(TODAY,(特单卖+大单卖),(DYNAINFO(98)+DYNAINFO(97)));{通吃率:=(TCL1-TCL2)*VOL/VOL*100;} DRAWTEXTABS(0,108,'主动率:'+ NUMTOSTRN(主动率,2)),COLOR00FFFF;DRAWTEXTABS(0,122,'单数比:'+ NUMTOSTRN(单数比,2)),COLOR00FFFF;{DRAWTEXTABS(0,136,'通吃率:'+ NUMTOSTRN(通吃率,2)),COLOR00FFFF;} TDLR:=特单买*AMOUNT/10000;TDLC:=特单卖*AMOUNT/10000;超净:TDLR-TDLC,COLORFF00FF,LINETHICK0,PRECIS2;超增:SUM(特单买,1)-SUM(特单卖,1)%,COLORFF00FF,LINETHICK0,PRECIS2;CD:=特单买-特单卖;超大:=HS*CD*100;超大持仓:= 25+Sum(超大,0);DDLR:=大单买*AMOUNT/10000;DDLC:=大单卖*AMOUNT/10000;大净:(DDLR-DDLC),COLOR00FF00,LINETHICK0,PRECIS2;大增:SUM(大单买,1)-SUM(大单卖,1)%,COLOR00FF00,LINETHICK0,PRECIS2;DD:=大单买-大单卖;大户:=HS*DD*100;大户持仓:=25+Sum(大户,0);ZDLR:=中单买*AMOUNT/10000;ZDLC:=中单卖*AMOUNT/10000;中净:(ZDLR-ZDLC),COLORB5B5B5,LINETHICK0,PRECIS2;中增:SUM(中单买,1)-SUM(中单卖,1)%,COLORB5B5B5,LINETHICK0,PRECIS2;ZD:=中单买-中单卖;中户:=HS*ZD*100;中户持仓:= 25+Sum(中户,0);XDLR:=小单买*AMOUNT/10000;XDLC:=小单卖*AMOUNT/10000;散净:(XDLR-XDLC),COLORFF9911,LINETHICK0,PRECIS2;散增:SUM(小单买,1)-SUM(小单卖,1)%,COLORFF9911,LINETHICK0,PRECIS2;XD:=小单买-小单卖;散户:=HS*XD*100;散户持仓:= 25+Sum(散户,0);ZLLR:=主单买*AMOUNT/10000;ZLLC:=主单卖*AMOUNT/10000;主净:ZLLR-ZLLC,COLOR00FFFF,LINETHICK0,PRECIS2;主增:SUM(主单买,1)-SUM(主单卖,1)%,COLOR00FFFF,LINETHICK0,PRECIS2;主力:=(超大+大户);主力持仓:=(超大持仓+大户持仓);{五分钟资金趋势} 主5:=主净-REF(主净,5);超5:=超净-REF(超净,5);大5:=大净-REF(大净,5);中5:=中净-REF(中净,5);散5:=散净-REF(散净,5);DRAWTEXTABS(105,25,'五分钟各单净买(万):'),COLORFFFF00;DRAWTEXTABS(225,25,'主力:'+ NUMTOSTRN(主5,2)),COLOR00FFFF;DRAWTEXTABS(325,25,'机构:'+ NUMTOSTRN(超5,2)),COLORFF00FF;DRAWTEXTABS(425,25,'大户:'+ NUMTOSTRN(大5,2)),COLOR00FF00;DRAWTEXTABS(525,25,'中户:'+ NUMTOSTRN(中5,2)),COLORB5B5B5;DRAWTEXTABS(625,25,'散户:'+ NUMTOSTRN(散5,2)),COLORFF9911;{画柱图};最大值:=400/(MAX(ZLLR,ZLLC,TDLR,TDLC,DDLR,DDLC,ZDLR,ZDLC,XD LR,XDLC,散净,中净,大净,超净,主净));主力买:=600-(ZLLR*最大值);主力卖:=600-(ZLLC*最大值);主力净买:=500-(ABS(主净)*最大值);超大买:=600-(TDLR*最大值);超大卖:=600-(TDLC*最大值);超大净买:=500-(ABS(超净)*最大值);大户买:=600-(DDLR*最大值);大户卖:=600-(DDLC*最大值);大户净买:=500-(ABS(大净)*最大值);中户买:=600-(ZDLR*最大值);中户卖:=600-(ZDLC*最大值);中户净买:=500-(ABS(中净)*最大值);散户买:=600-(XDLR*最大值);散户卖:=600-(XDLC*最大值);散户净买:=500-(ABS(散净)*最大值);DRAWRECTREL(280,主力买,300,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 300,主力卖,320,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 320,主力净买,340,610,(IF((主净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(410,超大买,430,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 430,超大卖,450,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 450,超大净买,470,610,(IF((超净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(540,大户买,560,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 560,大户卖,580,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 580,大户净买,600,610,(IF((大净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(670,中户买,690,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 690,中户卖,710,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 710,中户净买,730,610,(IF((中净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(800,散户买,820,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 820,散户卖,840,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL(840,散户净买,860,610,(IF((散净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;{横彩条} DRAWRECTREL(280,620,340,650,RGB(255,255,0));DRAWRECTREL (410,620,470,650,RGB(255,0,255));DRAWRECTREL(540,620,600,6 50,RGB(0,200,0));DRAWRECTREL(670,620,730,650,RGB(200,200,2 00));DRAWRECTREL(800,620,860,650,RGB(0,0,200));{显示文字} DRAWTEXTREL(260,450,'主'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(260,580,'力'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(390,450,'机'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(390,580,'构'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(520,450,'大'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(520,580,'户'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(650,450,'中'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(650,580,'户'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(780,450,'散'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(780,580,'户'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(230,680,'买入:'),colorred;DRAWTEXTREL(230,750,'卖出:'),Color00FF00;DRAWTEXTREL(230,820,'净买:'),COLOR1199FF;DRAWTEXTREL(230,890,'持仓:'),COLOR00FFFF;DRAWTEXTREL(230,960,'增减:'),COLORFFFF00;{显示数据} DRAWTEXTREL(280,680,NUMTOSTRN(ZLLR,2)),colorred;DRAWT EXTREL(280,750,NUMTOSTRN(ZLLC,2)),COLOR00FF00;DRAWTEX TREL(280,820,NUMTOSTRN(主净,2)),COLOR1199FF;DRAWTEXTREL(280,890,NUMTOSTRN(主力持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(280,960,NUMTOSTRN(主增,2)+'%'),COLORFFFF00;DRAWTEXTREL(410,680,NUMTOSTRN(T DLR,2)),colorred;DRAWTEXTREL(410,750,NUMTOSTRN(TDLC,2)), COLOR00FF00;DRAWTEXTREL(410,820,NUMTOSTRN(超净,2)),COLOR1199FF;DRAWTEXTREL(410,890,NUMTOSTRN(超大持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(410,960,NUMTOSTRN(超增,2)+'%'),COLORFFFF00;DRAWTEXTREL(540,680,NUMTOSTRN( DDLR,2)),colorred;DRAWTEXTREL(540,750,NUMTOSTRN(DDLC,2 )),COLOR00FF00;DRAWTEXTREL(540,820,NUMTOSTRN(大净,2)),COLOR1199FF;DRAWTEXTREL(540,890,NUMTOSTRN(大户持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(540,960,NUMTOSTRN(大增,2)+'%'),COLORFFFF00;DRAWTEXTREL(670,680,NUMTOSTRN( ZDLR,2)),colorred;DRAWTEXTREL(670,750,NUMTOSTRN(ZDLC,2) ),COLOR00FF00;DRAWTEXTREL(670,820,NUMTOSTRN(中净,2)),COLOR1199FF;DRAWTEXTREL(670,890,NUMTOSTRN(中户持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(670,960,NUMTOSTRN(中增,2)+'%'),COLORFFFF00;DRAWTEXTREL(800,680,NUMTOSTRN( XDLR,2)),colorred;DRAWTEXTREL(800,750,NUMTOSTRN(XDLC,2) ),COLOR00FF00;DRAWTEXTREL(800,820,NUMTOSTRN(散净,2)),COLOR1199FF;DRAWTEXTREL(800,890,NUMTOSTRN(散户持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(800,960,NUMTOSTRN(散增,2)+'%'),COLORFFFF00;【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式效果图(文档来源:若水财经社区)第二篇:【股票指标公式下载】-【大智慧】后复权(后复权折合价) 【大智慧】后复权(后复权折合价)-指标公式源码VARIABLE:总除权比例=1;{请在不复权状态下使用} 每股派息:=IF(DIVIDBARS(0)=0,DIVIDEND(0),0);派息总量:=SUM(IF(BARPOS=1,0,每股派息),0);当天除权:=IF(SPLITBARS(0)=0,1,0);除权次数:=SUM(IF(BARPOS=1,0,当天除权),0);除权比例:=SPLIT(0);IF 除权次数<>REF(除权次数,1)THEN 总除权比例:=总除权比例*除权比例;后复权折合价:=(C+派息总量)/总除权比例;后复权折合价;DRAWTEXT(DIVIDBARS(0)=0,后复权折合价,'息'),COLORYELLOW;DRAWTEXT(SPLITBARS(0)=0,后复权折合价,'权'),COLORRED,VALIGN2;【大智慧】后复权(后复权折合价)-指标公式效果图(文档来源:若水财经社区)第三篇:大盘10日线操作股票法2010年5月20日重点谈大盘10日均线法大盘指数翻上10日均线,站稳之后再持股,翻下10日线就持币。
大智慧量化公式
大智慧量化公式
以下是大智慧股票指标公式:
1. 做空95:HHV((HIGH+LOW+OPEN+2CLOSE)/5+H-L,5),颜色为蓝色。
2. 做空68:HHV((HIGH+LOW+OPEN+2CLOSE)/52-L,5),颜色为红色。
3. 平衡点:LLV((HIGH+LOW+OPEN+2CLOSE)/5,3),颜色为灰色,DOTLINE。
4. 做多68:LLV((HIGH+LOW+OPEN+2CLOSE)/52-H,8),颜色为绿色。
5. 做多95:LLV((HIGH+LOW+OPEN+2CLOSE)/5-H+L,8),颜色为浅绿色。
6. F:=100(C-REF(C,1))/REF(C,1),表示当前收盘价与前一日收盘价的差值
占前一日收盘价的百分比。
7. 今小昨:IF(C<REF(O,1) AND f<0,1,0),表示当前收盘价小于前一日开
盘价且当前差值小于0时为1,否则为0。
8. 今小前:IF(C<REF(O,2) AND f<0,1,0),表示当前收盘价小于前两日开
盘价且当前差值小于0时为1,否则为0。
9. 真实波动范围(TR)的计算公式为TR=Max(H-L,H-PDC,PDC-L),其中
H表示当日的最高价,L表示当日的最低价,PDC表示前一日的收盘价。
以上是大智慧股票指标公式的部分示例,如需更多信息,建议查阅大智慧股票软件官网或咨询专业金融分析师。
很棒的大智慧指标公式-主力进出
(幅图指标)主力进出公式A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);主力:MA(A,4),LINETHICK0,color00FFFF;游资:MA(A,8),LINETHICK0,color00FF00;大户:MA(A,16),LINETHICK0,color0000FF;散户:MA(A,32),LINETHICK0,colorFFFF00;主力参与比例:CEILING(((主力/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,color00FFFF;游资参与比例:CEILING(((游资/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,color00FF00;大户参与比例:CEILING(((大户/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,color0000FF;散户参与比例:CEILING(((散户/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,colorFFFF00;警戒线:MA(A,180),colorFF00FF;STICKLINE((主力> 0),0,主力,8,0),color0000FF;STICKLINE((主力> 0),0,主力,7.8,0),color0018FF;STICKLINE((主力> 0),0,主力,7.5,0),color001BFF;STICKLINE((主力> 0),0,主力,7.3,0),color0022FF;STICKLINE((主力> 0),0,主力,7,0),color0035FF;STICKLINE((主力> 0),0,主力,6.8,0),color0041FF;STICKLINE((主力> 0),0,主力,6.5,0),color0050FF;STICKLINE((主力> 0),0,主力,6.3,0),color0059FF;STICKLINE((主力> 0),0,主力,6,0),color0062FF;STICKLINE((主力> 0),0,主力,5.7,0),color006CFF;STICKLINE((主力> 0),0,主力,5.5,0),color007AFF;STICKLINE((主力> 0),0,主力,5.3,0),color0080FF;STICKLINE((主力> 0),0,主力,5,0),color0089FF;STICKLINE((主力> 0),0,主力,4.5,0),color0095FF;STICKLINE((主力> 0),0,主力,3.5,0),color009CFF;STICKLINE((主力> 0),0,主力,3,0),color00ABFF;STICKLINE((主力> 0),0,主力,2.5,0),color00C0FF;STICKLINE((主力> 0),0,主力,1.5,0),color00D1FF;STICKLINE((主力> 0),0,主力,1,0),color00EAFF;STICKLINE((主力> 0),0,主力,0.7,0),color00FFFF;STICKLINE((游资> 0),0,游资,8,0),color006800;STICKLINE((游资> 0),0,游资,7.8,0),color007F00;STICKLINE((游资> 0),0,游资,7,5),color008B00;STICKLINE((游资> 0),0,游资,7,3),color008B00;STICKLINE((游资> 0),0,游资,6.8,0),color009500; STICKLINE((游资> 0),0,游资,6.5,0),color009C00; STICKLINE((游资> 0),0,游资,6.3,0),color00A300; STICKLINE((游资> 0),0,游资,6,0),color00AB00; STICKLINE((游资> 0),0,游资,5.7,0),color00AF00; STICKLINE((游资> 0),0,游资,5.5,0),color00B900; STICKLINE((游资> 0),0,游资,5.3,0),color00C000; STICKLINE((游资> 0),0,游资,5,0),color00C100; STICKLINE((游资> 0),0,游资,4.5,0),color00CA00; STICKLINE((游资> 0),0,游资,3.5,0),color00D300; STICKLINE((游资> 0),0,游资,3,0),color00DB00; STICKLINE((游资> 0),0,游资,2.5,0),color00EA00; STICKLINE((游资> 0),0,游资,1.5,0),color00FF00; STICKLINE((大户> 0),0,大户,8,0),color102088; STICKLINE((大户> 0),0,大户,7,0),color102099; STICKLINE((大户> 0),0,大户,6,0),color1020AA; STICKLINE((大户> 0),0,大户,5,0),color1020BB; STICKLINE((大户> 0),0,大户,4,0),color1020CC; STICKLINE((大户> 0),0,大户,3,0),color1020DD; STICKLINE((大户> 0),0,大户,2,0),color1020EE; STICKLINE((大户> 0),0,大户,1,0),color1020FF; STICKLINE((大户> 0),0,大户,8,0),color102088; STICKLINE((大户> 0),0,大户,7,0),color102099; STICKLINE((大户> 0),0,大户,6,0),color1020AA; STICKLINE((大户> 0),0,大户,5,0),color1020BB; STICKLINE((大户> 0),0,大户,4,0),color1020CC; STICKLINE((大户> 0),0,大户,3,0),color1020DD; STICKLINE((大户> 0),0,大户,2,0),color1020EE; STICKLINE((大户> 0),0,大户,1,0),color1020FF; STICKLINE((散户> 0),0,散户,8,0),colorFF7700; STICKLINE((散户> 0),0,散户,7,0),colorFF8800; STICKLINE((散户> 0),0,散户,6,0),colorFF9900; STICKLINE((散户> 0),0,散户,5,0),colorFFAA00; STICKLINE((散户> 0),0,散户,4,0),colorFFBB00; STICKLINE((散户> 0),0,散户,3,0),colorFFCC00; STICKLINE((散户> 0),0,散户,2,0),colorFFDD00; STICKLINE((散户> 0),0,散户,1,0),colorFFEE00; STICKLINE((散户> 0),0,散户,8,0),colorFF7700; STICKLINE((散户> 0),0,散户,7,0),colorFF8800; STICKLINE((散户> 0),0,散户,6,0),colorFF9900; STICKLINE((散户> 0),0,散户,5,0),colorFFAA00; STICKLINE((散户> 0),0,散户,4,0),colorFFBB00; STICKLINE((散户> 0),0,散户,3,0),colorFFCC00;STICKLINE((散户> 0),0,散户,1,0),colorFFEE00;逃顶专家公式用法:两条k线相重合,顶部到来,出现蓝色k线,逃顶。
【股票指标公式下载】-【大智慧】资金明细(主力流入净量、统计分类、板块类别)
【大智慧】资金明细(主力流入净量、统计分类、板块类别)-指标公式源码VAR0:=REF(AMOUNT,3)/10000/10000;VAR1:=REF(AMOUNT,4)/10000/10000;VAR2:=REF(AMOUNT,2)/10000/10000;VAR3:=REF(AMOUNT,1)/10000/10000;VAR4:=AMOUNT/10000/10000;DRAWTEXTABS(16,8,'统计分类'),COLORWHITE;VAR5:=AMOUNT * BIGORDER(1,3);VAR6:=AMOUNT * (BIGORDER(1,2) - BIGORDER(1,3));VAR7:=AMOUNT * (BIGORDER(1,1) - BIGORDER(1,2));VAR8:=AMOUNT * (1 - BIGORDER(1,1));VAR9:=VAR5 + VAR6 + VAR7 + VAR8;VAR10:=AMOUNT * BIGORDER(2,3);VAR11:=AMOUNT * (BIGORDER(2,2) - BIGORDER(2,3));VAR12:=AMOUNT * (BIGORDER(2,1) - BIGORDER(2,2));VAR13:=AMOUNT * (1 - BIGORDER(2,1));VAR14:=(BIGORDER(1,2) - BIGORDER(2,2)) * VOL/CAPITAL * 100;VAR15:=BIGORDER(1,2) * AMOUNT/10000;VAR16:=BIGORDER(2,2) * AMOUNT/10000;主力流入净量:VAR15 - VAR16,LINETHICK0,COLOR00AAFF;VAR17:=REF(VAR15,0);VAR18:=REF(VAR15,1);VAR19:=REF(VAR15,2);VAR20:=REF(VAR15,3);VAR21:=REF(VAR15,5);VAR22:=REF(VAR16,0);VAR23:=REF(VAR16,1);VAR24:=REF(VAR16,2);VAR25:=REF(VAR16,3);VAR26:=REF(VAR16,4);DRAWTEXTABS(8,35,'主力账户'),COLORWHITE;DRAWTEXTABS(8,60,'超大账户'),COLORWHITE;DRAWTEXTABS(8,85,'大户账户'),COLORWHITE; DRAWTEXTABS(8,110,'中户账户'),COLORWHITE; DRAWTEXTABS(8,135,'散户账户'),COLORWHITE; DRAWTEXTABS(5,165,'股价涨幅(%)'),COLORWHITE; DRAWTEXTABS(16,190,'' + STKNAME + ''),COLORWHITE; DRAWTEXTABS(78,190,'' + STKLABEL + ''),COLORRED;VAR27:=BKNAME;VAR28:=' 板块类别: ' + VAR27; DRAWTEXTABS(140,190,VAR28),COLORWHITE;DRAWTEXTABS(515,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,2) + ''),COLORWHITE;DRAWTEXTABS(625,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,3) + ''),COLORWHITE;DRAWTEXTABS(735,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,4) + ''),COLORWHITE;DRAWTEXTABS(845,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,5) + ''),COLORWHITE;DRAWTEXTABS(515,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,2) + ''),COLORWHITE;DRAWTEXTABS(625,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,3) + ''),COLORWHITE;DRAWTEXTABS(735,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,4) + ''),COLORWHITE;DRAWTEXTABS(845,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,5) + ''),COLORWHITE;DRAWTEXTABS(515,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,2) + ''),COLORWHITE;DRAWTEXTABS(625,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,3) + ''),COLORWHITE;DRAWTEXTABS(735,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,4) + ''),COLORWHITE;DRAWTEXTABS(845,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,5) + ''),COLORWHITE;DRAWTEXTABS(515,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,2) + ''),COLORWHITE;DRAWTEXTABS(625,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,3) +''),COLORWHITE;DRAWTEXTABS(735,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,4) +''),COLORWHITE;DRAWTEXTABS(845,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,5) +''),COLORWHITE;DRAWTEXTABS(515,35,'' + SUM(REF(VAR17 - VAR22,0),2) + ''),COLORWHITE; DRAWTEXTABS(625,35,'' + SUM(REF(VAR17 - VAR22,0),3) + ''),COLORWHITE; DRAWTEXTABS(735,35,'' + SUM(REF(VAR17 - VAR22,0),4) + ''),COLORWHITE; DRAWTEXTABS(845,35,'' + SUM(REF(VAR17 - VAR22,0),5) + ''),COLORWHITE; DRAWTEXTABS(485,8,'连续2日总计(万元)'),COLOR088FFF;DRAWTEXTABS(705,8,'连续4日总计(万元)'),COLOR088FFF;DRAWTEXTABS(595,8,'连续3日总计(万元)'),COLOR088FFF;DRAWTEXTABS(815,8,'连续5日总计(万元)'),COLOR088FFF;DRAWTEXTABS(502,163,'2日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,2) + '%'),COLORWHITE;DRAWTEXTABS(612,163,'3日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,3) + '%'),COLORWHITE;DRAWTEXTABS(722,163,'4日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,4) + '%'),COLORWHITE;DRAWTEXTABS(832,163,'5日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,5) + '%'),COLORWHITE;DRAWTEXTABS(385,60,'超大:' + NUMTOSTRN(REF(VAR5 -VAR10,0)/10000,0)),COLORWHITE;DRAWTEXTABS(320,60,NUMTOSTRN(REF(VAR5 - VAR10,1)/10000,0)),COLORWHITE; DRAWTEXTABS(220,60,NUMTOSTRN(REF(VAR5 - VAR10,2)/10000,0)),COLORWHITE; DRAWTEXTABS(120,60,NUMTOSTRN(REF(VAR5 - VAR10,3)/10000,0)),COLORWHITE; DRAWTEXTABS(385,85,'大户:' + NUMTOSTRN(REF(VAR6 -VAR11,0)/10000,0)),COLORWHITE;DRAWTEXTABS(320,85,NUMTOSTRN(REF(VAR6 - VAR11,1)/10000,0)),COLORWHITE; DRAWTEXTABS(220,85,NUMTOSTRN(REF(VAR6 - VAR11,2)/10000,0)),COLORWHITE; DRAWTEXTABS(120,85,NUMTOSTRN(REF(VAR6 - VAR11,3)/10000,0)),COLORWHITE; DRAWTEXTABS(385,110,'中户:' + NUMTOSTRN(REF(VAR7 -VAR12,0)/10000,0)),COLORWHITE;DRAWTEXTABS(320,110,NUMTOSTRN(REF(VAR7 -VAR12,1)/10000,0)),COLORWHITE;DRAWTEXTABS(220,110,NUMTOSTRN(REF(VAR7 -VAR12,2)/10000,0)),COLORWHITE;DRAWTEXTABS(120,110,NUMTOSTRN(REF(VAR7 -VAR12,3)/10000,0)),COLORWHITE;DRAWTEXTABS(385,135,'散户:' + NUMTOSTRN(REF(VAR8 -VAR13,0)/10000,0)),COLORWHITE;DRAWTEXTABS(320,135,NUMTOSTRN(REF(VAR8 -VAR13,1)/10000,0)),COLORWHITE;DRAWTEXTABS(220,135,NUMTOSTRN(REF(VAR8 -VAR13,2)/10000,0)),COLORWHITE;DRAWTEXTABS(120,135,NUMTOSTRN(REF(VAR8 -VAR13,3)/10000,0)),COLORWHITE;DRAWTEXTABS(385,35,'主力:' + NUMTOSTRN(VAR17 - VAR22,0)),COLORWHITE; DRAWTEXTABS(320,35,NUMTOSTRN(VAR18 - VAR23,0)),COLORWHITE; DRAWTEXTABS(220,35,NUMTOSTRN(VAR19 - VAR24,0)),COLORWHITE; DRAWTEXTABS(120,35,NUMTOSTRN(VAR20 - VAR25,0)),COLORWHITE; DRAWTEXTABS(385,163,'涨幅:' + NUMTOSTRN((CLOSE -REF(CLOSE,1))/REF(CLOSE,1) * 100,2) + '%'),COLORWHITE; DRAWTEXTABS(315,163,NUMTOSTRN((REF(CLOSE,1) -REF(CLOSE,2))/REF(CLOSE,2) * 100,2) + '%'),COLORWHITE; DRAWTEXTABS(215,163,NUMTOSTRN((REF(CLOSE,2) -REF(CLOSE,3))/REF(CLOSE,3) * 100,2) + '%'),COLORWHITE; DRAWTEXTABS(115,163,NUMTOSTRN((REF(CLOSE,3) -REF(CLOSE,4))/REF(CLOSE,4) * 100,2) + '%'),COLORWHITE; DRAWTEXTABS(83,8,'四日前净买(万元)'),COLOR088FFF;DRAWTEXTABS(188,8,'前日净买(万元)'),COLOR088FFF;DRAWTEXTABS(289,8,'昨日净买(万元)'),COLOR088FFF;DRAWTEXTABS(389,8,'今日净买(万元)'),COLOR088FFF;DRAWGBKLAST(1,STRIP(RGB(0,0,0),RGB(30,40,55),0));DRAWRECTABS(0,0,920,210,0),COLOR777777;DRAWRECTABS(79,155,920,185,2301560),COLOR777777;DRAWRECTABS(0,25,920,156,3614750),COLOR777777;DRAWRECTABS(0,79,920,105,3939930),COLOR777777;DRAWRECTABS(379,25,480,156,10330),COLOR777777;DRAWRECTABS(0,25,80,185,2626650),COLOR777777;DRAWRECTABS(0,184,920,210,3614750),COLOR777777;DRAWRECTABS(0,0,80,185,0),COLOR777777;DRAWRECTABS(0,0,180,185,0),COLOR777777;DRAWRECTABS(0,0,280,185,0),COLOR777777;DRAWRECTABS(0,0,380,185,0),COLOR777777;DRAWRECTABS(0,0,480,185,0),COLOR777777;DRAWRECTABS(0,0,590,185,0),COLOR777777;DRAWRECTABS(0,0,700,185,0),COLOR777777;DRAWRECTABS(0,0,810,185,0),COLOR777777;【大智慧】资金明细(主力流入净量、统计分类、板块类别)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】精确买卖(主力撤、主力进、趋势线、卖临界)
【大智慧】精确买卖(主力撤、主力进、趋势线、卖临界)-指标公式源码V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主力撤: IF(V4<=0,V4,0),colorblue;主力进: IF(V4>=0,V4,0),colorff00ff;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),Colorred;大盘资金撤走:IF(VB<=0,VB,0),colorgreen;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线: EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备现金: STICKLINE(趋势线<=13,0,20,5,0),colorcc9900;aa:=(趋势线<=13) and filter((趋势线<=13),15);drawtext (aa,30,'准备现金'),colorcc9900;买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),color0099ff;bb:= (趋势线<=13 AND V12>13) and filter((趋势线<=13 AND V12>13),10) ; drawtext (bb,60,'买入股票'),color0099ff;卖临界: STICKLINE(趋势线>90 and 趋势线>ref(趋势线,1),100,95,15,1),COLORFFFF00;见顶清仓:filter(趋势线>90 and 趋势线<ref(趋势线,1) and 主力进<ref(主力进,1),8);DRAWTEXT( 见顶清仓,90,'逃顶'),coloryellow;cc:=(趋势线>=90 AND V12) and filter((趋势线>=90 AND V12),10);stickline(大盘资金进场 and 趋势线<13,0,30,10,0),colorred;stickline(大盘资金撤走 and 趋势线>90,0,30,10,0),colorgreen;stickline(主力进 and 趋势线<13,0,40,10,0),colorff00ff;stickline(主力撤 and 趋势线>90,0,40,10,0),colorblue;【大智慧】精确买卖(主力撤、主力进、趋势线、卖临界)-指标公式效果图(文档来源:若水财经社区)。
大智慧主力吸筹指标公式
大智慧主力吸筹指标公式价量:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00CCFF;主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORCYAN;快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25) ,COLOR55AAFF;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{变异KD风险系数}TGLXS:=(TFXXS-REF(TFXXS,1));{变异KD乖离系数:资金流向}{红}STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000AA;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022CC;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF;{粉}STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00BB;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22BB;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55BB;{黄}STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00AAFF;STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00CCFF;STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF;{蓝}STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700;STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22;STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55;STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN;STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,TGLXS+100,8,0),COLORWHITE;ZLCM:=EMA(WINNER(CLOSE)*70,3);{主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{散户套牢筹码系数}ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{主力控盘筹码系数}ZSHJJ:=EMA(ZSHTL,55);{散户警戒}ZZLJJ:=EMA(ZZLKP,55);{主力警戒}散兵坑:IF(ZZLKP<=10,ZZLKP,ZZLKP),COLORMAGENTA;{散户套牢筹码}STICKLINE(C>0,ZSHTL,ZZLKP,2,0),COLOR808080;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C 0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB;{蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5 ,0 ),COLORFFFF55;{亮红}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLOR131FFD;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF;{深蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLORAA0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLORCC0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹码警戒}{黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),COLOR00A AFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),COLOR00C CFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),COLOR00F FFF;{红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF;{红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,0.5 ,0 ),COLOR0055FF;{铸顶风险区}{绿}STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,2.5,0),COLOR00AA00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,1.5,0),COLOR00CC00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,0.5,0),COLOR00FF00;{散兵坑}STICKLINE(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;。
【股票指标公式下载】-【大智慧】资金流(主力、大户、散户、占比)
【大智慧】资金流(主力、大户、散户、占比)-指标公式源码主力bbd:=(BIGORDER(1)-BIGORDER(2))*AMOUNT/10000;超大bbd:=(BIGORDER(1,3)-BIGORDER(2,3))*AMOUNT/10000;大户bbd:=主力bbd-超大bbd;中户bbd:=(BIGORDER(1,1)-BIGORDER(2,1))*AMOUNT/10000-主力bbd;散户bbd:=((1-BIGORDER(1,1))-(1-BIGORDER(2,1)))*AMOUNT/10000;占比1:=(BIGORDER(1)-BIGORDER(2));占比2:=(BIGORDER(1)-BIGORDER(2))*AMOUNT/(CAPITAL*c); DRAWTEXTREL(15,710,'总股本:'+NUMTOSTRn(FINANCE2(35),0)+'万股' +' 流通A股:'+NUMTOSTRn(FINANCE2(37),0)+'万股'+' 每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+' 主营收入同比增长:'+NUMTOSTRN(FINANCE2(11),2)+'%'+' 净利润同比增长:'+NUMTOSTRN(FINANCE2(10),2)+'%'),Color0088FF; DRAWTEXTREL(80,25,' Superviiew资金流向'),ColorFFFF00,LINETHICK3; DRAWTEXTREL(410,25,' '+STKLABEL),ColorWHITE,LINETHICK3; DRAWTEXTREL(310,25,' '+STKNAME),ColorRED,LINETHICK3; DRAWTEXTREL(550,30,' 所属版块: '+BKNAME),Color555FFF; DRAWTEXTREL(115,99,' 日期'),ColorRED;DRAWTEXTREL(144,139,'月'+DAY),ColorEEFF00;DRAWTEXTREL(125,139,'年'+MONTH),ColorEEFF00;DRAWTEXTREL(95,139,' '+YEAR),ColorEEFF00;DRAWTEXTREL(170,139,'日'),ColorEEFF00;DRAWTEXTREL(115,189,'前一交易日 '),Color55FF55;DRAWTEXTREL(115,239,'前二交易日'),Color55EE00;DRAWTEXTREL(115,289,'前三交易日'),Color55FF00;DRAWTEXTREL(115,339,'前四交易日'),Color55FF00;DRAWTEXTREL(115,389,'SV 5日统计'),Color555FFF,LINETHICK2; DRAWTEXTREL(115,439,'SV10日统计'),Color555FFF,LINETHICK2; DRAWTEXTREL(115,489,'SV20日统计'),Color555FFF,LINETHICK2; DRAWTEXTREL(245,99,'散户净流入(万元)'),Color555FFF;DRAWTEXTREL(365,99,'中户净流入(万元)'),Color555FFF;DRAWTEXTREL(485,99,'大户净流入(万元)'),Color555FFF;DRAWTEXTREL(605,99,'超大户净流入(万元)'),Color555FFF; DRAWTEXTREL(735,99,'主力净流入(万元)'),Color555FFF;DRAWTEXTREL(875,99,'占总成交额比(%)'),Color555FFF;DRAWTEXTREL(1000,99,'占流通市值比(%)'),Color555FFF;DRAWTEXTREL(85,69,'────────────────────────────────────────────────────────────────────────────────────'),ColorRED; DRAWTEXTREL(245,139,' '+散户bbd),Color208FFF;DRAWTEXTREL(365,139,' '+中户bbd),Color208FFF;DRAWTEXTREL(485,139,' '+大户bbd),Color208FFF;DRAWTEXTREL(605,139,' '+超大bbd),Color208FFF;DRAWTEXTREL(735,139,' '+主力bbd),Color208FFF;DRAWTEXTREL(875,139,' '+占比1),Color208FFF;DRAWTEXTREL(1000,139,' '+占比2),Color208FFF;DRAWTEXTREL(245,189,' '+REF(散户bbd,1)),Color208FFF; DRAWTEXTREL(365,189,' '+REF(中户bbd,1)),Color208FFF; DRAWTEXTREL(485,189,' '+REF(大户bbd,1)),Color208FFF; DRAWTEXTREL(605,189,' '+REF(超大bbd,1)),Color208FFF; DRAWTEXTREL(735,189,' '+REF(主力bbd,1)),Color208FFF; DRAWTEXTREL(875,189,' '+REF(占比1,1)),Color208FFF; DRAWTEXTREL(1000,189,' '+REF(占比2,1)),Color208FFF; DRAWTEXTREL(245,239,' '+REF(散户bbd,2)),Color208FFF; DRAWTEXTREL(365,239,' '+REF(中户bbd,2)),Color208FFF; DRAWTEXTREL(485,239,' '+REF(大户bbd,2)),Color208FFF; DRAWTEXTREL(605,239,' '+REF(超大bbd,2)),Color208FFF; DRAWTEXTREL(735,239,' '+REF(主力bbd,2)),Color208FFF; DRAWTEXTREL(875,239,' '+REF(占比1,2)),Color208FFF; DRAWTEXTREL(1000,239,' '+REF(占比2,2)),Color208FFF; DRAWTEXTREL(245,289,' '+REF(散户bbd,3)),Color208FFF; DRAWTEXTREL(365,289,' '+REF(中户bbd,3)),Color208FFF; DRAWTEXTREL(485,289,' '+REF(大户bbd,3)),Color208FFF; DRAWTEXTREL(605,289,' '+REF(超大bbd,3)),Color208FFF; DRAWTEXTREL(735,289,' '+REF(主力bbd,3)),Color208FFF; DRAWTEXTREL(875,289,' '+REF(占比1,3)),Color208FFF; DRAWTEXTREL(1000,289,' '+REF(占比2,3)),Color208FFF;DRAWTEXTREL(245,339,' '+REF(散户bbd,4)),Color208FFF; DRAWTEXTREL(365,339,' '+REF(中户bbd,4)),Color208FFF; DRAWTEXTREL(485,339,' '+REF(大户bbd,4)),Color208FFF; DRAWTEXTREL(605,339,' '+REF(超大bbd,4)),Color208FFF; DRAWTEXTREL(735,339,' '+REF(主力bbd,4)),Color208FFF; DRAWTEXTREL(875,339,' '+REF(占比1,4)),Color208FFF; DRAWTEXTREL(1000,339,' '+REF(占比2,4)),Color208FFF; DRAWTEXTREL(245,389,' '+SUM(散户bbd,5)),Color208FFF; DRAWTEXTREL(365,389,' '+SUM(中户bbd,5)),Color208FFF; DRAWTEXTREL(485,389,' '+SUM(大户bbd,5)),Color208FFF; DRAWTEXTREL(605,389,' '+SUM(超大bbd,5)),Color208FFF; DRAWTEXTREL(735,389,' '+SUM(主力bbd,5)),Color208FFF; DRAWTEXTREL(875,389,' '+SUM(占比1,5)),Color208FFF; DRAWTEXTREL(1000,389,' '+SUM(占比2,5)),Color208FFF; DRAWTEXTREL(245,439,' '+SUM(散户bbd,10)),Color208FFF; DRAWTEXTREL(365,439,' '+SUM(中户bbd,10)),Color208FFF; DRAWTEXTREL(485,439,' '+SUM(大户bbd,10)),Color208FFF; DRAWTEXTREL(605,439,' '+SUM(超大bbd,10)),Color208FFF; DRAWTEXTREL(735,439,' '+SUM(主力bbd,10)),Color208FFF; DRAWTEXTREL(875,439,' '+SUM(占比1,10)),Color208FFF; DRAWTEXTREL(1000,439,' '+SUM(占比2,10)),Color208FFF; DRAWTEXTREL(245,489,' '+SUM(散户bbd,20)),Color208FFF; DRAWTEXTREL(365,489,' '+SUM(中户bbd,20)),Color208FFF; DRAWTEXTREL(485,489,' '+SUM(大户bbd,20)),Color208FFF; DRAWTEXTREL(605,489,' '+SUM(超大bbd,20)),Color208FFF; DRAWTEXTREL(735,489,' '+SUM(主力bbd,20)),Color208FFF; DRAWTEXTREL(875,489,' '+SUM(占比1,20)),Color208FFF; DRAWTEXTREL(1000,489,' '+SUM(占比2,20)),Color208FFF;【大智慧】资金流(主力、大户、散户、占比)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】分时超赢(主净、主现、超净、超现)
【大智慧】分时超赢〔主净、主现、超净、超现〕-指标公式源码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)) - a1;a4:=(SUM((ORDERVOL(2,2)),0)) - a2;a5:=(SUM((ORDERVOL(1,1)),0)) - (SUM((ORDERVOL(1,2)),0));a6:=(SUM((ORDERVOL(2,1)),0)) - (SUM((ORDERVOL(2,2)),0));a7:=(SUM((ORDERVOL(1,0)),0)) - (SUM((ORDERVOL(1,1)),0));a8:=(SUM((ORDERVOL(2,0)),0)) - (SUM((ORDERVOL(2,1)),0));a9:=(SUM((ORDERVOL(1,0)),0)) + (SUM((ORDERVOL(2,0)),0));a10:=a7 - a8;a11:=a5 - a6;a12:=a3 - a4;a13:=a1 - a2;a14:=(SUM((ORDERVOL(1,2)),0)) - (SUM((ORDERVOL(2,2)),0)); a15:=(100 * a7) / a9;a16:=(100 * a8) / a9;a17:=(100 * a5) / a9;a18:=(100 * a6) / a9;a19:=(100 * a3) / a9;a20:=(100 * a4) / a9;a21:=(100 * a1) / a9;主筹:a14,linethick2,colorRed;机筹:A13,linethick2,ColorFF0000;大筹:A12,linethick2,colorYellow;中筹:A11,linethick2,ColorWhite;散筹:A10,linethick2,ColorGreen;a22:=(100 * a2) / a9;a23:=(100 * (SUM((ORDERVOL(1,2)),0))) / a9;a24:=(100 * (SUM((ORDERVOL(2,2)),0))) / a9;a25:=(100 * a10) / a9;a26:=(100 * a11) / a9;a27:=(100 * a12) / a9;a28:=(100 * a13) / a9;a29:=(100 * a14) / a9;a30:=(a1);a31:=(a2);a32:=(a3);a33:=(a4);a34:=(a5);a35:=(a6);a36:=(a7);a37:=(a8);a38:=((SUM((ORDERVOL(1,2)),0)));a39:=((SUM((ORDERVOL(2,2)),0)));a40:=(a10);a41:=550/ (MAX(a30,a31,a32,a33,a34,a35,a36,a37,a40,中筹,大筹,机筹)); a42:=550 / (MAX(a38,a39,主筹));a43:=600 - (a30 * a41);a44:=600 - (a31 * a41);a45:=600 - (a32 * a41);a46:=600 - (a33 * a41);a47:=600 - (a34 * a41);a48:=600 - (a35 * a41);a49:=600 - (a36 * a41);a50:=600 - (a37 * a41);a51:=600 - (a38 * a42);a52:=600 - (a39 * a42);a53:=600 - (a40 * a41);a54:=600 - (中筹 * a41);a55:=600 - (大筹 * a41);a56:=600 - (机筹 * a41);a57:=600 - (主筹* a42);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(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;【大智慧】分时超赢〔主净、主现、超净、超现〕-指标公式效果图(文档来源:假设水财经社区)。
大智慧机构入场公式源码
大智慧机构入场公式源码以下是大智慧机构入场公式源码(无源码的请下载附件导入)VAR1C:=(HIGH - MIN(OPEN,CLOSE));VAR2C:=(CLOSE - OPEN);VAR3C:=(MIN(OPEN,CLOSE) - LOW);VAR4C:=(HIGH - LOW);VAR5C:=((VOL * VAR1C) / VAR4C);VAR6C:=((VOL * VAR2C) / VAR4C);VAR7C:=((VOL * VAR3C) / VAR4C);VAR8C:=((VAR5C - VAR6C) - VAR7C);大机构:((SUM(VAR8C,13) / MA(VOL,13)) / 13),LINETHICK1,colorff937f;小机构:((SUM(VAR8C,21) / MA(VOL,21)) / 21),LINETHICK1,colorFFFF00;散户:((SUM(VAR8C,30) / MA(VOL,30)) / 30),colorFF00FF;股票:((SUM(VAR8C,125) / MA(VOL,125)) / 125),LINETHICK2,color00FF00;VAR4:=MA(CLOSE,5);VAR5:=MA(CLOSE,10);VAR6:=MA(CLOSE,30);VAR7:=MA(CLOSE,60);VAR8:=EMA(COST(85),7);VAR9:=EMA(COST(15),7);VARA:=(SUM(((CLOSE * VOL) * 100),4) / SUM((VOL * 100),4));VARB:=(INTPART((VARA * 100)) / 100);VARC:=(SUM(((CLOSE * VOL) * 100),7) / SUM((VOL * 100),7));VARD:=(INTPART((VARC * 100)) / 100);VARE:=(SUM(((CLOSE * VOL) * 100),28) / SUM((VOL * 100),28));VARF:=(INTPART((VARE * 100)) / 100);短线趋势:(EMA(CLOSE,5) - EMA(CLOSE,10));中线趋势:EMA(短线趋势,9);VAR10:=((0 - ((100 * (HHV(CLOSE,5) - CLOSE)) / (HHV(CLOSE,5) - LLV(LOW,5)))) + 100);VAR11:=((0 - ((100 * (HHV(CLOSE,10) - CLOSE)) / (HHV(CLOSE,10) - LLV(LOW,10)))) + 100);VAR12:=((0 - ((100 * (HHV(CLOSE,20) - CLOSE)) / (HHV(CLOSE,20) - LLV(LOW,20)))) + 100);VAR13:=((0 - ((100 * (HHV(CLOSE,30) - CLOSE)) / (HHV(CLOSE,30) - LLV(LOW,30)))) + 100);VAR14:=REF(中线趋势,1);VAR15:=中线趋势;VAR16:=(VAR15 - VAR14);VAR17:=REF(短线趋势,1);VAR18:=短线趋势;VAR19:=(VAR18 - VAR17);VAR1A:=OPEN;VAR1B:=CLOSE;发现机构入场:IF((((((((VAR1A <= VAR4) AND (VAR1A <= VAR5)) AND (VAR1A <= VAR6)) AND (VAR1B >= VAR4)) AND (VAR1B >= VARF)) AND(VAR16 > 0)) AND (VAR19 > 0)),0.5,0),LINETHICK2,color66FF00;短线指标:IF(((((CROSS(短线趋势,中线趋势) AND (短线趋势 < 0)) AND (中线趋势 < (0 - 0.2))) AND (VAR11 > 45)) AND (VAR16 > 0)),0.3,0.1),color66FF00;。
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)
【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式源码{【SUPERVIEW大资金流向】}DRAWTEXTABS(0,2,'《若水》'),COLOR0000FF;DRAWTEXTABS(85,2,'《若水》'),COLORYELLOW;DRAWTEXTREL(350,10,'【SUPERVIEW大资金流向】'),LINETHICK4,Color00b5ff; DRAWTEXTABS(0,38,'大盘指数:'+INDEXC+''),LINETHICK0,COLORFF00FF; DRAWTEXTABS(0,52,'大盘涨跌:'+INDEXC-REF(INDEXC,1)),LINETHICK0,PRECIS2,COLORFFFF00; DRAWTEXTABS(100,52,''+((INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100)+'%') ,LINETHICK0,PRECIS2,COLORFFFF00;DRAWTEXTABS(0,140,'股票代码: '+STKLABEL+''),LINETHICK1,COLORFFFF00; DRAWTEXTABS(0,155,'股票名称:'+STKNAME+''),LINETHICK1,COLORFFFF00; DRAWTEXTABS(0,170,'最新价格:'+DYNAINFO(7)+'元'),LINETHICK0,COLORFF00FF;DRAWTEXTABS(0,185,'今日涨幅:'+DYNAINFO(14)*100+'%'),LINETHICK0,COLOR00FFFF,PRECIS2; DRAWTEXTABS(0,200,'今日涨跌:'+C-REF(C,1)),LINETHICK0,COLORFFFF00,PRECIS2;DRAWTEXTABS(0,214,'历史最高价:'+HHV(HIGH,0)),Colorred,LINETHICK0; DRAWTEXTABS(0,229,'历史最低价:'+LLV(LOW,0)),COLOR00FF00,LINETHICK0; TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT; {判断是否当天}{叠加大盘线}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;{DRAWTEXTABS(90,5,TC);}DRAWTEXTABS(0,66,'上涨家数:'+NUMTOSTRN(DYNAINFO(69),0)+' 家'),COLOR0000FF;DRAWTEXTABS(0,80,'下跌家数:'+NUMTOSTRN(DYNAINFO(70),0)+' 家'),COLOR00FF00;DRAWTEXTABS(0,94,'平盘家数:'+NUMTOSTRN(DYNAINFO(71),0)+' 家'),COLORFFFFFF;{分时超赢}HS:=vol/capital;主单买:=IF(TODAY,"[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(1,2),BIGORDER (1,2[/email]));主单卖:=IF(TODAY,"[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(2,2),BIGORDER (2,2[/email]));特单买:=IF(TODAY,"[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(1,3),bigorder (1,3[/email]));特单卖:=IF(TODAY,"[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(2,3),bigorder (2,3[/email]));大单买:=IF(TODAY,"[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(1,2)-"DDEDATA @BIGORDER"(1,3),bigorder(1,2)-bigorder(1,3[/email]));大单卖:=IF(TODAY,"[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(2,2)-"DDEDATA @BIGORDER"(2,3),bigorder(2,2)-bigorder(2,3[/email]));中单买:=IF(TODAY,"[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(1,1)-"DDEDATA @BIGORDER"(1,2),bigorder(1,1)-bigorder(1,2[/email]));中单卖:=IF(TODAY,"[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(2,1)-"DDEDATA @BIGORDER"(2,2),bigorder(2,1)-bigorder(2,2[/email]));小单买:=IF(TODAY,1-"[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(1,1),1-bigo rder(1,1[/email]));小单卖:=IF(TODAY,1-"[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(2,1),1-bigo rder(2,1[/email]));外盘:=sum(if(DYNAINFO(23)*close,DYNAINFO(23),0),0)*0.003906;内盘:=sum(if(DYNAINFO(22)*close,DYNAINFO(22),0),0)*0.003906;主动率:=(外盘-内盘)/(内盘+外盘)*100;单数比:=IF(DYNAINFO(92)/DYNAINFO(91) ,DYNAINFO(92)/DYNAINFO(91) ,0 ); TCL1:=IF(TODAY ,(大单买+特单买 ) ,(DYNAINFO(95)+DYNAINFO(94)));TCL2:=IF(TODAY,(特单卖+大单卖) ,(DYNAINFO(98)+DYNAINFO(97)) );{通吃率:=(TCL1-TCL2)*VOL/VOL*100;}DRAWTEXTABS(0,108,'主动率:'+ NUMTOSTRN(主动率,2)),COLOR00FFFF; DRAWTEXTABS(0,122,'单数比:'+ NUMTOSTRN(单数比,2)),COLOR00FFFF; {DRAWTEXTABS(0,136,'通吃率:'+ NUMTOSTRN(通吃率,2)),COLOR00FFFF;} TDLR:=特单买*AMOUNT/10000;TDLC:=特单卖*AMOUNT/10000;超净:TDLR-TDLC,COLORFF00FF,LINETHICK0,PRECIS2;超增:SUM(特单买,1)-SUM(特单卖,1)%,COLORFF00FF,LINETHICK0,PRECIS2; CD:=特单买-特单卖;超大:=HS*CD*100;超大持仓:= 25+Sum(超大,0);DDLR:=大单买*AMOUNT/10000;DDLC:=大单卖*AMOUNT/10000;大净:(DDLR-DDLC),COLOR00FF00,LINETHICK0,PRECIS2;大增:SUM(大单买,1)-SUM(大单卖,1)%,COLOR00FF00,LINETHICK0,PRECIS2; DD:=大单买-大单卖;大户:=HS*DD*100;大户持仓:=25+Sum(大户,0);ZDLR:=中单买*AMOUNT/10000;ZDLC:=中单卖*AMOUNT/10000;中净:(ZDLR-ZDLC),COLORB5B5B5,LINETHICK0,PRECIS2;中增:SUM(中单买,1)-SUM(中单卖,1)%,COLORB5B5B5,LINETHICK0,PRECIS2; ZD:=中单买-中单卖;中户:=HS*ZD*100;中户持仓:= 25+Sum(中户,0);XDLR:=小单买*AMOUNT/10000;XDLC:=小单卖*AMOUNT/10000;散净:(XDLR-XDLC),COLORFF9911,LINETHICK0,PRECIS2;散增:SUM(小单买,1)-SUM(小单卖,1)%,COLORFF9911,LINETHICK0,PRECIS2; XD:=小单买-小单卖;散户:=HS*XD*100;散户持仓:= 25+Sum(散户,0);ZLLR:=主单买*AMOUNT/10000;ZLLC:=主单卖*AMOUNT/10000;主净:ZLLR-ZLLC,COLOR00FFFF,LINETHICK0,PRECIS2;主增:SUM(主单买,1)-SUM(主单卖,1)%,COLOR00FFFF,LINETHICK0,PRECIS2;主力:=(超大+大户);主力持仓:=(超大持仓+大户持仓);{五分钟资金趋势}主5:=主净-REF(主净,5);超5:=超净-REF(超净,5);大5:=大净-REF(大净,5);中5:=中净-REF(中净,5);散5:=散净-REF(散净,5);DRAWTEXTABS(105,25,'五分钟各单净买(万):'),COLORFFFF00; DRAWTEXTABS(225,25,'主力:'+ NUMTOSTRN(主5,2)),COLOR00FFFF; DRAWTEXTABS(325,25,'机构:'+ NUMTOSTRN(超5,2)),COLORFF00FF; DRAWTEXTABS(425,25,'大户:'+ NUMTOSTRN(大5,2)),COLOR00FF00; DRAWTEXTABS(525,25,'中户:'+ NUMTOSTRN(中5,2)),COLORB5B5B5; DRAWTEXTABS(625,25,'散户:'+ NUMTOSTRN(散5,2)),COLORFF9911;{画柱图};最大值:=400/(MAX(ZLLR,ZLLC,TDLR,TDLC,DDLR,DDLC,ZDLR,ZDLC,XDLR,XDLC,散净,中净,大净,超净,主净));主力买:=600-(ZLLR*最大值);主力卖:=600-(ZLLC*最大值);主力净买:=500-(ABS(主净)*最大值);超大买:=600-(TDLR*最大值);超大卖:=600-(TDLC*最大值);超大净买:=500-(ABS(超净)*最大值);大户买:=600-(DDLR*最大值);大户卖:=600-(DDLC*最大值);大户净买:=500-(ABS(大净)*最大值);中户买:=600-(ZDLR*最大值);中户卖:=600-(ZDLC*最大值);中户净买:=500-(ABS(中净)*最大值);散户买:=600-(XDLR*最大值);散户卖:=600-(XDLC*最大值);散户净买:=500-(ABS(散净)*最大值);DRAWRECTREL(280,主力买,300,610,RGB(200,0,0)),COLOR000000,LAYER5; DRAWRECTREL(300,主力卖,320,610,RGB(0,200,0)),COLOR000000,LAYER5; DRAWRECTREL(320,主力净买,340,610,(IF((主净 >=0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5; DRAWRECTREL(410,超大买,430,610,RGB(200,0,0)),COLOR000000,LAYER5; DRAWRECTREL(430,超大卖,450,610,RGB(0,200,0)),COLOR000000,LAYER5; DRAWRECTREL(450,超大净买,470,610,(IF((超净 >=0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5; DRAWRECTREL(540,大户买,560,610,RGB(200,0,0)),COLOR000000,LAYER5; DRAWRECTREL(560,大户卖,580,610,RGB(0,200,0)),COLOR000000,LAYER5; DRAWRECTREL(580,大户净买,600,610,(IF((大净 >=0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5; DRAWRECTREL(670,中户买,690,610,RGB(200,0,0)),COLOR000000,LAYER5; DRAWRECTREL(690,中户卖,710,610,RGB(0,200,0)),COLOR000000,LAYER5; DRAWRECTREL(710,中户净买,730,610,(IF((中净 >=0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5; DRAWRECTREL(800,散户买,820,610,RGB(200,0,0)),COLOR000000,LAYER5; DRAWRECTREL(820,散户卖,840,610,RGB(0,200,0)),COLOR000000,LAYER5; DRAWRECTREL(840,散户净买,860,610,(IF((散净 >=0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;{横彩条}DRAWRECTREL( 280,620,340,650,RGB(255,255,0));DRAWRECTREL( 410,620,470,650,RGB(255,0,255));DRAWRECTREL( 540,620,600,650,RGB(0,200,0));DRAWRECTREL( 670,620,730,650,RGB(200,200,200)); DRAWRECTREL( 800,620,860,650,RGB(0,0,200));{显示文字}DRAWTEXTREL(260,450,'主'),LINETHICK2,ColorDDFFFF; DRAWTEXTREL(260,580,'力'),LINETHICK2,ColorDDFFFF; DRAWTEXTREL(390,450,'机'),LINETHICK2,ColorDDFFFF; DRAWTEXTREL(390,580,'构'),LINETHICK2,ColorDDFFFF; DRAWTEXTREL(520,450,'大'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(520,580,'户'),LINETHICK2,ColorDDFFFF; DRAWTEXTREL(650,450,'中'),LINETHICK2,ColorDDFFFF; DRAWTEXTREL(650,580,'户'),LINETHICK2,ColorDDFFFF; DRAWTEXTREL(780,450,'散'),LINETHICK2,ColorDDFFFF; DRAWTEXTREL(780,580,'户'),LINETHICK2,ColorDDFFFF; DRAWTEXTREL(230,680,'买入:'),colorred;DRAWTEXTREL(230,750,'卖出:'),Color00FF00;DRAWTEXTREL(230,820,'净买:'),COLOR1199FF;DRAWTEXTREL(230,890,'持仓:'),COLOR00FFFF;DRAWTEXTREL(230,960,'增减:'),COLORFFFF00;{显示数据}DRAWTEXTREL(280,680,NUMTOSTRN(ZLLR,2)),colorred; DRAWTEXTREL(280,750,NUMTOSTRN(ZLLC,2)),COLOR00FF00; DRAWTEXTREL(280,820,NUMTOSTRN(主净,2)),COLOR1199FF; DRAWTEXTREL(280,890,NUMTOSTRN(主力持仓,2)+'%'),COLOR00FFFF; DRAWTEXTREL(280,960,NUMTOSTRN(主增,2)+'%'),COLORFFFF00; DRAWTEXTREL(410,680,NUMTOSTRN(TDLR,2)),colorred; DRAWTEXTREL(410,750,NUMTOSTRN(TDLC,2)),COLOR00FF00; DRAWTEXTREL(410,820,NUMTOSTRN(超净,2)),COLOR1199FF; DRAWTEXTREL(410,890,NUMTOSTRN(超大持仓,2)+'%'),COLOR00FFFF; DRAWTEXTREL(410,960,NUMTOSTRN(超增,2)+'%'),COLORFFFF00; DRAWTEXTREL(540,680,NUMTOSTRN(DDLR,2)),colorred; DRAWTEXTREL(540,750,NUMTOSTRN(DDLC,2)),COLOR00FF00; DRAWTEXTREL(540,820,NUMTOSTRN(大净,2)),COLOR1199FF; DRAWTEXTREL(540,890,NUMTOSTRN(大户持仓,2)+'%'),COLOR00FFFF; DRAWTEXTREL(540,960,NUMTOSTRN(大增,2)+'%'),COLORFFFF00; DRAWTEXTREL(670,680,NUMTOSTRN(ZDLR,2)),colorred; DRAWTEXTREL(670,750,NUMTOSTRN(ZDLC,2)),COLOR00FF00; DRAWTEXTREL(670,820,NUMTOSTRN(中净,2)),COLOR1199FF; DRAWTEXTREL(670,890,NUMTOSTRN(中户持仓,2)+'%'),COLOR00FFFF; DRAWTEXTREL(670,960,NUMTOSTRN(中增,2)+'%'),COLORFFFF00; DRAWTEXTREL(800,680,NUMTOSTRN(XDLR,2)),colorred; DRAWTEXTREL(800,750,NUMTOSTRN(XDLC,2)),COLOR00FF00; DRAWTEXTREL(800,820,NUMTOSTRN(散净,2)),COLOR1199FF; DRAWTEXTREL(800,890,NUMTOSTRN(散户持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(800,960,NUMTOSTRN(散增,2)+'%'),COLORFFFF00;【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】BS主图
【大智慧】BS主图-指标公式源码VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;DRAWTEXT(VAR19,L,'B'),COLORWHITE;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;DRAWTEXT(VAR1A,H*1.02,'S'),COLORYELLOW;MA3:MA(C,3),COLORFFF000;MA5:MA(C,5),COLORFF99FF;MA10:MA(C,10),COLOR00FF00;【大智慧】BS主图-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】主力进场(私募机构、进场、加仓)
a11:=if(filter(a8,3),5,0);
a12:=if(filter(a10,3) or ee,10,0);
私募机构进场日:stickline(a11,0,5,5,0),colorff7700;
私募机构加仓日:stickline(a12,0,15,5,0),colorff00ff;
a3:=v/winner(l);
a4:=ref(hhv(c,120),1);
a5:=ref(llv(c,120),1);
a6:=100*(c-a5)/(a4-a5);
a7:=a2>0 or a2=1;
a8:=a7 and a3/ref(a3,3)>=3 and a6<80 ;
a9:=ref(a8,1) or ref(a8,2) or ref(a8,3) or ref(a8,4);
stickline(a11,0,5,5,0),colorff7700;
stickline(a11,0,5,4.5,0),colorff8800;
stickline(a11,0,5,4,0),colorff9900;
stickline(a11,0,5,3.5,0),colorffaa00;
stickline(a11,0,5,3,0),colorffbb00;
stickline(a12,0,15,3.5,0),color1020bb;
stickline(a12,0,15,3,0),color1020cc;
stickline(a12,0,15,2.5,0),color1020dd;
stickline(a12,0,15,2,0),color1020ee;
stickline(a12,0,15,1,0),color1020ff;
【股票指标公式下载】-【大智慧】k线资金(大单买入、大单卖出、逐笔大买、逐笔大卖)
【大智慧】k线资金(大单买入、大单卖出、逐笔大买、逐笔大卖)-指标公式源码drawtextabs(0,0,'红色逐单净买'),colorred;drawtextabs(0,20,'黄色逐笔净买'),coloryellow;drawtextabs(0,40,'蓝色逐单净卖'),colorffff00;drawtextabs(0,60,'绿色逐笔净卖'),colorgreen;总额:=AMOUNT/10000;大单买入:=BIGORDER(1,2)*v;大单卖出:=BIGORDER(2,2)*v;逐笔大买:=SELFDATA('主买大单')+SELFDATA('主买特大');逐笔大卖:=SELFDATA('主卖大单')+SELFDATA('主卖特大');大单买入比:=100*大单买入/CAPITAL;大单卖出比:=100*大单卖出/CAPITAL;逐笔主买比:=100*逐笔大买/CAPITAL;逐笔主卖比:=100*逐笔大卖/CAPITAL;大单净买:大单买入-大单卖出,linethick0;逐笔净买:逐笔大买-逐笔大卖,linethick0;大单净买比:大单买入比-大单卖出比,linethick0;逐笔净买比:逐笔主买比-逐笔主卖比,linethick0;逐单净额:大单净买/v*总额,colorred,linethick0;逐笔净额:逐笔净买/v*总额,coloryellow,linethick0;dw:=(c+ref(c,1))/2;stickline(1,dw,dw+c*0.05,5,-101),COLOR626262;stickline(1,dw,dw-c*0.05,5,-101),COLOR626262;stickline(逐单净额>=0,dw+c*0.05,dw+c*0.05-大单净买比/10,3,-400),colorred;stickline(逐单净额<0,dw-c*0.05,dw-c*0.05-大单净买比/10,3,-400),colorffff00;stickline(逐笔净额>=0,dw+c*0.05,dw+c*0.05-逐笔净买比/10,3,400),coloryellow;stickline(逐笔净额<0,dw-c*0.05,dw-c*0.05-逐笔净买比/10,3,400),colorgreen;【大智慧】k线资金(大单买入、大单卖出、逐笔大买、逐笔大卖)-指标公式效果图(文档来源:若水财经社区)。
大智慧进场加仓指标公式源码编程思路破译及风险提示
大智慧进场加仓指标公式源码编程思路破译及风险提示编程思路破译AA赋值:以收盘价+收盘价*15/100计算的获利盘比例*100BB赋值:以收盘价+收盘价*0/100计算的获利盘比例*100CC赋值:AA-BBDD赋值:(以收盘价-收盘价*0.1/100计算的获利盘比例-以收盘价-收盘价*15/100计算的获利盘比例)*100EE赋值:CC<3 AND DD<0.5 AND 开盘价不等于最低价A1赋值:最低价A2赋值:如果最低价>A1,返回0,否则返回如果最高价<A1,返回1,否则返回(A1-最低价+0.01)/(最高价-最低价+0.01)A3赋值:成交量(手)/以最低价计算的获利盘比例A4赋值:1日前的120日内收盘价的最高值A5赋值:1日前的120日内收盘价的最低值A6赋值:100*(收盘价-A5)/(A4-A5)A7赋值:A2>0 OR A2=1A8赋值:A7 AND A3/3日前的A3>=3 AND A6<80A9赋值:1日前的A8 OR 2日前的A8 OR 3日前的A8 OR 4日前的A8A10赋值:A8 AND A9A11赋值:如果A8的3日过滤,返回5,否则返回0A12赋值:如果A10的3日过滤OREE,返回10,否则返回0输出私募机构进场日:当满足条件A11时,在0和5位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLORFF7700输出私募机构加仓日:当满足条件A12时,在0和15位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLORFF00FF当满足条件A11时,在0和5位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLORFF7700当满足条件A11时,在0和5位置之间画柱状线,宽度为4.5,0不为0则画空心柱.,COLORFF8800当满足条件A11时,在0和5位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLORFF9900当满足条件A11时,在0和5位置之间画柱状线,宽度为3.5,0不为0则画空心柱.,COLORFFAA00当满足条件A11时,在0和5位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLORFFBB00当满足条件A11时,在0和5位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLORFFCC00当满足条件A11时,在0和5位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLORFFDD00当满足条件A11时,在0和5位置之间画柱状线,宽度为1,0不为0则画空心柱.,COLORFFEE00当满足条件A12时,在0和15位置之间画柱状线,宽度为4.5,0不为0则画空心柱.,COLOR102099当满足条件A12时,在0和15位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR1020AA当满足条件A12时,在0和15位置之间画柱状线,宽度为3.5,0不为0则画空心柱.,COLOR1020BB当满足条件A12时,在0和15位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR1020CC当满足条件A12时,在0和15位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,COLOR1020DD当满足条件A12时,在0和15位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLOR1020EE当满足条件A12时,在0和15位置之间画柱状线,宽度为1,0不为0则画空心柱.,COLOR1020FF当满足条件A11时,在8位置书写文字,画黄色当满足条件A12时,在17位置书写文字,画白色程序源码AA:=WINNER(C+C*15/100)*100;BB:=WINNER(C+C*0/100)*100;CC:=AA-BB;DD:=(WINNER(C-C*0.1/100)-WINNER(C-C*15/100))*100; EE:=CC<3 AND DD<0.5 AND O<>L;A1:=DYNAINFO(6);A2:=IF(L>A1,0,IF(H<A1,1,(A1-L+0.01)/(H-L+0.01)));A3:=V/WINNER(L);A4:=REF(HHV(C,120),1);A5:=REF(LLV(C,120),1);A6:=100*(C-A5)/(A4-A5);A7:=A2>0 OR A2=1;A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80 ;A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4); A10:=A8 AND A9;A11:=IF(FILTER(A8,3),5,0);A12:=IF(FILTER(A10,3) OR EE,10,0);私募机构进场日:STICKLINE(A11,0,5,5,0),COLORFF7700;私募机构加仓日:STICKLINE(A12,0,15,5,0),COLORFF00FF; STICKLINE(A11,0,5,5,0),COLORFF7700;STICKLINE(A11,0,5,4.5,0),COLORFF8800;STICKLINE(A11,0,5,4,0),COLORFF9900;STICKLINE(A11,0,5,3.5,0),COLORFFAA00;STICKLINE(A11,0,5,3,0),COLORFFBB00;STICKLINE(A11,0,5,2.5,0),COLORFFCC00;STICKLINE(A11,0,5,2,0),COLORFFDD00;STICKLINE(A11,0,5,1,0),COLORFFEE00;STICKLINE(A12,0,15,4.5,0),COLOR102099; STICKLINE(A12,0,15,4,0),COLOR1020AA;STICKLINE(A12,0,15,3.5,0),COLOR1020BB;STICKLINE(A12,0,15,3,0),COLOR1020CC; STICKLINE(A12,0,15,2.5,0),COLOR1020DD; STICKLINE(A12,0,15,2,0),COLOR1020EE; STICKLINE(A12,0,15,1,0),COLOR1020FF; DRAWTEXT(A11,8,'进场'),COLORYELLOW; DRAWTEXT(A12,17,'加仓'),COLORWHITE; 风险提示该公式包含未来函数:WINNER未发现:LWINNER...未发现:PWINNER...未发现:COST...未发现:CAPITAL...该公式包含未来函数:DYNAINFO。