【股票指标公式下载】-【大智慧】私募成交(副图)
不错的大智慧成交量预测公式
不错的大智慧成交量预测公式VOL,VOLSTICK;MA5:MA(VOL,5),COLORffeebb;MA20:MA(VOL,20),COLOr028ce8,LINETHICK1;MA35:MA(VOL,40),COLOR009300,LINETHICK2;{MA135:MA(VOL,120),COLORff6600,LINETHICK1;}{预测量2}今天成交额:=AMOUNT/10000;昨天成交额:=REF(今天成交额,1);图长度像素:=800*0.2;{2条量柱在图中的比例长度}昨天图长度:=180+图长度像素;交易分钟数:=if(CURRENTTIME>93000and CURRENTTIME<150000and DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);预测今天:=今天成交额/交易分钟数*240;今天图长度:=(预测今天/昨天成交额)*图长度像素+180;目前成交量:=(今天成交额/昨天成交额)*图长度像素+180;{线条宽度}DRAWRECTABS(180,28,昨天图长度,22,RGB(0,85,189)),Color909090; {DRAWRECTABS(180,28,昨天图长度,22 ,RGB(0,0,0) ),Color805000;}DRAWRECTABS(180,14,今天图长度,8,0),Color909090;{估量}DRAWRECTABS(180,14,目前成交量,8,RGB(200,60,0)),Color0c48cb;{目前实际成交量} {DRAWTEXTABS(130,4,'估量:'),Color0c48cb,LINETHICK1;{003ccb}{DRAWTEXTABS(130,18,'前量:'),Colorf37333,LINETHICK1;}{909090}{穿透率:(WINNER(C)-REF(WINNER(C),1))/(V/CAPITAL),LINETHICK0;{PAS穿透率} {CYQKL:(WINNER(C)-WINNER(O))*100,COLOrgreen,LINETHICK0;}{量比:=IF(BARSCOUNT(C),DYNAINFO(17),V/REF(MA(V,5),1));DRAWTEXTABS(775,38,'量比: '+量比),Colora9a9a9,LINETHICK2;}90%集中度:(COST(95)-COST(5))/(COST(95)+COST(5))*100,color0c48cb,LINETHICK0;换手:VOL/CAPITAL*100,colorwhite,LINETHICK0;DRAWTEXTABS(650,5,'换手率 '+换手+'% '),Colorffffff,LINETHICK2;{倍量柱}倍量柱:=if(V/REF(V,1)>1.9AND C>REF(C,1),1,0);STICKLINE(倍量柱,VOL,0,7,0),colorYELLOW;{笑窘的地量}AAd:=SUMBARS(VOL,CAPITAL);地量:=IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),VOL<MA(VOL,AAd)/3);STICKLINE(地量,VOL,0,5,0),color909090;{N日内白地量}stickline(v=llv(v,34),0,v,7,0),colorwhite;{白地量white白ffeebb}{获利盘:WINNER(CLOSE)*100,LINETHICK0;DRAWTEXTABS(775,20,'获利盘: '+获利盘+'% '),Colora9a9a9,LINETHICK2;}DRAWTEXTABS(775,5,'获利盘 '+NUMTOSTRN(WINNER(CLOSE)*100,2)+'%'),Colorffffff,LINETHICK2;涨幅:((close-REF(close,1))/REF(close,1))*100,LINETHICK0;{DRAWTEXTABS(700,4,'获利盘:'+获利盘+'% '),colorffffff,linethick2;}{DRAWTEXTREL(700,20,'获利盘:'+获利盘+'% '),color808080,linethick2;}{相对位置}{买卖成交量比例解盘}AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2))*-1;比值:=ABS(买量/卖量);DRAWTEXTABS(5,4,'买量: '+买量),Color6e29e0,LINETHICK1;DRAWTEXTABS(5,20,'卖量: '+卖量),Color108411,LINETHICK1;DRAWTEXTABS(5,36,'比值: '+比值),Colorffeebb,LINETHICK1;{DRAWTEXTREL(850,20,' '+STKNAME),linethick3,ColorFFFF80;}{代码名称};。
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)第一篇:【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式源码{【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日线就持币。
很棒的大智慧指标公式-主力进出
很棒的大智慧指标公式-主力进出(幅图指标)主力进出公式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线,逃顶。
【股票指标公式下载】-【大智慧】主成交量(均量、交易量)
【大智慧】主成交量(均量、交易量)-指标公式源码{M1,5,1,10,1;M2,10,5,30,1;M3,20,10,60,1;}{VOL,VOLSTICK;}M1:=5;M2:=10;M3:=20;成交量:VOL,LINETHICK0;五日均量:MA(VOL,M1);十日均量:MA(VOL,M2);廿日均量:MA(VOL,M3);预估今日成交量:IF((DYNAINFO(7)=CLOSE), DYNAINFO(38)*DYNAINFO(17),成交量),Color0000FF,LINETHICK0;{如果最新价=收盘价,选五日均量*量比,否则就选成交量}FILLRGN(五日均量,十日均量,五日均量>=十日均量,RGB(255,0,0),五日均量<=十日均量,RGB(0,255,0));{当五日均量>=十日均量时为红色飘带,反之为绿色飘带}AAA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));{系数=成交量/((最高价-最低价)*2-绝对值(收盘价-开盘价))}主买:=IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSE<OPEN,AAA*((HIGH-OPEN)+(CLOS E-LOW)),VOL/2));主卖:=-IF(CLOSE>OPEN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA A*(HIGH-LOW),0-成交量/2));STICKLINE(主买>=主卖,成交量,0,7.5,0),Color0E96A9;{黄色柱表示主力的净买量}STICKLINE(主买>=主卖,成交量,0,7,0),Color10A7BC;{黄色框2}STICKLINE(主买>=主卖,成交量,0,6,0),Color11B5CC;{黄色框3}STICKLINE(主买>=主卖,成交量,0,5,0),Color13C6DF;{黄色框4}STICKLINE(主买>=主卖,成交量,0,4,0),Color1CD2EC;{黄色框5}STICKLINE(主买>=主卖,成交量,0,2,0),Color39D8EE;{黄色框6}STICKLINE(主买>=主卖,成交量,0,0.5,0),ColorFFFFFF;{黄色框7} STICKLINE(主买<主卖,成交量,0,7.5,0),ColorCA6500;{蓝色柱主力的净卖量} STICKLINE(主买<主卖,成交量,0,7,0),ColorE17100;{蓝色框2}STICKLINE(主买<主卖,成交量,0,6,0),ColorF27900;{蓝色框3}STICKLINE(主买<主卖,成交量,0,5,0),ColorFF850B;{蓝色框4}STICKLINE(主买<主卖,成交量,0,4,0),ColorFF9326;{蓝色框5}STICKLINE(主买<主卖,成交量,0,2,0),ColorFFA042;{蓝色框6}STICKLINE(主买<主卖,成交量,0,0.5,0),colorFFFF00;{蓝色框7} STICKLINE(1>0,0,主买,7.5,0),ColorA200A2;{玫红柱1}STICKLINE(1>0,0,主买,7,0),ColorB700B7;{玫红柱2}STICKLINE(1>0,0,主买,6,0),ColorCE00CE;{玫红柱3}STICKLINE(1>0,0,主买,5,0),ColorE800E8;{玫红柱4}STICKLINE(1>0,0,主买,4,0),ColorFF00FF;{玫红柱5}STICKLINE(1>0,0,主买,2,0),ColorFF60FF;{玫红柱6}STICKLINE(1>0,0,主买,0.5,0),ColorFFD2FF;{玫红柱7}BBB:=LONGCROSS(成交量,五日均量,4);{全红柱表示今天的成交量超过五日均量}STICKLINE(BBB,0,成交量,7.5,0),color070084;{全红柱1}STICKLINE(BBB,0,成交量,7,0),color0000A3;{全红柱2}STICKLINE(BBB,0,成交量,6,0),color0000B7;{全红柱3}STICKLINE(BBB,0,成交量,5,0),color0000CD;{全红柱4}STICKLINE(BBB,0,成交量,4,0),color0000E9;{全红柱5}STICKLINE(BBB,0,成交量,2,0),color0754E9;{全红柱6}STICKLINE(BBB,0,成交量,0.5,0),Color68B8FF;{全红柱7}DL:=FILTER(成交量=LLV(成交量,20),5);{全绿柱表示今天是最近5天的成交量中是20日均量的最低量}STICKLINE(DL,0,成交量,7.5,0),Color006400;{全绿柱1}STICKLINE(DL,0,成交量,7,0),Color007500;{全绿柱2}STICKLINE(DL,0,成交量,6,0),Color008400;{全绿柱3}STICKLINE(DL,0,成交量,5,0),Color009900;{全绿柱4}STICKLINE(DL,0,成交量,4,0),Color00AE00;{全绿柱5}STICKLINE(DL,0,成交量,2,0),Color00BD00;{全绿柱6}STICKLINE(DL,0,成交量,0.5,0),Color8EFF8E;{全绿柱7}DRAWTEXTREL(0,0,'成交量'),COLORYELLOW;{DRAWTEXTREL(600,900,'证券代码: '+STKLABEL+' 证券名称:'+STKNAME+''),ColorFFAA00;}DRAWTEXTABS(35,0,'《若水》'),COLOR0000FF;{预计今天成交量}今天成交额:=AMOUNT/10000;昨天成交额:=REF(今天成交额,1);交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000 and DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240); 预测今天:=今天成交额/交易分钟数*240;交易分时:=FRACPART( 交易分钟数/60);剩余分时:=交易分时*60;剩余秒:=FRACPART( 剩余分时);剩余秒时:=剩余秒*60;交易小时:=交易分钟数/60 ;{显示文字}DRAWTEXTABS(125,0,'昨天金额:'+NUMTOSTRN(昨天成交额/10000,2)+'亿'),ColorF5FF00,LINETHICK1;DRAWTEXTABS(125,13,'预计今天:'+NUMTOSTRN(预测今天/10000,2)+'亿'),COLOR00FFFF,LINETHICK1;DRAWTEXTABS(450,2,'交易时间:'+INTPART(交易小时)+'小时'+NUMTOSTRN(剩余分时,0)+'分'+NUMTOSTRN(剩余秒时,0)+'秒'+' 已成交金额'+':'+NUMTOSTRN(今天成交额/10000,2)+'亿元'),ColorF5FF00,LINETHICK2,PRECIS2;{柱图}图长度像素:=230*0.5;昨天图长度:=230+图长度像素;预测今天图:=(预测今天/昨天成交额)*图长度像素+230;目前成交图:=(今天成交额/昨天成交额)*图长度像素+230; DRAWRECTABS(230,1,昨天图长度,9 ,RGB(0,255,150));DRAWRECTABS(230,13,目前成交图, 23 ,RGB(255,73,20)); DRAWRECTABS(230,16,预测今天图,20 ,RGB(255,255,0));{立柱说明}DRAWRECTREL( 0,140,115,860,RGB(20,20,20));DRAWRECTREL( 0,140,15,280,RGB(255,255,0));DRAWTEXTREL(20,140,'主力的净买量'),COLORYELLOW;DRAWRECTREL( 0,280,15,420,RGB(0,255,255));DRAWTEXTREL(20,280,'主力的净卖量'),COLORFFFF00;DRAWRECTREL( 0,420,15,560,RGB(255,25,0));DRAWTEXTREL(20,420,'超过五日均量'),COLOR0025FF;DRAWRECTREL( 0,560,15,700,RGB(0,255,0));DRAWTEXTREL(20,560,'低于廿日均量'),COLOR00FF00;DRAWRECTREL( 0,700,15,840,RGB(200,0,200));DRAWTEXTREL(20,700,'主力外成交量'),COLORFF00FF;【大智慧】主成交量(均量、交易量)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】资金流(主力、大户、散户、占比)
【大智慧】资金流(主力、大户、散户、占比)-指标公式源码主力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;【大智慧】资金流(主力、大户、散户、占比)-指标公式效果图(文档来源:若水财经社区)。
大智慧短期底部指标公式
大智慧短期底部指标公式RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);K:SMA(RSV,3,1);D:SMA(K,3,1);J:((3 * K) - (2 * D));AA10:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);IF((K > D),K,D),COLORFF00FF;IF((K < D),D,K),COLORFFFF00;IF((J > D),J,D),LINETHICK2,COLOR0000FF;IF((J < D),D,J),LINETHICK2,COLOR00FF00;20,POINTDOT,COLOR00FF00;80,POINTDOT,COLOR00FF00;VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);底部1:IF(VAR6 ,20,0),COLORFFFF00;STICKLINE((CROSS(J,K) AND (底部 1 >= 20)),100,0,2,0),COLORFFFFFF;DRAWICON((CROSS(J,K) AND (底部1 >= 20)),100,1);DRAWTEXT((CROSS(J,K) AND (底部1 >= 20)),98,'全');STICKLINE((VAR6 <= (0 - 15)),80,4.88,2,0);DRAWTEXT((VAR6 <= (0 - 15)),80,'买'),COLORFFFFFF;STICKLINE((VAR6 <= (0 - 15)),80,60,2,0),COLOR0000FF;VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));VAR8:=(((CLOSE - VAR7) / VAR7) * 100);VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) < REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1)) > 2.5));VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100);VARF:=(((HIGH + LOW) + CLOSE) / 3);VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273));VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR13:=(VAR11 AND VAR12);VAR14:=((((VARA >= (0 - 45)) AND (VARA <= (0 - 10))) AND (VARB <= (0 - 15))) AND (VARC <= (0 - 20)));VAR15:=(COUNT(VAR14,1) >= 1);VAR16:=(VAR13 AND VAR15);VAR17:=1;VAR18:=(CLOSE * VOL);VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA(VOL,24))) / 4),1);VAR1A:=(1 * VAR19);VAR1B:=(VAR19 * 0.92);VAR1C:=EMA(CLOSE,34);VAR1D:=MA((VAR1C * 1.12),5);VAR1E:=MA((VAR1C * 0.82),5);VAR1F:=(CLOSE < VAR1E);VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * VAR17));VAR21:=HHV(HIGH,500);VAR22:=LLV(LOW,500);VAR23:=HHV(HIGH,250);VAR24:=LLV(LOW,250);VAR25:=HHV(HIGH,125);VAR26:=LLV(LOW,125);VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35);VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);VAR2C:=VAR27;VAR2D:=VAR28;VAR2E:=VAR29;VAR2F:=VAR2A;VAR30:=VAR2B;VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));VAR32:=(INDEXA / 100000000);VAR33:=INDEXADV;VAR34:=INDEXDEC;VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);VAR37:=EMA(VAR35,10);VAR38:=EMA(VAR36,10);VAR39:=EMA(VAR37,10);VAR3A:=EMA(VAR38,20);VAR3B:=EMA(VAR37,3);VAR3C:=EMA(VAR39,6);VAR3D:=EMA(VAR3A,2);VAR3E:=(VAR3C - VAR3D);VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) < 0));VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);VAR41:=VAR40;VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);VAR44:=(CLOSE - REF(MA(CLOSE,20),11));VAR45:=(((((((((((((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE < VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20 AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE < VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR1E) AND VAR31));VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR49:=REF(CLOSE,1);VAR4A:=((SMA(MAX((CLOSE - VAR49),0),5,1) / SMA(ABS((CLOSE - VAR49)),5,1)) * 100);VAR4B:=(((HIGH + LOW) + CLOSE) / 3);VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273));VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR4F:=(VAR11 AND VAR12);VAR50:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 7))) AND (VAR3 <= (0 - 11))) AND (VAR4 <= (0 - 14)));VAR51:=(COUNT(VAR50,1) >= 1);VAR52:=(VAR4F AND VAR51);VAR53:=(((((VAR20 AND (CLOSE < VAR1E)) AND VAR31) AND (CLOSE < VAR2C)) AND VAR45) AND VAR52);VAR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR57:=REF(CLOSE,1);VAR58:=((SMA(MAX((CLOSE - VAR57),0),5,1) / SMA(ABS((CLOSE - VAR57)),5,1)) * 100);VAR59:=(((HIGH + LOW) + CLOSE) / 3);VAR5A:=((VAR59 - MA(VAR59,14)) / (0.015 * AVEDEV(VAR59,14)));VAR5B:=((((((VAR54 >= (0 - 15.8)) AND (VAR54 <= (0 - 12.2))) AND (VAR55 <= (0 - 20.8))) AND (VAR56 <= (0 - 27.5))) AND(VAR58 <= 11.7)) AND (VAR5A <= (0 - 145)));VAR5C:=9.999999884842+026;VAR5D:=(COST(10) * 0);VAR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));VAR61:=MA(CLOSE,3);VAR62:=(REF(CLOSE,2) * 0.865);VAR63:=(REF(CLOSE,13) * 0.772);VAR64:=MIN(VAR62,VAR63);VAR65:=((100 * VOL) / CAPITAL);VAR66:=MA(CLOSE,13);VAR67:=IF(((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8)),1,0);猎鹰出击:IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8))),120,0),LINETHICK2,COLOR0000FF;VAR68:=0;MACD:(VAR6 * 5),COLORSTICK,LINETHICK2;STICKLINE((CROSS(K,D) AND (BB10 > 1)),70,0,2,0),COLORCC99FF;DRAWTEXT((CROSS(K,D) AND (BB10 > 1)),64,'短买'),COLOR00FF00;DRAWICON((CROSS(K,D) AND (BB10 > 1)),70,0);底部预警:STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),5,0),COLOR88B7EA;VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VAREE:=(VARW + (2 * STD(CLOSE,170)));VARR:=(VARQ + (2 * STD(CLOSE,170)));VART:=IF((DATE > 1080822),0,1);VAR611:=EMA(HHV(HIGH,500),21);VAR71:=EMA(HHV(HIGH,250),21);VAR81:=EMA(HHV(HIGH,90),21);VAR91:=EMA(LLV(LOW,500),21);VARA1:=EMA(LLV(LOW,250),21);VARB1:=EMA(LLV(LOW,90),21);VARC1:=EMA((((((((VAR91 * 0.96) + (VARA1 * 0.96)) + (VARB1 * 0.96)) + (VAR611 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558)) / 6),21);VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VAR611 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) / 6),21);VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VAR611 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) / 6),21);VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21);VAR101:=REF(LOW,1);VAR111:=((SMA(ABS((LOW - VAR101)),3,1) / SMA(MAX((LOW - VAR101),0),3,1)) * 100);VAR121:=EMA(IF(((CLOSE * 1.35) <= VARF1),(VAR111 * 10),(VAR111 / 10)),3);VAR131:=LLV(LOW,30);VAR141:=HHV(VAR121,30);VAR151:=IF(MA(CLOSE,58),1,0);VAR161:=((EMA(IF((LOW <= VAR131),((VAR121 + (VAR141 * 2)) / 2),0),3) / 618) * VAR151);VAR171:=(((IF((VAR161 > 50),50,VAR161) / 20) * 15) * VART);底部吸筹:STICKLINE((VAR171 > 0),0,VAR171,1,1),COLORFF00FF;STICKLINE(((CROSS(K,D) AND ((AA10 - REF(AA10,1)) > 0)) AND (K <= 49)),80,0,3,0),COLOR0000FF;DRAWTEXT(((CROSS(K,D) AND ((AA10 - REF(AA10,1)) > 0)) AND (K <= 49)),80,'抄底'),COLOR0000FF;STICKLINE(CROSS(90,J),88,100,2,0),COLOR00FF00;DRAWTEXT(CROSS(90,J),108,'逃'),COLORFFFFFF;STICKLINE(CROSS(J,(0 - 5)),0,10,6,0),COLOR00FF00;DRAWTEXT(CROSS(J,(0 - 5)),(0 - 4),'低吸'),COLOR00FF00;SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));X31:=IF(((SG < REF(SG,1)) OR X30),1,0);全仓出击:=((((COUNT((X31 = 1),4) = 3) AND (X31 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89);STICKLINE(全仓出击>=89,0,100,6,0),COLOR0000FF;DRAWICON((全仓出击 >= 89),全仓出击,1);DRAWTEXT((全仓出击 >= 89),89,'大胆杀入');开始关注:STICKLINE((VAR6 <= (0 - 8)),5,25,7,0);STICKLINE((CROSS(J,0) AND (VAR6 <= (0 - 7))),0,100,8,0),COLOR000078;STICKLINE((CROSS(J,0) AND (VAR6 <= (0 - 7))),0,100,6,0),COLOR00009D;STICKLINE((CROSS(J,0) AND (VAR6 <= (0 - 7))),0,100,5,0),COLOR0000FF;STICKLINE((CROSS(J,0) AND (VAR6 <= (0 -7))),0,100,2,0),COLOR007AB5;DRAWTEXT((CROSS(J,0) AND (VAR6 <= (0 - 7))),100,'导弹发射'),COLOR0000FF;均5:=MA(CLOSE,4);X7:=EMA(EMA(EMA(HIGH,9),9),9);海底:=(X7 * 0.92);海底2:=(X7 * 0.933);中轨道:=MA(CLOSE,2);DRAWTEXT(((CROSS(中轨道,均5) AND (LOW <= 海底)) AND (CLOSE >= 海底2)),85,'底部'),COLOR00FFFF;STICKLINE(((CROSS(中轨道,均5) AND (LOW <= 海底)) AND (CLOSE >= 海底2)),0,85,4,0),COLOR00FFFF;。
【股票指标公式下载】-【大智慧】轻松买点(波峰、波谷)
【大智慧】轻松买点(波峰、波谷)-指标公式源码VAR1:=MA(CLOSE,5);VAR2:=MA(CLOSE,10);VAR3:=MA(CLOSE,20);VAR4:=MA(CLOSE,30);VAR5:=MA(CLOSE,60);F1:=VAR1>REF(VAR1,1);F2:=VAR2>REF(VAR2,1);F3:=VAR2>REF(VAR2,1);F4:=VAR2>REF(VAR2,1);F5:=VAR2>REF(VAR2,1);x1:=EMA(C,7);drawtext(filter(var3 and var2 and count(x1<ref(x1,1),5)>2 andx1>ref(x1,1),3),l-0.01,'短↑进'),ColorFFFFFF;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT(CROSS(75,RSI) , HIGH*1.035,' '),Color00FF00;B1:=REF(CLOSE,1);B2:=REF(CLOSE,2);B3:=REF(CLOSE,3);B4:=REF(CLOSE,4); CMAX:=MAX(MAX(MAX(CLOSE,B1),B2),B3);CMIN:=MIN(MIN(MIN(CLOSE,B1),B2),B 3);STICKLINE(CLOSE=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSE>=B2 ORB2=CMAX AND B3=CMIN AND CLOSE>=B1 OR B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2,B1,CLOSE,8,0),COLOR000099;STICKLINE(CLOSE=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSE>=B2 ORB2=CMAX AND B3=CMIN AND CLOSE>=B1 OR B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2,B1,CLOSE,5,0),COLOR0000BB;STICKLINE(CLOSE=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSE>=B2 ORB2=CMAX AND B3=CMIN AND CLOSE>=B1 OR B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2,B1,CLOSE,3,0),COLOR0000FF;STICKLINE(CLOSE=CMAX AND B1=CMIN,B2,CLOSE,8,0),COLOR000099;STICKLINE(CLOSE=CMAX AND B1=CMIN,B2,CLOSE,5,0),COLOR0000BB; STICKLINE(CLOSE=CMAX AND B1=CMIN,B2,CLOSE,3,0),COLOR0000FF; STICKLINE(CLOSE=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND CLOSE<B2 ORB2=CMIN AND B3=CMAX AND CLOSE<B1 OR B3=CMIN AND CLOSE<B1 ANDCLOSE<B2,B1,CLOSE,8,0),COLOR009900;STICKLINE(CLOSE=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND CLOSE<B2 ORB2=CMIN AND B3=CMAX AND CLOSE<B1 OR B3=CMIN AND CLOSE<B1 ANDCLOSE<B2,B1,CLOSE,5,0),COLOR00BB00;STICKLINE(CLOSE=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND CLOSE<B2 ORB2=CMIN AND B3=CMAX AND CLOSE<B1 OR B3=CMIN AND CLOSE<B1 ANDCLOSE<B2,B1,CLOSE,3,0),COLOR00FF00;STICKLINE(B1=CMAX AND CLOSE=CMIN,B2,CLOSE,8,0),COLOR009900; STICKLINE(B1=CMAX AND CLOSE=CMIN,B2,CLOSE,5,0),COLOR00BB00; STICKLINE(B1=CMAX AND CLOSE=CMIN,B2,CLOSE,3,0),COLOR00FF00; STICKLINE(B1=CMIN AND CLOSE>=B2 OR (B2=CMIN AND B1<=B3 ORB3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1,B1,B2,8,0),COLORFF9900; STICKLINE(B1=CMIN AND CLOSE>=B2 OR (B2=CMIN AND B1<=B3 ORB3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1,B1,B2,5,0),COLORFFBB00; STICKLINE(B1=CMIN AND CLOSE>=B2 OR (B2=CMIN AND B1<=B3 ORB3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1,B1,B2,3,0),COLORFFFF00; STICKLINE(B1=CMAX AND CLOSE<B2 OR (B2=CMAX AND B1>B3 ORB3=CMAX AND B1>B2) AND B2>=B4 AND CLOSE<B1,B1,B2,8,0),COLOR000099; STICKLINE(B1=CMAX AND CLOSE<B2 OR (B2=CMAX AND B1>B3 ORB3=CMAX AND B1>B2) AND B2>=B4 AND CLOSE<B1,B1,B2,5,0),COLOR0000BB; STICKLINE(B1=CMAX AND CLOSE<B2 OR (B2=CMAX AND B1>B3 ORB3=CMAX AND B1>B2) AND B2>=B4 AND CLOSE<B1,B1,B2,3,0),COLOR0000FF; TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); vB1:=FILTER(A1,10);C1:=BACKSET(vB1,10+1); HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); vB2:=FILTER(A2,10);C2:=BACKSET(vB2,10+1); LD:=FILTER(C2,10);A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));t1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;t2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);波峰:IF(t1,A,A) ,POINTDOT ,Color00FFFF;STICKLINE(t1,A,A,5,0),ColorFF00FF;波谷:IF(t2,B,B),POINTDOT,Color80FF00;STICKLINE(t2,B,B,5,0),Color80FF00;【大智慧】轻松买点(波峰、波谷)-指标公式效果图(文档来源:若水财经社区)。
大智慧指标《1》
公式名:庄家行踪。
是副图。
Var1:=EMA(EMA(CLOSE,13),13);控盘:= (Var1-REF(Var1,1))/REF(Var1,1)*1000,colorffcccc,pointdot; STICKLINE(控盘<0,控盘,0,4,0),colorwhite;无庄控盘:0,colorwhite;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,4,1),colorred;有庄控盘: 0,colorred;Var2:=100*WINNER(CLOSE*0.95);STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,4,0),color00ff00; 主力出货: 0,color00ff00;STICKLINE(Var2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,4,0),colorff00ff;高度控盘: 0,colorff00ff;a10:=CROSS(控盘,0);开始控盘:if(a10,3,0),coloryellow;使用说明:X轴线有向上锐角尖时,为短线介入信号。
公式名:分水岭主图A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2;操作线:分水岭-(EMA(C,3)-分水岭),COLOR00FFFF,LINETHICK2;PM:Ma(C,5),COLORred,linethick2;IF (PM>分水岭,PM,pm),Color0000FF,linethick2;IF (PM>分水岭,分水岭,a),ColoR00ff00,POINTDOT,linethick4;IF (C<PM,PM,PM),ColorFF9900,linethick2;IF (PM<分水岭,分水岭,pm),Color0000FF,linethick2;DRAWICON(CROSS(分水岭,操作线),分水岭-0.02,1);{顶底背离}A1:=BARSLAST(ref(cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)),1)); B1:=ref(c,A1+1)>c andref("macd.diff"(12,26,9),A1+1)<"macd.diff"(12,26,9) andcross("macd.diff"(12,26,9),"macd.dea"(12,26,9));DRAWTEXT(FILTER(B1>0,5),L-0.12,'M底'),COLORRED;A2:=BARSLAST(ref(cross("kdj.k"(9,9,3),"kdj.d"(9,9,3)),1));B2:=ref(c,A2+1)>c and ref("kdj.k"(9,9,3),A2+1)<"kdj.k"(9,9,3) and cross("kdj.k"(9,9,3),"kdj.d"(9,9,3));DRAWTEXT(FILTER(B2>0,5),L-0.08,'K底'),COLORFF00FF;A3:=BARSLAST(ref(cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=ref(c,A3+1)>c and ref("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) and cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));DRAWTEXT(FILTER(B3>0,5),L-0.02,'R底'),COLORffcc66;C1:=BARSLAST(ref(cross("macd.dea"(12,26,9),"macd.diff"(12,26,9)),1)); D1:=ref(c,C1+1)<c andref("macd.diff"(12,26,9),C1+1)>"macd.diff"(12,26,9) andcross("macd.dea"(12,26,9),"macd.diff"(12,26,9));DRAWTEXT(FILTER(D1>0,5),H+0.24,'M顶'),COLOR0066FF;C2:=BARSLAST(ref(cross("kdj.d"(9,9,3),"kdj.k"(9,9,3)),1));D2:=ref(c,C2+1)<c and ref("kdj.k"(9,9,3),C2+1)>"kdj.k"(9,9,3) and cross("kdj.d"(9,9,3),"kdj.k"(9,9,3));DRAWTEXT(FILTER(D2>0,5),H+0.16,'K顶'),COLOR00FF00;C3:=BARSLAST(ref(cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));D3:=ref(c,C3+1)<c and ref("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) and cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));DRAWTEXT(FILTER(D3>0,5),H+0.08,'R顶'),COLORffffCC;公式名:准确无误买卖点主图MA3:MA(CLOSE,4),ColorFFFfff,linethick1;MA8:MA(CLOSE,8),Color208fff,linethicK1;MA49:=MA(CLOSE,49),Color00ff00,linethick1;angel:=EMA(C,2),colorf00ff0;devil:EMA(SLOPE(C,21)*20+C,42),pointdot,colorf00ff0,linethick3; BUY:=cross(angel,devil);SEL:=cross(devil,angel);stickline(cross(angel,devil) or cross(devil,angel),open,close,5,0),colorf00ff0;drawtext(buy,LOW*0.99,'↑买'),coloryellow,linethick3;drawtext(sel,HIGH*1.03,'↓卖'),color00ff00,linethick3;z:zig(3,5),color00ffff,linethick2;var3:=PEAKBARS(3,5,1)<10;var5:=IF(var3=1,2,0);顶:= IF(var5=2,2,0);顶A:if(顶>ref(顶,1),50,0),color00ff00,linethick2;DRAWTEXT(顶A=50,45,'↓快走'),COLORccff66;公式名:多空电波副图Var2:=(3*CLOSE+LOW+OPEN+HIGH)/6;Var3:=(20*Var2+19*REF(Var2,1)+18*REF(Var2,2)+17*REF(Var2,3)+16*REF(Va r2,4)+15*REF(Var2,5)+14*REF(Var2,6)+13*REF(Var2,7)+12*REF(Var2,8)+11* REF(Var2,9)+10*REF(Var2,10)+9*REF(Var2,11)+8*REF(Var2,12)+7*REF(Var2, 13)+6*REF(Var2,14)+5*REF(Var2,15)+4*REF(Var2,16)+3*REF(Var2,17)+2*REF (Var2,18)+REF(Var2,20))/210;Var4:=MA(Var3,13);Var5:=EMA(MA(CLOSE,3),34);Var6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;Var7:=MA(Var6,5);Var8:=MA(Var6,10);〖空头市场〗:STICKLINE(IF(Var3<Var5,Var3<=1.015*Var4,Var3<=1.005*Var4),Var3,Var4,1 0,1),COLOR006600;〖多头市场〗: STICKLINE(Var3>1.005*Var4,Var3,Var4,10,1),COLOR003366; 『脑电波上升』:DRAWTEXT(FILTER(MA(Var6,10)<Var7,1),Var8,'↑'),COLORRED;『脑电波下跌』:DRAWTEXT(FILTER(MA(Var6,10)>=Var6,1),Var8,'↓'),COLORGREEN;『多空安全线』: Var5,COLORWHITE;〖关注点〗: STICKLINE(COUNT(Var3>1.005*Var4 AND Var3<=REF(Var3,1),2)=2 OR COUNT(IF(Var3<Var5,Var3<=1.015*Var4,Var3<=1.005*Var4) ANDVar3>=REF(Var3,1),2)=2,Var3,Var4,10,0), COLORYELLOW;★买入点: DRAWTEXT(REF(CROSS(Var3,Var4),2) ANDVar3>1.005*Var4,Var4,'★买入点'),COLOR999966 ;『多空争夺点』: DRAWTEXT(CROSS(Var6,Var7) ANDVar7<Var8,Var3*0.99,'▲'),COLORBLUE;DRAWTEXT(CROSS(Var7,Var6) AND Var7>Var8,Var3*1.01,'▼'),COLORBLUE;Var9:=1/WINNER(CLOSE);VarA:=MA(CLOSE,13);VarB:=100-ABS((CLOSE-VarA)/VarA*100);VarC:=LLV(LOW,75);VarD:=HHV(HIGH,75);VarE:=(VarD-VarC)/100;VarF:=SMA((CLOSE-VarC)/VarE,20,1);Var10:=SMA((OPEN-VarC)/VarE,20,1);Var11:=3*VarF-2*SMA(VarF,15,1);Var12:=3*Var10-2*SMA(Var10,15,1);Var13:=100-Var12;Var14:=100-Var11;Var15:=MA(WINNER(CLOSE*0.95)*100,3);Var16:=100-IF(Var9>5,IF(Var9<100,Var9,VarB-10),0);Var17:=Var15>VarB;Var18:=REF(LOW,1)*0.9;Var19:=LOW*0.9;Var1A:=(Var19*VOL+Var18*(CAPITAL-VOL))/CAPITAL;Var1B:=EMA(Var1A,30);Var1C:=CLOSE-REF(CLOSE,1);Var1D:=MAX(Var1C,0);Var1E:=ABS(Var1C);Var1F:=SMA(Var1D,7,1)/SMA(Var1E,7,1)*100;Var20:=SMA(Var1D,13,1)/SMA(Var1E,13,1)*100;Var21:=BARSCOUNT(CLOSE);Var22:=SMA(MAX(Var1C,0),6,1)/SMA(ABS(Var1C),6,1)*100;Var23:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; Var24:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var25:=SMA((SMA(Var24,4,1)-50)*2,3,1);Var26:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; Var27:=SMA(Var26,4,1);Var28:=SMA(Var27,3,1);Var29:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var2A:=Var22<=25 AND Var23<-95 AND Var29>20 AND Var25<-30 AND Var28<30 AND Var1B-CLOSE>=-0.25 AND Var1F<22 AND Var20<28 AND Var21>50; DRAWTEXT(CROSS(Var2A,0.5) AND COUNT(Var2A=1,10)=1,Var4,'发射资金♂(超短线操作)'),COLORRED;DRAWTEXT(CROSS(Var17,0.5) AND COUNT(Var17=1,10)=1,Var3,'激烈交锋'),COLORWHITE;大智慧指标公式5公式名:绝对趋势主图主线:=(ma(close,6)+ma(close,12)+ma(close,24)+ma(close,36))/4;股价重心:=dma(amount/vol/100,vol/capital);ma14:=ema(close,14);ma34:=ema(close,26);ma54:=ema(close,54);ma90:=ema(close,90);ma120:ema(close,120),pointdot,linethick2,colorwhite;年线:ema(c,250),coloryellow;{中短波}hz:=ema(close,13);短波:ema(hz,1),color00dd00,linethick1;中波:ema(hz,26),colorred,linethick1;均线:=ema(c,148);成本:=sum(amount,0)/sum(vol,0)/100 ;hz2:ema(hz,8),colorgreen,linethick2;hz4:ema(hz,39),colorff00ff,linethick2;a1:stickline(hz2<hz4,短波,hz4,1.5,0),colorblue ;a2:stickline(短波>hz2,短波,hz2,3,0),colorgreen;a3:stickline(中波>hz4,中波,hz4,2,0),colorff00ff;{慢速kdj}rsv:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;fastk:=sma(rsv,12,1);k:=sma(fastk,9,1);d:=sma(k,3,1);j:=3*k-2*d;{中波}var11:=3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1) -2*sma(sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);var22:=100-var11;中势线:=(-1)*(ema(var22,1)-50)+42;tz:=(close-llv(low,331))/(hhv(high,331)-llv(low,331))*100;强势线:=sma(tz,5,1);大盘线:=70*(hhv(high,39)-close)/(hhv(high,39)-llv(low,39));{量选}aa:=vol/sum(vol,13);bb:=dma(c,aa);cc:=vol/sum(vol,34);dd:=dma(c,cc);{背离}var00:=winner(close);var1:=forcast(var00,10);var2:=ma(var1,3);var3:=ma(var2,12);var4:=ma(var3,16);var5:=ma(var4,31);var6:=ma(var5,55);var7:=var5;var8:=var4>var2*1.11 and var3>var2*1.095;a:=var4/var2;b:=var3/var2;var9:=var2>var1*0.95;td:=var2/var1;var1h:=indexc;var2h:=ma(var1h,6);var3h:=ma(var1h,24);var4h:=ma(var1h,32);var5h:=ma(var1h,62);var6h:=ma(var1h,105);var7h:=var5h;var8h:=var4h>var2h*1.11 and var3h>var2h*1.095;var9h:=var2h>var1h*0.95;pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) andref(c,1)=ref(o,1)and ref(h,1)=ref(c,1) and ref(c,1)>0,0,1))>0;g:=(var7h and var8h and var9h and close/cost(8)<=0.7985and (count(c=l,4)<3 or c>ref(c,1)))and pt orvar7 and var8 and var9 and close/cost(5)<=0.8 and((var1>open or var1>ref(open,1) orref(var1,1)));背离:=var2<ref(var2,1) and a>ref(a,1);买入:=var1>a and var2>b;信号:=b>a and 1>b and a<1 and h=hhv(h,21);drawicon(cross(短波,hz2),中波,1);drawtext(FILTER(cross(主线,ma90) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 orcross(主线,ma120) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 orcross(ma120,均线) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028orcross(中势线,33) and 短波>hz2 and o>ref(o,1) and c>ref(c,1) and j>d and j<65 and 大盘线<36 and 强势线>36 and 主线>ref(主线,1)and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 中势线<70 and c>o and ma34>ref(ma34,1) and 短波-ref(短波,1)>0.088 andhz4-ref(hz4,1)>0.028 orcross(短波,hz2) and 大盘线<36 and 短波>中波 and 中波>hz4 and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 orj>k and 大盘线<36 and 短波>hz2 and cross(强势线,36) or cross(短波,hz2) and cross(强势线,36) or cross(j,k) and cross(强势线,33)or cross(短波,hz2) and cross(强势线,54)or cross(j,k) and 大盘线<36 and j<65 and c>o and 短波-ref(短波,1)>0.088 orcross(j,k) and 短波>hz2 and j<68 and 短波>ref(短波,1) andhz2>ref(hz2,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 or cross(j,k) and 大盘线<36 and j<68 and 短波-ref(短波,1)>0.088 orcross(j,k) and cross(短波,hz2) and 大盘线<36 orcross(短波,hz2) and 大盘线<36 and j>k and j<68 and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 orcross(短波,hz2) and 中波>ma120 and 中波>均线 and hz2>ma120 and ma120>均线 and 短波-ref(短波,1)>0.088 orcross(j,k) and 强势线>54 and 强势线>ref(强势线,1) and j<68or count(背离,20)>1 and 短波>hz2 and o>ref(o,1) and c>ref(c,1) and j>d and j<65 and 信号=1 and 主线>ref(主线,1)and 中势线>ref(中势线,1) and 中势线<70 and c>o or cross(bb,dd) and j<74 and ma34>ref(ma34,1) and 短波-ref(短波,1)>0.088 or大盘线<36 and j>d and j<65 and c>o and 短波>ref(短波,1) and cross(hz2,中波) and 短波-ref(短波,1)>0.088 and o>ref(c,1) orc>o and 短波>ref(短波,1) and j>d and j<65 and 大盘线<36 and cross(中势线,33) and 中势线-ref(中势线,1)>0.23 and 短波-ref(短波,1)>0.088and o>ref(c,1) and 强势线>12 or短波>hz2 and 中波>hz4 and 大盘线<36 and cross(j,k) and j<65 and 短波-ref(短波,1)>0.088 or短波>hz2 and 大盘线<36 and cross(j,k) and j<65 and 短波-ref(短波,1)>0.088 or cross(j,k) and cross(短波,hz2) and 大盘线<36 and j<56 or 短波>hz2 and 中波>hz4 and 大盘线<36 and j>d and j<65 and cross(hz4,年线) and 短波-ref(短波,1)>0.088 or短波>hz2 and hz2>hz4 and 大盘线<36 and j>d and j<65 and j<65 and cross(强势线,46) and 短波-ref(短波,1)>0.088 or短波>hz2 and 大盘线<36 and j>d and j<65 and cross(中势线,36) and 短波-ref(短波,1)>0.088,8),hz2-0.18,'追'),colorwhite;drawtext(cross(短波,hz2) and c>o and j>k and j>d and 大盘线<36 and c>h z4,l*1.09,'●'),coloryellow;drawtext(cross(短波,hz2) and c>o and j>k and j>d and 大盘线<36 and c>hz4,l*1.12,'做趋势'), coloryellow;公式名:八线系统主图七天线:eMA(CLOSE,7);持股线:eMA(CLOSE,15),colorred,linethick2;生命线:eMA(CLOSE,25);初月线:eMA(CLOSE,34),colorYellow;双月线:eMA(CLOSE,56),Color0099FF;长牛线:eMA(CLOSE,235);牛熊线:eMA(CLOSE,453),colorwhite;副图七根均价线设置完成,如果主图无显示,回车后键入“MA”,确认即可。
股票-大智慧个股副图显示大盘K线图指标公式
大智慧个股副图显示大盘K线图指标公式DRAWGBKLAST(C0,STRIP(RGB(0,0,0),RGB(0,50,50),0)); DRAWTEXTABS(10,5,沙吾提制作),COLOR00FFFF,LINETHICK2; DPC:=INDEXC;DPO:=INDEXO;DPH:=INDEXH;DPL:=INDEXL;STICKLINE(DPCDPO,DPC,DPO,8,0),COLOR0000FF; STICKLINE(DPCDPO,DPH,DPL,0.5,0),COLOR0000FF; STICKLINE(DPCDPO,DPC,DPO,8,0),COLOR00FF00; STICKLINE(DPCDPO,DPH,DPL,0.5,0),COLOR00FF00;SH:=STKINDI(1A0001,1A0001SZ:=STKINDI(399001,399001IFSTRCMP(MARKETLABEL,SH)=0THENBEGINDRAWTEXTABS(200, 0,上证指数),LINETHICK5,Color6666FF;END;IFSTRCMP(MARKETLABEL,SZ)=0THENBEGINDRAWTEXTABS(200, 0,深圳成份指数),LINETHICK5,Color6666FF;END;上证MA1:=STKINDI(1A0001,MA.MA1深证MA1:=STKINDI(399001,MA.MA1上证MA2:=STKINDI(1A0001,MA.MA2深证MA2:=STKINDI(399001,MA.MA2上证MA3:=STKINDI(1A0001,MA.MA3深证MA3:=STKINDI(399001,MA.MA3上证MA4:=STKINDI(1A0001,MA.MA4深证MA4:=STKINDI(399001,MA.MA4上证MA5:=STKINDI(1A0001,MA.MA5深证MA5:=STKINDI(399001,MA.MA5上证MA6:=STKINDI(1A0001,MA.MA6深证MA6:=STKINDI(399001,MA.MA6大盘MA5:IF(STRCMP(MARKETLABEL,SH)=0,上证MA1,深证MA1),COLORFFFFFF;大盘MA10:IF(STRCMP(MARKETLABEL,SH)=0,上证MA2,深证MA2),COLOR00FFFF;大盘MA20:IF(STRCMP(MARKETLABEL,SH)=0,上证MA3,深证MA3),COLOR3333FF;大盘MA30:IF(STRCMP(MARKETLABEL,SH)=0,上证MA4,深证MA4),COLOR5399FF;大盘MA60:IF(STRCMP(MARKETLABEL,SH)=0,上证MA5,深证MA5),COLOR9900CC;大盘MA120:IF(STRCMP(MARKETLABEL,SH)=0,上证MA6,深证MA6),COLOR39FF00;DRAWTEXTABS(5,30,目前指数:+INDEXC+点),COLORFFFFFF;DRAWTEXTABS(5,50,昨日收盘:+REF(INDEXC,1)+点),COLORFFFFFF;DRAWTEXTABS(5,70,今日开盘:+INDEXO+点),COLORFFFFFF; DRAWTEXTABS(5,90,今日最高:+INDEXH+点),COLORFFFFFF; DRAWTEXTABS(5,110,今日最低:+INDEXL+点),COLORFFFFFF; DRAWTEXTABS(5,130,指数涨幅:+((INDEXC-REF(INDEXC,1))/INDEXC)*100+%),COLORFFFFFF;DRAWTEXTABS(5,150,上涨家数:+INDEXADV+家),COLORFF00FF;DRAWTEXTABS(5,170,走平家数:+INDEXDEC+家),COLOR00FFFF;DRAWTEXTABS(5,190,下跌家数:+INDEXDEC+家),COLOR39FF00;上证DIFF:=STKINDI(1A0001,MACD.DIFF深证DIFF:=STKINDI(399001,MACD.DIFF上证DEA:=STKINDI(1A0001,MACD.DEA深证DEA:=STKINDI(399001,MACD.DEA上证MACD:=STKINDI(1A0001,MACD.MACD深证MACD:=STKINDI(399001,MACD.MACD大盘DIFF:=IF(STRCMP(MARKETLABEL,SH)=0,上证DIFF,深证DIFF);大盘DEA:=IF(STRCMP(MARKETLABEL,SH)=0,上证DEA,深证DEA);大盘MACD:=IF(STRCMP(MARKETLABEL,SH)=0,上证MACD,深证MACD);DRAWTEXTABS(165,30,大盘DIFF:+大盘DIFF),COLORFFFFFF; DRAWTEXTABS(165,50,大盘DEA:+大盘DEA),COLOR00FFFF;DRAWTEXTABS(165,70,大盘MACD:+大盘MACD),COLORFF00FF;上证K:=STKINDI(1A0001,KDJ.K深证K:=STKINDI(399001,KDJ.K上证D:=STKINDI(1A0001,KDJ.D深证D:=STKINDI(399001,KDJ.D上证J:=STKINDI(1A0001,KDJ.J深证J:=STKINDI(399001,KDJ.J大盘K:=IF(STRCMP(MARKETLABEL,SH)=0,上证K,深证K);大盘D:=IF(STRCMP(MARKETLABEL,SH)=0,上证D,深证D);大盘J:=IF(STRCMP(MARKETLABEL,SH)=0,上证J,深证J); DRAWTEXTABS(165,90,大盘K:+大盘K),COLORFFFFFF;DRAWTEXTABS(165,110,大盘D:+大盘D),COLOR00FFFF;DRAWTEXTABS(165,130,大盘J:+大盘J),COLORFF00FF;DRAWTEXTABS(310,30,大盘5天均线:+大盘MA5),COLORFFFFFF,LINETHICK2;DRAWTEXTABS(310,50,大盘10天均线:+大盘MA10),COLOR00FFFF,LINETHICK2;DRAWTEXTABS(310,70,大盘20天均线:+大盘MA20),COLORFF00FF,LINETHICK2;DRAWTEXTABS(310,90,大盘30天均线:+大盘MA30),COLOR39FF00,LINETHICK2;DRAWTEXTABS(310,110,大盘60天均线:+大盘MA60),COLORFF3366,LINETHICK2;DRAWTEXTABS(310,130,大盘120天均线:+大盘MA120),COLORFFCC00,LINETHICK2;上证BIAS1:=STKINDI(1A0001,BIAS.BIAS1深证BIAS1:=STKINDI(399001,BIAS.BIAS1上证BIAS2:=STKINDI(1A0001,BIAS.BIAS2深证BIAS2:=STKINDI(399001,BIAS.BIAS2上证BIAS3:=STKINDI(1A0001,BIAS.BIAS3深证BIAS3:=STKINDI(399001,BIAS.BIAS3大盘BIAS1:=IF(STRCMP(MARKETLABEL,SH)=0,上证BIAS1,深证BIAS1);大盘BIAS2:=IF(STRCMP(MARKETLABEL,SH)=0,上证BIAS2,深证BIAS2);大盘BIAS3:=IF(STRCMP(MARKETLABEL,SH)=0,上证BIAS3,深证BIAS3);DRAWTEXTABS(165,150,大盘BIAS1:+大盘BIAS1),COLORFFFFFF;DRAWTEXTABS(165,170,大盘BIAS2:+大盘BIAS2),COLOR00FFFF;DRAWTEXTABS(165,190,大盘BIAS3:+大盘BIAS3),COLORFF00FF;大智慧个股副图显示大盘K线图指标公式实例图解:大智慧个股副图显示大盘K线图指标公式。
【股票指标公式下载】-【大智慧】股东查询(副图)
【大智慧】股东查询(副图)-指标公式源码INPUT:X1(500,100,1000),Y(80,10,100),M(0);股东1:=PFSTR(4001,M);股东2:=PFSTR(4011,M);股东3:=PFSTR(4021,M);股东4:=PFSTR(4031,M);股东5:=PFSTR(4041,M);股东6:=PFSTR(4051,M);股东7:=PFSTR(4061,M);股东8:=PFSTR(4071,M);股东9:=PFSTR(4081,M);股东10:=PFSTR(4091,M);股东:=股东1+股东2+股东3+股东4+股东5+股东6+股东7+股东8+股东9+股东10;{DRAWTEXTREL(X1+100,450,'■提醒:请及时下载专业财务数据!'),COLOR0000FF;DRAWTEXTREL(X1+100,600,'■技巧:请手动修改以上股东名称,'),COLORFFFFFF; DRAWTEXTREL(X1+100,750,' 即可自由选择该股东所持有个股!'),COLORFFFFFF;DRAWTEXTREL(X1+100,900,'====改编自一品茶缘【股东查询】===='),COLOR00FFFF;}{以下设置副图显示方式}y1:=150;DRAWTEXTREL(20,20,'股票名称:'+'【'+STKLABEL+' '+STKNAME+'】'),COLOR00FFFF;DRAWTEXTREL(X1*0.97,40,'增减情况'),COLORFF00FF;DRAWTEXTREL(X1*0.97+100,40,'持股数(万股)'),Color8080FF;DRAWTEXTREL(X1*0.97+250,40,'持股比例(%)'),ColorBFBFFF; DRAWTEXTREL(20,y1,'1.'+股东1),COLOR00FF00;DRAWTEXTREL(X1*0.97,y1,PFSTR(4004,M)),COLORFF00FF;DRAW TEXTREL(X1*0.97+100,y1,STR(PFFIN(4002,M)/10000)),Color8080FF;DRAWTEXT REL(X1*0.97+250,y1,STR(PFFIN(4003,M))),ColorBFBFFF;DRAWTEXTREL(20,y1+y*1,'2.'+股东2),COLOR00FF00;DRAWTEXTREL(X1*0.97,y1+y*1,PFSTR(4014,M)),COLORFF00FF;DRAWTEXTREL(X1*0.97+100,y1+y*1,STR(PFFIN(4012,M)/10000)),Color8080FF; DRAWTEXTREL(X1*0.97+250,y1+y*1,STR(PFFIN(4013,M))),ColorBFBFFF; DRAWTEXTREL(20,y1+y*2,'3.'+股东3),COLOR00FF00;DRAWTEXTREL(X1*0.97,y1+y*2,PFSTR(4024,M)),COLORFF00FF; DRAWTEXTREL(X1*0.97+100,y1+y*2,STR(PFFIN(4022,M)/10000)),Color8080FF; DRAWTEXTREL(X1*0.97+250,y1+y*2,STR(PFFIN(4023,M))),ColorBFBFFF; DRAWTEXTREL(20,y1+y*3,'4.'+股东4),COLOR00FF00;DRAWTEXTREL(X1*0.97,y1+y*3,PFSTR(4034,M)),COLORFF00FF; DRAWTEXTREL(X1*0.97+100,y1+y*3,STR(PFFIN(4032,M)/10000)),Color8080FF; DRAWTEXTREL(X1*0.97+250,y1+y*3,STR(PFFIN(4033,M))),ColorBFBFFF; DRAWTEXTREL(20,y1+y*4,'5.'+股东5),COLOR00FF00;DRAWTEXTREL(X1*0.97,y1+y*4,PFSTR(4044,M)),COLORFF00FF; DRAWTEXTREL(X1*0.97+100,y1+y*4,STR(PFFIN(4042,M)/10000)),Color8080FF; DRAWTEXTREL(X1*0.97+250,y1+y*4,STR(PFFIN(4043,M))),ColorBFBFFF; DRAWTEXTREL(20,y1+y*5,'6.'+股东6),COLOR00FF00;DRAWTEXTREL(X1*0.97,y1+y*5,PFSTR(4054,M)),COLORFF00FF; DRAWTEXTREL(X1*0.97+100,y1+y*5,STR(PFFIN(4052,M)/10000)),Color8080FF; DRAWTEXTREL(X1*0.97+250,y1+y*5,STR(PFFIN(4053,M))),ColorBFBFFF; DRAWTEXTREL(20,y1+y*6,'7.'+股东7),COLOR00FF00;DRAWTEXTREL(X1*0.97,y1+y*6,PFSTR(4064,M)),COLORFF00FF; DRAWTEXTREL(X1*0.97+100,y1+y*6,STR(PFFIN(4062,M)/10000)),Color8080FF; DRAWTEXTREL(X1*0.97+250,y1+y*6,STR(PFFIN(4063,M))),ColorBFBFFF; DRAWTEXTREL(20,y1+y*7,'8.'+股东8),COLOR00FF00;DRAWTEXTREL(X1*0.97,y1+y*7,PFSTR(4074,M)),COLORFF00FF; DRAWTEXTREL(X1*0.97+100,y1+y*7,STR(PFFIN(4072,M)/10000)),Color8080FF; DRAWTEXTREL(X1*0.97+250,y1+y*7,STR(PFFIN(4073,M))),ColorBFBFFF; DRAWTEXTREL(20,y1+y*8,'9.'+股东9),COLOR00FF00;DRAWTEXTREL(X1*0.97,y1+y*8,PFSTR(4084,M)),COLORFF00FF; DRAWTEXTREL(X1*0.97+100,y1+y*8,STR(PFFIN(4082,M)/10000)),Color8080FF; DRAWTEXTREL(X1*0.97+250,y1+y*8,STR(PFFIN(4083,M))),ColorBFBFFF; DRAWTEXTREL(20,y1+y*9,'10.'+股东10),COLOR00FF00;DRAWTEXTREL(X1*0.97,y1+y*9,PFSTR(4094,M)),COLORFF00FF ;DRAWTEXTREL(X1*0.97+100,y1+y*9,STR(PFFIN(4092,M)/10000)),Color8080FF ;DRAWTEXTREL(X1*0.97+250,y1+y*9,STR(PFFIN(4093,M))),ColorBFBFFF;DRAWTEXTREL(20,y1+y*10,'流通股东人数: '+STR(PFFIN(4253,M))+' 与上期相比增减:'+STR(PFFIN(4253,M)-PFFIN(4253,M+1))+' 人均持流通股:'+STR(PFFIN(4254,M))+' 与上期相比人均持股增减:'+STR(PFFIN(4254,M)-PFFIN(4254,M+1))),COLOR00AAFF;总股本:=FINANCE2(35);DRAWTEXTABS(445,60 ,'A股:'+capital/100+'万'),Color0080FF,LINETHICK2; DRAWTEXTABS(445,80,'总股'+总股本+'万 '),LINETHICK2,Color0080FF;每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);每股公积金:=FINANCE2(7);每股未分配:=FINANCE2(8);DRAWTEXTABS(445 ,100,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),linethick2,COLORYELLOW;DRAWTEXTABS(445 ,120,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),Color62FFFF;DRAWTEXTABS(445 ,140,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),linethick2,COLORYELLOW;DRAWTEXTABS(445,160,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),LINETHICK1,Color62FFFF;DRAWTEXTABS(445,180,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),LINETHICK1,ColorACFFFF;DRAWTEXTABS(445,200,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),LINETHICK1,ColorACFFFF;DRAWTEXTABS(445 ,220,'每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),ColorFFFFFF;【大智慧】股东查询(副图)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】全屏看盘(涨跌、行情、涨幅、量比)
【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式源码{画矩形}DRAWRECTABS(0,420,415,0,1),COLOR00FF00,layer1;{大智慧L2排序}DRAWTEXTABS(15,5,'<<行情>>'),ColorFFff00;昨收:=DYNAINFO(3);今开:=DYNAINFO(4);最低:=DYNAINFO(6);最高:=DYNAINFO(5);最新:=DYNAINFO(7);总手:=DYNAINFO(8);现手:=DYNAINFO(9);总额:=DYNAINFO(10);均价:=DYNAINFO(11);涨跌:=DYNAINFO(12);振幅:=DYNAINFO(13);涨幅:=DYNAINFO(14)*100;委比:=DYNAINFO(15);委差:=DYNAINFO(16);量比:=DYNAINFO(17);内盘:=DYNAINFO(22);外盘:=DYNAINFO(23);涨速:=DYNAINFO(24);买一:=DYNAINFO(28);卖一:=DYNAINFO(34);委买量:=DYNAINFO(89);委卖量:=DYNAINFO(90);外内比:=DYNAINFO(23)/DYNAINFO(22)*100;盘差:=(外盘-内盘);换手率:=(100*v/capital);DRAWTEXTABS(0,20,'■昨收:'+str(昨收)+''),Color00FF00; DRAWTEXTABS(0,40,'■今开:'+str(今开)+''),ColorffFF00; DRAWTEXTABS(0,60,'■最低:'+str(最低)+''),Color00FF00;DRAWTEXTABS(0,80,'■最高:'+str(最高)+''),ColorFFff00; DRAWTEXTABS(0,100,'■最新:'+str(最新)+''),Color0000FF; DRAWTEXTABS(0,120,'■涨跌:'+str(涨跌)+''),Color00FF00; DRAWTEXTABS(0,140,'■涨幅:'+str(涨幅)+''),Color0000FF; DRAWTEXTABS(0,160,'■现手:'+str(现手)+''),Color00ffFF; DRAWTEXTABS(0,180,'■量比:'+(量比)+''),ColorFFFF00; DRAWTEXTABS(0,200,'■换手率:'+(换手率)+''),Color000FFF; DRAWTEXTABS(0,220,'■外盘:'+str(外盘)+''),Colorffff00; DRAWTEXTABS(0,240,'■内盘:'+str(内盘)+''),Color0000ff; DRAWTEXTABS(0,260,'■盘差:'+str(盘差)+''),ColorFFFF00; DRAWTEXTABS(0,280,'■外内比:'+str(外内比)+''),Color00FFFF; DRAWTEXTABS(0,300,'■委比:'+(委比)+''),Colorff0000; DRAWTEXTABS(0,320,'■买一:'+(买一)+''),Color00ffFF; DRAWTEXTABS(0,340,'■卖一:'+(卖一)+''),Colorff0000; DRAWTEXTABS(0,360,'■委卖量:'+str(委卖量)+''),Color00FF00; DRAWTEXTABS(0,380,'■委买量:'+str(委买量)+''),Color0000FF; DRAWTEXTABS(0,400,'■买卖差:'+str(委卖量-委买量)+''),ColorFFff00; DRAWTEXTABS(130,5,'<<精灵>>'),ColorFFff00;买入单数:=DYNAINFO(91);卖出单数:=DYNAINFO(92);买卖单数差:=(买入单数-卖出单数);大笔买入:=DYNAINFO(94);大笔卖出:=DYNAINFO(97);大笔差:=(大笔买入-大笔卖出);特大买入:=DYNAINFO(95);特大卖出:=DYNAINFO(98);特大差:=(特大买入-特大卖出);机构买单吃货数:=DYNAINFO(99);机构卖单吐货数:=DYNAINFO(100);机构吃吐货数差:=(机构买单吃货数-机构卖单吐货数);机构单数差:=DYNAINFO(101);机构吃货数:=DYNAINFO(102);机构吐货数:=DYNAINFO(103);机构货数差:=(机构吃货数-机构吐货数);机构吃货量:=DYNAINFO(104);机构吐货量:=DYNAINFO(105);机构货量差:=(机构吃货量-机构吐货量);机构吃货均额:=DYNAINFO(106);机构吐货均额:=DYNAINFO(107);机构均额差:=(机构吃货均额-机构吐货均额);DRAWTEXTABS(100,20,'■买入单数:'+str(买入单数)+'' ),Color0000FF; DRAWTEXTABS(100,40,'■卖出单数:'+str(卖出单数)+'' ),Color00FF00; DRAWTEXTABS(100,60,'■大笔买入:'+str(大笔买入)+'' ),ColorffFF00; DRAWTEXTABS(100,80,'■大笔卖出:'+str(大笔卖出)+'' ),Color00FF00; DRAWTEXTABS(100,100,'■特大买入:'+str(特大买入)+'' ),ColorffFF00; DRAWTEXTABS(100,120,'■特大卖出:'+str(特大卖出)+'' ),Color00FF00; DRAWTEXTABS(100,140,'■机构买单吃货数:'+str(机构买单吃货数)+'' ),ColorffFF00;DRAWTEXTABS(100,160,'■机构卖单吐货数:'+str(机构卖单吐货数)+'' ),Color00FF00;DRAWTEXTABS(100,180,'■机构单数差:'+str(机构单数差)+'' ),ColorFFff00; DRAWTEXTABS(100,200,'■机构吃货数:'+str(机构吃货数)+'' ),ColorffFF00; DRAWTEXTABS(100,220,'■机构吐货数:'+str(机构吐货数)+'' ),Colorff0000; DRAWTEXTABS(100,260,'■机构吃货量:'+str(机构吃货量)+'' ),Color00ffFF; DRAWTEXTABS(100,280,'■机构吐货量:'+str(机构吐货量)+'' ),Colorff0000; DRAWTEXTABS(100,320,'■机构吃货均额:'+str(机构吃货均额)+'' ),Color00FFff;DRAWTEXTABS(100,340,'■机构吐货均额:'+str(机构吐货均额)+'' ),Colorff0000;DRAWTEXTABS(100,240,'■机构货数差:'+str(机构货数差)+'' ),Color00ffFF; DRAWTEXTABS(100,300,'■机构货量差:'+str(机构货量差)+'' ),Color00ffFF; DRAWTEXTABS(100,360,'■机构均额差:'+str(机构均额差)+'' ),ColorffFF00; DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; DRAWTEXTREL(300,5,'<<资金>>'),COLORffff00;zlV:=(BIGORDER(1,2)-BIGORDER(2,2))*vol;jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol;dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol; zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol; shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol;tD:=COUNT(BIGORDER(1,0),0);myD:=min(tD,30);主力资金:=ema(zlV,myD)*myD/capital;超级资金:=ema(jgV,myD)*myD/capital;大户资金:=ema(dhV,myD)*myD/capital;中户资金:=ema(zhV,myD)*myD/capital;散户资金:=ema(shV,myD)*myD/capital;大单买:=BIGORDER(1,2)*V/CAPITAL;大单卖:=BIGORDER(2,2)*V/CAPITAL;大单动向:=(大单买-大单卖)*100;涨跌动因:=(ORDER(2)-ORDER(1))/CAPITAL*1000;大单分差:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*200; DRAWTEXTREL(250,40,' ■主力资金:'+主力资金),COLOR00FFff; DRAWTEXTREL(250,80,' ■超级资金:'+超级资金),COLORffFF00; DRAWTEXTREL(250,120,' ■大户资金:'+大户资金),COLOR0000FF; DRAWTEXTREL(250,160,' ■中户资金:'+中户资金),COLORFFff00; DRAWTEXTREL(250,200,' ■散户资金:'+散户资金),COLOR00FF00; DRAWTEXTREL(250,240,' ■大单动向:'+大单动向),COLOR00FFff; DRAWTEXTREL(250,280,' ■涨跌动因:'+涨跌动因),COLORFFff00; DRAWTEXTREL(250,320,' ■大单分差:'+大单分差),COLORFFff00;DRAWTEXTABS(280,205 ,'<<财务>>'),colorFFFF00;DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; BEGIN DRAWTEXTREL(0,800,'■所属板块:'+BKNAME),LINETHICK1,COLORFF00Ff;end;总股本:=FINANCE2(35)/10000;DRAWTEXTABS(250,220,'■总股本:'+总股本+'亿 '),LINETHICK2,Color0080FF; DRAWTEXTABS(250,240,'■流通盘:'+capital/1000000+'亿'),Color0080FF,LINETHICK2;每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);每股公积金:=FINANCE2(7);每股未分配:=FINANCE2(8);DRAWTEXTABS(250 ,260,'■每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,280,'■每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),Color62FFFF;DRAWTEXTABS(250 ,300,'■每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,320,'■销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),Color62FFFF;DRAWTEXTABS(250 ,340,'■主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,360,'■净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,380,'■每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),ColorFFFFFF;DRAWTEXTABS(250 ,400,'■每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),ColorFFFFFF;{}A3:MA(AMOUNT/(100*VOL),3);A5:MA(AMOUNT/(100*VOL),5);A10:MA(AMOUNT/(100*VOL),10);A20:MA(AMOUNT/(100*VOL),20);A30:MA(AMOUNT/(100*VOL),30);A60:MA(AMOUNT/(100*VOL),60);DRAWTEXT(CROSS(A3,A10),L-0.01,'?'),COLORYELLOW,LINETHICK4; DRAWTEXT(CROSS(A5,A3),h+0.05,'?'),COLORffffff,LINETHICK4;【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】资金流(小单买入、大单买入、总成交金额)
【大智慧】资金流(小单买入、大单买入、总成交金额)-指标公式源码{日K龙虎榜大单及资金统计}小单买入:=EXTDATA(1);小单卖出:=EXTDATA(2);大单买入:=EXTDATA(3);大单卖出:=EXTDATA(4);笔均成交手:=EXTDATA(5);主动买卖:=EXTDATA(6);买入金额:=EXTDATA(7);卖出金额:=EXTDATA(12);总成交金额:=买入金额+卖出金额;增量资金:=买入金额-卖出金额;大单净量:=大单买入-大单卖出;散户跟风:=(小单买入-小单卖出)*c/100;主力存量:SUM(大单净量*close/100,0),Colorwhite,LINETHICK3;STICKLINE(增量资金>0,0,增量资金,10,0),Colorred;STICKLINE(增量资金<0,0,增量资金,10,0),Colorgreen;STICKLINE(大单净量*close/100>0,0,大单净量*close/100,7,0),Coloryellow; STICKLINE(大单净量*close/100<0,0,大单净量*close/100,7,0),Colorblue; STICKLINE(散户跟风>0,0,散户跟风,4,0),Colormagenta;STICKLINE(散户跟风<0,0,散户跟风,4,0),Colorwhite;ma(主力存量,10),colorcyan,linethick2;FILLRGN(0,主力存量,主力存量>=0,RGB(255,125,0),主力存量<0,RGB(0,125,225));ma(主力存量,10),colorcyan,linethick2;DRAWRECTABS(0,0,340,130,RGB(100,100,100));DRAWTEXTABS(20,5,STKLABEL),LINETHICK3,ColorFF00FF;{代码} DRAWTEXTABS(80,5,STKNAME),LINETHICK3,ColorFF00FF;{名称} DRAWTEXTABS(10,30,'■大单买入: '+大单买入),Color00ffff,LINETHICK1; DRAWTEXTABS(130,30,'占'+FLOOR(大单买入/主动买卖*100)+' %'),Color00ffff,LINETHICK1;DRAWTEXTABS(10,45,'■小单买入: '+小单买入),Color2F73FF,LINETHICK1;DRAWTEXTABS(130,45,'占'+FLOOR(小单买入/主动买卖*100)+' %'),Color2F73FF,LINETHICK1;DRAWTEXTABS(10,60,'■大单卖出: '+大单卖出),Color00FF00,LINETHICK1; DRAWTEXTABS(130,60,'占'+FLOOR(大单卖出/主动买卖*100)+' %'),Color00FF00,LINETHICK1;DRAWTEXTABS(10,75,'■小单卖出: '+小单卖出),ColorB4B043,LINETHICK1; DRAWTEXTABS(130,75,'占'+FLOOR(小单卖出/主动买卖*100)+' %'),ColorA8A800,LINETHICK1;DRAWTEXTABS(10,90,'■大单净量: '+大单净量),Colorff00ff,LINETHICK1; DRAWTEXTABS(130,90,'占'+FLOOR(大单净量/主动买卖*100)+' %'),ColorFF00FF,LINETHICK1;DRAWTEXTABS(10,105,'■笔均成交: '+笔均成交手+' 手'),Color00ffff,LINETHICK1;DRAWTEXTABS(175,105,'■成交总额:'+总成交金额+' 万元'),LINETHICK1,COLOR00ffff;DRAWTEXTABS(175,3,'■买入:'+买入金额),LINETHICK1,COLORred; DRAWTEXTABS(175,15,'■卖出:'+卖出金额),LINETHICK1,COLORgreen; DRAWTEXTABS(175,30,'■增量资金:'+增量资金),LINETHICK1,COLOR00ffff; DRAWTEXTABS(300,30,'占'+FLOOR(增量资金/总成交金额*100)+'%'),COLOR00ffff,LINETHICK1;DRAWRECTABS(0,0,170,28,0),COLORwhite;DRAWRECTABS(170,0,340,28,0),COLORwhite;DRAWRECTABS(0,28,170,120,0),COLORwhite;DRAWRECTABS(170,28,340,120,0),COLORwhite;DRAWRECTABS(0,103,340,120,0),COLORwhite;DRAWRECTABS(0,120,340,140,0),COLORwhite;总:=DYNAINFO(8);{-----------------------------------------大单直观比例-------------------------------------------------------------} DRAWRECTABS(0,120,大单买入*340/总,140,RGB(255,255,0)); DRAWRECTABS(大单买入*340/总,120,(大单买入+小单买入)*340/总,140,RGB(255,125,0));DRAWRECTABS((大单买入+小单买入)*340/总,120,(大单买入+小单买入+大单卖出)*340/总,140,RGB(0,200,0));DRAWRECTABS((大单买入+小单买入+大单卖出)*340/总,120,(大单买入+小单买入+大单卖出+小单卖出)*340/总,140,RGB(0,125,225));{---------------------------------------------------资金流量&控盘力度--------------------------------------------------------------}; ZLCM:=EMA(WINNER(CLOSE)*70,3);SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);ZZLKP:=ZLCM/(ZLCM+SHCM)*100;PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN, 0-QJJ*(HIGH-LOW),0-VOL/2));HSL:=(XVL/20)/1.15;攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));LLJX:=EMA(攻击流量,3);资金流量:=LLJX;周流量:=SUM(LLJX,5);流入力度:=HSL/1000;控盘力度:=INTPART(ZZLKP);DRAWTEXTABS(175,45,'■资金流量:'+资金流量),LINETHICK1,COLORff00ff; DRAWTEXTABS(175,60,'■周流总量:'+周流量),LINETHICK1,COLORff00ff; DRAWTEXTABS(175,75,'■流入力度:'+流入力度),LINETHICK1,COLORff00ff;【大智慧】资金流(小单买入、大单买入、总成交金额)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】买卖成交(主动买盘、主动卖盘、买卖比)
【大智慧】买卖成交(主动买盘、主动卖盘、买卖比)-指标公式源码量5:MA(VOL,5),colorred;量10:MA(VOL,10);VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));成交:VOL,ColorCD52FF,linethick0;主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLO SE-LOW)),VOL/2)),Color0000FF,STICK;主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(H IGH-LOW),VOL/2)),Color00E521,STICK;买卖比:主动买盘/主动卖盘;WJ:=(HIGH+LOW+CLOSE)/3;VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);VD6:=(VD1*VD5);VD7:=(VD2*VD5);VD8:=(VD3*VD5);VD9:=(VD4*VD5);买入量:=(VD9+VD8);卖出量:=(VD6+VD7);买入资金:=买入量*close/100;卖出资金:=卖出量*close/100;资金进出:=买入资金-卖出资金;买卖资金比:=买入资金/卖出资金;挂单买盘:=MA(主动买盘,3);挂单卖盘:=(MA(主动卖盘,3));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,主动卖盘,7,0),color009000; 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;DRAWTEXTABS(1,1,'【买卖盘解量(手)】');DRAWTEXTABS(1,30,'┃当日买卖量='+NUMTOSTR(VOL)),ColorFF00FF; DRAWTEXTABS(1,60,'┃当日主动买量='+NUMTOSTR(主动买盘)),Color00ff00; DRAWTEXTABS(1,90,'┃当日主动卖量='+NUMTOSTR(主动卖盘)),Coloryellow; DRAWTEXTABS(1,120,'┃当日买卖比='+NUMTOSTR(买卖比)),ColorFF00FF; DRAWTEXTABS(250,30,'┃买入资金累计万元: '+NUMTOSTR(买入资金)),Colorred,LINETHICK1;DRAWTEXTABS(250,60,'┃卖出资金累计万元: '+NUMTOSTR(卖出资金)),Color00ff00,LINETHICK1;DRAWTEXTABS(250,90,'┃资金进出万元: '+NUMTOSTR(资金进出)),Coloryellow,LINETHICK1;DRAWTEXTABS(250,120,'┃买卖资金比: '+NUMTOSTR(买卖资金比)),Coloryellow,LINETHICK1;DRAWTEXTABS(1,150,'┃当日挂单买盘: '+NUMTOSTR(挂单买盘)),Colorred,LINETHICK1;DRAWTEXTABS(250,500,'┃当日挂单卖盘: '+NUMTOSTR(挂单卖盘)),Color00ff00,LINETHICK1;【大智慧】买卖成交(主动买盘、主动卖盘、买卖比)-指标公式效果图(文档来源:若水财经社区)。
大智慧主图公式
大智慧主图公式: 招招绝(原码)A3 :(EMA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15))/3,colorff00ff;a4 :(EMA(CLOSE,20)+MA(CLOSE,25)+MA(CLOSE,30))/3,color00ff00;A5 :(EMA(CLOSE,40)+MA(CLOSE,50)+MA(CLOSE,60))/3,coloryellow;a6 :(EMA(CLOSE,80)+MA(CLOSE,85)+MA(CLOSE,90))/3,colorff9900;A7 :(EMA(CLOSE,120)+MA(CLOSE,130)+MA(CLOSE,150))/3,color0000ff;a8 :(EMA(CLOSE,160)+MA(CLOSE,170)+MA(CLOSE,180))/3,coloryellow;A9 :(EMA(CLOSE,200)+MA(CLOSE,225)+MA(CLOSE,250))/3,color00ff00;V1:EMA(CLOSE,5),Color00FFFF;V2:EMA((EMA(CLOSE,29))*(1.01),10),ColorFF00FF;DRAWICON(CROSS(V1,V2),V2,1),Color00FF00;V3:EMA(CLOSE,10),ColorFFFFFF;V4:EMA((EMA(CLOSE,60))*(0.99),10),ColorFFFF00;DRAWICON(CROSS(V3,V4),V2,1),Color0000FF;VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),colorred;VarA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;VarB:=EMA(0.667*REF(VarA,1)+0.333*VarA,5);DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VarA>=VarB and VarA<-17,3) ANDREF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');Varr1:=SMA(MAX(CLOSE-ref(c,1),0),12,1)/SMA(ABS(CLOSE-ref(c,1)),15,1)*100;DRAWICON(CROSS(82,Varr1),HIGH,2);DRAWTEXT(CROSS(82,Varr1),high,'快卖↓'),coloryellow;Var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;Var2:=REF(Var1,1);Var3:=SMA(MAX(Var1-Var2,0),10,1)/SMA(ABS(Var1-Var2),10,1)*100;HY3:=IF(COUNT(Var3<20,5)>=1 AND COUNT(Var1=LLV(Var1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);DRAWTEXT(hy3,low,'▲买入'),colorred;夺宝:Var1:=EMA(C,3);Var2:=EMA(C,5);Var3:=EMA(C,10);Var4:=EMA(C,20);Var5:=EMA(C,30);Var6:=(Var2+Var3+Var4+Var5)/4;Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100;Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100;Var9:=EMA(Var7,8);STICKLINE(Var7<1*REF(Var7,1),h,l,0.5,0),COLORBLUE;{蓝-持币}STICKLINE(Var7<1*REF(Var7,1),o,c,5, 1),COLORBLUE;STICKLINE(Var7>1*REF(Var7,1),h,l,0.5,0),COLORRED;{红-持股}STICKLINE(Var7>1*REF(Var7,1),o,c,5, 1),COLORRED;STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),h,l,0.5,0),COLORGREEN;{绿-洗盘}STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),o,c,5, 1),COLORGREEN;买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);STICKLINE(买进条件,h,l,0.5,1),colorwhite,linethick2;{白-买进}STICKLINE(买进条件,o,c,6,0),colorwhite,linethick2;加码价:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);STICKLINE(加码条件,h,l,0.5,1),coloryellow,linethick2;{黄-加码}STICKLINE(加码条件,o,c,6,0),coloryellow,linethick2;X1:EMA(C,7),color0088ff;X2:EMA(c,21),coloree00ee;X3:EMA(X2,21),colorwhite;x4:ema(x3,27),color009900;x5:ema(x2,100),colorFFAA00;x6:ema(x5,100),color009999;v1:ema(close,5);v2:ema(ema(close,29)*1.01,10);DRAWICON(cross(v1,v2),v2,1); LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;逃:if(CROSS(84,RSI) , HIGH,high+1),pointdot,linethick7,COLORYELLOW ;high+1,pointdot,linethick7,COLOR000000; DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);DRAWICON(FILTER(B1>0,5),L*0.94,10);DRAWTEXT(FILTER(B1>0,5),L*0.94,'M底'),COLORGREEN;{MACD底背离}A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));DRAWICON(FILTER(B2>0,5),L*0.96,10);DRAWTEXT(FILTER(B2>0,5),L*0.96,'K底'),COLORYELLOW;{KDJ底背离}A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) ANDCROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));DRAWICON(FILTER(B3>0,5),L*0.98,10);DRAWTEXT(FILTER(B3>0,5),L*0.98,'R底'),COLORFFFF00;{RSI底背离}C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);DRAWICON(FILTER(D1>0,5),H*1.07,12);DRAWTEXT(FILTER(D1>0,5),H*1.07,'M顶'),COLOR0066FF;{MACD顶背离}C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)); DRAWICON(FILTER(D2>0,5),H*1.05,12);DRAWTEXT(FILTER(D2>0,5),H*1.05,'K顶'),COLORRED;{KDJ顶背离}C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) ANDCROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));DRAWICON(FILTER(D3>0,5),H*1.03,12),;DRAWTEXT(FILTER(D3>0,5),H*1.03,'R顶'),COLORFF00FF;{RSI顶背离}。