【股票指标公式下载】-【大智慧】分单指标(特大买入、特大卖出、特大差、股东变化率)
大智慧主力建仓和出货指标公式
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;
【股票指标公式下载】-【大智慧】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线资金(大单买入、大单卖出、逐笔大买、逐笔大卖)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】资金流(主力、大户、散户、占比)
【大智慧】资金流(主力、大户、散户、占比)-指标公式源码主力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;【大智慧】资金流(主力、大户、散户、占比)-指标公式效果图(文档来源:若水财经社区)。
大智慧买卖点公式指标公式
大智慧买卖点公式指标公式VAR4:=((HHV(HIGH,9) - CLOSE)/(HHV(HIGH,9) - LLV(LOW,9)))*(100) - 70;VAR5:=((CLOSE - LLV(LOW,60))/(HHV(HIGH,60) - LLV(LOW,60)))*(100);VAR7:=SMA(((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100),3,1);VAR8:=LLV(LOW,34);VARC:=EMA(((((2)*(CLOSE) + HIGH + LOW)/(4) - VAR8)/(HHV(HIGH,34) - VAR8))*(100),8);VARD:=EMA(VARC,5);VARE:=((HHV(HIGH,9) - CLOSE)/(HHV(HIGH,9) - LLV(LOW,9)))*(100) - 70;VAR11:=SMA(((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100),3,1);VAR12:=SMA(VAR11,3,1) + 100;VAR13:=VAR12 - SMA(VARE,9,1) + 100;VAR14:=ZIG(3,13);建仓:=IF((VARC > 17) and (VARC < 59) and (VARC - VARD >= 0),10,(-10));猎豹:=IF((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),10,45);丰收:=IF((VARC > 70) and (VARC - VARD >= 0),77,82);牛:=IF((VAR13 > 100),VAR13 - 100,0);顶:=IF((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),95,55);风:=IF((VARC - VARD > 0),VARC,VARD);STICKLINE((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),CLOSE,OPEN,5,0),Color66FF00;STICKLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),CLOSE,OPEN,5,0),coloryellow;DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick5,Color070084;DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick4,Color0000A3;DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick3,Color0000B7;DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick2,Color0000CD;DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick1,Color077BF3;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),ColorFF5B00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4.5,0),ColorFF6C00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),ColorFF7B00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),ColorFF9C00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),ColorFFBE00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1,0),ColorFFCC00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,0.5,0),ColorCCCCCC;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),Color070084;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4.5,0),Color0000A3;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),Color0000B7;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3.5,0),Color0000CD;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),Color0000E9;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),Color0754E9;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),Color076EF3;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,0.5,0),Color077BF3;STICKLINE((CLOSE > OPEN),OPEN,LOW,0.5,0),Color0726CA;STICKLINE((CLOSE > OPEN),CLOSE,HIGH,0.5,0),Color0726CA;STICKLINE((OPEN > CLOSE),CLOSE,LOW,0.5,0),ColorDE9100;STICKLINE((OPEN > CLOSE),OPEN,HIGH,0.5,0),ColorDE9100;买:DRAWTEXT((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.05),'买'),colorred;卖:DRAWTEXT((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.03),'卖'),Color66FF00;STICKLINE((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),CLOSE,OPEN,5,0),Color66FF00;STICKLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),CLOSE,OPEN,5,0),coloryellow;。
【股票指标公式下载】-【大智慧】BS操盘(买线、卖线、指导线)
【大智慧】BS操盘(买线、卖线、指导线)-指标公式源码DRAWGBK(DATE>900101,STRIP(RGB(0,150,130),RGB(0,0,0),0));买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=cross(买线,卖线);SEL:=cross(卖线,买线);drawtext(bu,LOW,'B'),ALIGN1,VALIGN0,colorred,linethick3; DRAWTEXT(bu,LOW,' ̄'),ALIGN1,VALIGN0,Color208FFF,LINETHICK3; DRAWTEXT(sel,HIGH,' ̄'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3; drawtext(sel,HIGH,'S'),ALIGN1,VALIGN2,colorgreen,linethick3; stickline(买线>=卖线,low,high,0.1,1),colorred;stickline(买线>=卖线,close,open,8,1),colorred;stickline(买线<卖线,close,open,8,0),color00ff00;stickline(买线<卖线,low,high,0.1,1),color00ff00;stickline(cross(买线,卖线) or cross(卖线,买线),open,close,6,0),colorffff00;指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),line thick1,ColorFFffFF;界: MA(CLOSE,27),linethick1,Color00FFFF;DRAWTEXT(cross(指导线,界),界,'上破'),ALIGN1,VALIGN2,Colorffffff; DRAWTEXT(cross(指导线,界),界,' ̄ ̄'),ALIGN1,VALIGN0,Colorffffff; DRAWTEXT(cross(界,指导线),界,'下破'),ALIGN1,Color00ffff; DRAWTEXT(cross(界,指导线),界,' ̄ ̄'),ALIGN1,Color00ffff;上限: 界+3*STD(CLOSE,27),linethick1,Color00FFFF;卖: 界+2*STD(CLOSE,27),linethick1,ColorFF00FF;买: 界-2*STD(CLOSE,27),linethick1,ColorF0FF00;下限: 界-2.9*STD(close,27),linethick1,Color00FF00;DRAWTEXT(cross(H,上限),H,'获利'),ALIGN1,VALIGN2,Color00ffff; DRAWTEXT(cross(H,上限),H,' ̄ ̄'),ALIGN1,VALIGN0,Color00ffff; DRAWTEXT(cross(上限,H),H,'&利'),ALIGN1,VALIGN2,Color00ffff; DRAWTEXT(cross(上限,H),H,' ̄ ̄'),ALIGN1,VALIGN0,Color00ffff; DRAWTEXT(cross(H,卖),H,'获利'),ALIGN1,VALIGN2,Colorff00ff;DRAWTEXT(cross(H,卖),H,' ̄ ̄'),ALIGN1,VALIGN0,Colorff00ff; DRAWTEXT(cross(C,卖),H,'获利'),ALIGN1,VALIGN2,Colorff0000; DRAWTEXT(cross(C,卖),H,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(下限,L),l,'观'),ALIGN1,VALIGN0,Color00ff00; DRAWTEXT(cross(下限,L),l,' ̄ ̄'),ALIGN1,VALIGN0,Color00ff00; DRAWTEXT(cross(买,L),l,'◎'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,L),l,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,C),L,'◎'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,C),L,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000;【大智慧】BS操盘(买线、卖线、指导线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】全屏看盘(涨跌、行情、涨幅、量比)
【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式源码{画矩形}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;【大智慧】资金流(小单买入、大单买入、总成交金额)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】天游牛(特大买单、中单买、特大买入)
【股票指标公式下载】-【⼤智慧】天游⽜(特⼤买单、中单买、特⼤买⼊)【⼤智慧】天游⽜(特⼤买单、中单买、特⼤买⼊)-指标公式源码INPUT: 天前(5,1,500);VAR3:=天前;POLYLINE(CLOSE,40),LINETHICK0,LAYER0,COLOR222222;POLYLINE(CLOSE,30),LINETHICK0,LAYER0,COLOR222222;POLYLINE(CLOSE,20),LINETHICK0,LAYER0,COLOR222222;POLYLINE(CLOSE,10),LINETHICK0,LAYER0,COLOR222222;VAR0:=BARSLAST(DISPSTATUS=1);VAR1:=HHVALL(VAR0);VAR2:=IF(VAR1 < 120,VAR1,0);VAR4:=VAR1 - VAR0;VAR5:=HHVALL(IF(VAR4=VAR3,DATE,0));VAR6:=NUMTOSTRN(VAR3,0);VAR7:=' ' + VAR6;VAR8:=VAR7 + '天前';DRAWTEXT(VAR4=VAR3,50,VAR8),LAYER0,COLORWHITE;DRAWRECTREL(-150,1200,0,-100,1),COLORBLACK;TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT AND TIME0<55800; {判断是否当天}TB1:=BIGORDER(1,3);TB2:="[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(1, 3[/email]);TB:=IF(TODAY,TB2,TB1);{特⼤买单}TS1:=BIGORDER(2,3);TS2:="[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(2, 3[/email]);TS:=IF(TODAY,TS2,TS1);{特⼤卖单}DB1:=BIGORDER(1,2);DB2:="[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(1, 2[/email]);DB:=IF(TODAY,DB2,DB1);{⼤单买}DS1:=BIGORDER(2,2);DS2:="[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(2, 2[/email]);DS:=IF(TODAY,DS2,DS1);{⼤单卖}ZB1:=BIGORDER(1,1);ZB2:="[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(1, 1[/email]);ZB:=IF(TODAY,ZB2,ZB1);{中单买}ZS1:=BIGORDER(2,1);ZS2:="[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER"(2, 1[/email]);ZS:=IF(TODAY,ZS2,ZS1);{中单卖}VAR9:=TB * AMOUNT/10000;{特⼤买单W元}VAR10:=TS * AMOUNT/10000;{特⼤卖单W元}VAR11:=(DB - TB) * AMOUNT/10000;{⼤户买单W元}VAR12:=(DS - TS) * AMOUNT/10000;{⼤户卖单W元}VAR13:=(ZB - DB) * AMOUNT/10000;{中户买单W元}VAR14:=(ZS - DS) * AMOUNT/10000;{中户卖单W元}VAR15:=(1 - ZB) * AMOUNT/10000;{散户买单W元}VAR16:=(1 - ZS) * AMOUNT/10000;{散户卖单W元}特净:VAR9 - VAR10,LINETHICK0,PRECIS2,COLORMAGENTA;⼤净:VAR11 - VAR12,LINETHICK0,PRECIS2,COLOR0048FF;中净:VAR13 - VAR14,LINETHICK0,PRECIS2,COLORYELLOW;⼩净:VAR15 - VAR16,LINETHICK0,PRECIS2,COLOR22FF26;VAR17:=DB * AMOUNT/10000;{⼤单买w元}VAR18:=DS * AMOUNT/10000;{⼤单卖w元}VAR19:=VAR17 - VAR18;{⼤单净额}VAR20:=IF(DISPSTATUS=2,SUM(特净,VAR3),0);VAR21:=IF(HHVALL(VAR20) > 0,HHVALL(VAR20),LLVALL(VAR20)); DRAWTEXT(VAR4=VAR3,50,'超:' + STRRIGHT(' ' + NUMTOSTRN(VAR21,0),8) + '万 '),LAYER0,ALIGN2,COLORMAGENTA; DRAWTEXT(VAR4=VAR3 AND VAR21 < 0,50,'' + STRRIGHT(' ' + NUMTOSTRN(VAR21,0),8) + '万 '),LAYER0,ALIGN2,COLORAAAAAA;VAR22:=IF(DISPSTATUS=2,SUM(⼤净,VAR3),0);VAR23:=IF(HHVALL(VAR22) > 0,HHVALL(VAR22),LLVALL(VAR22)); DRAWTEXT(VAR4=VAR3,47.5,'⼤:' + STRRIGHT(' ' +NUMTOSTRN(VAR23,0),8) + '万 '),LAYER0,ALIGN2,COLOR0048FF; DRAWTEXT(VAR4=VAR3 AND VAR23 < 0,47.5,'' + STRRIGHT(' ' + NUMTOSTRN(VAR23,0),8) + '万 '),LAYER0,ALIGN2,COLORAAAAAA;VAR24:=IF(DISPSTATUS=2,SUM(中净,VAR3),0);VAR25:=IF(HHVALL(VAR24) > 0,HHVALL(VAR24),LLVALL(VAR24));DRAWTEXT(VAR4=VAR3,45,'中:' + STRRIGHT(' ' + NUMTOSTRN(VAR25,0),8) + '万'),LAYER0,ALIGN2,COLORYELLOW; DRAWTEXT(VAR4=VAR3 AND VAR25 < 0,45,'' + STRRIGHT(' ' + NUMTOSTRN(VAR25,0),8) + '万 '),LAYER0,ALIGN2,COLORAAAAAA;VAR26:=IF(DISPSTATUS=2,SUM(⼩净,VAR3),0);VAR27:=IF(HHVALL(VAR26) > 0,HHVALL(VAR26),LLVALL(VAR26)); DRAWTEXT(VAR4=VAR3,42.5,'⼩:' + STRRIGHT(' ' + NUMTOSTRN(VAR27,0),8) + '万 '),LAYER0,ALIGN2,COLOR22FF26; DRAWTEXT(VAR4=VAR3 AND VAR27 < 0,42.5,'' + STRRIGHT(' ' + NUMTOSTRN(VAR27,0),8) + '万 '),LAYER0,ALIGN2,COLORAAAAAA;VAR28:=ABS(VAR21) + ABS(VAR23) + ABS(VAR25) + ABS(VAR27);VAR29:=(VAR0 - 天前)/(VAR0 + 2) * 1000;VAR30:=IF(VAR21 > 0,VAR29 - VAR21/VAR28 * 400,VAR29);VAR31:=IF(VAR21 < 0,VAR29 - ABS(VAR21)/VAR28 * 400,VAR29);VAR32:=IF(VAR23 > 0,VAR29 - VAR23/VAR28 * 400,VAR29);VAR33:=IF(VAR23 < 0,VAR29 - ABS(VAR23)/VAR28 * 400,VAR29);VAR34:=IF(VAR25 > 0,VAR29 - VAR25/VAR28 * 400,VAR29);VAR35:=IF(VAR25 < 0,VAR29 - ABS(VAR25)/VAR28 * 400,VAR29);VAR36:=IF(VAR27 > 0,VAR29 - VAR27/VAR28 * 400,VAR29);VAR37:=IF(VAR27 < 0,VAR29 - ABS(VAR27)/VAR28 * 400,VAR29);DRAWRECTREL(VAR30,48,VAR29,35,16711900),COLORBLACK;DRAWRECTREL(VAR31,48,VAR29,35,13107200),COLORBLACK;DRAWRECTREL(VAR32,98,VAR29,85,16711900),COLORBLACK;DRAWRECTREL(VAR33,98,VAR29,85,13107200),COLORBLACK;DRAWRECTREL(VAR34,145,VAR29,133,16711900),COLORBLACK;DRAWRECTREL(VAR35,145,VAR29,133,13107200),COLORBLACK;DRAWRECTREL(VAR36,193,VAR29,180,16711900),COLORBLACK;DRAWRECTREL(VAR37,193,VAR29,180,13107200),COLORBLACK;VAR38:=AMOUNT * TB;{特⼤买⼊}VAR39:=AMOUNT * (DB - TB);{⼤户买⼊}VAR40:=AMOUNT * (ZB - DB);{中户买⼊}VAR41:=AMOUNT * (1 - ZB);{散户买⼊}VAR42:=VAR38 + VAR39 + VAR40 + VAR41;VAR43:=AMOUNT * TS;{特⼤卖出}VAR44:=AMOUNT * (DS- TS);{⼤户卖出}VAR45:=AMOUNT * (ZS - DS);{中户卖出}VAR46:=AMOUNT * (1 - ZS);{散户卖出}VAR47:=(DB - DS) * VOL/CAPITAL * 100;VAR48:=VAR38/VAR42;VAR49:=VAR39/VAR42;VAR50:=VAR40/VAR42;VAR51:=VAR41/VAR42;VAR52:=VAR48 * 100;VAR53:=VAR49 * 100;VAR54:=VAR50 * 100;VAR55:=VAR51 * 100;VAR56:=SUM(特净,VAR2);VAR57:=(HHVALL(VAR56 + 特净) - LLVALL(VAR56 + 特净))/9; VAR58:=40 - LLVALL((VAR56 + 特净)/VAR57); VAR59:=SUM(⼤净,VAR2);VAR60:=(HHVALL(VAR59 + ⼤净) - LLVALL(VAR59 + ⼤净))/9; VAR61:=30 - LLVALL((VAR59 + ⼤净)/VAR60); VAR62:=SUM(中净,VAR2);VAR63:=(HHVALL(VAR62 + 中净) - LLVALL(VAR62 + 中净))/9; VAR64:=20 - LLVALL((VAR62 + 中净)/VAR63); VAR65:=SUM(⼩净,VAR2);VAR66:=(HHVALL(VAR65 + ⼩净) - LLVALL(VAR65 + ⼩净))/9; VAR67:=10 - LLVALL((VAR65 + ⼩净)/VAR66); VAR68:=10/HHVALL(ABS(VAR19));VERTLINE(VAR4=VAR3,1),LAYER0,COLORBLACK;VERTLINE(VAR4=VAR3,2),LAYER0,COLORWHITE;DRAWTEXT(DISPSTATUS=1,HHVALL(REF(VAR56/VAR57 +VAR58,VAR0)),'O.OO-'),LINETHICK2,LAYER0,ALIGN2,COLOR000088;DRAWTEXT(DISPSTATUS=1,HHVALL(REF(VAR59/VAR60 +VAR61,VAR0)),'0.00-'),LINETHICK2,LAYER0,ALIGN2,COLOR000088;DRAWTEXT(DISPSTATUS=1,HHVALL(REF(VAR62/VAR63 +VAR64,VAR0)),'0.00-'),LINETHICK2,LAYER0,ALIGN2,COLOR000088;DRAWTEXT(DISPSTATUS=1,HHVALL(REF(VAR65/VAR66 +VAR67,VAR0)),'0.00-'),LINETHICK2,LAYER0,ALIGN2,COLOR000088;DRAWRECTREL(1,1200,30,0,1),LAYER0,COLORBLACK;POLYLINE(CLOSE,VAR56/VAR57 + VAR58),LAYER0,COLOR18A4FF; STICKLINE(特净 > 0,VAR56/VAR57 + VAR58, (VAR56 + 特净)/VAR57 + VAR58,2,0),LAYER0,COLORRED;STICKLINE(特净 < 0,VAR56/VAR57 + VAR58,(VAR56 + 特净)/VAR57 + VAR58,2,0),LAYER0,COLORCYAN; POLYLINE(CLOSE,VAR59/VAR60 + VAR61),LAYER0,COLOR18A4FF; STICKLINE(⼤净 > 0,VAR59/VAR60 + VAR61, (VAR59 + ⼤净)/VAR60 + VAR61,2,0),LAYER0,COLORRED;STICKLINE(⼤净 < 0,VAR59/VAR60 + VAR61,(VAR59 + ⼤净)/VAR60 + VAR61,2,0),LAYER0,COLORCYAN; POLYLINE(CLOSE,VAR62/VAR63 + VAR64),LAYER0,COLOR18A4FF; STICKLINE(中净 > 0,VAR62/VAR63 + VAR64, (VAR62 + 中净)/VAR63 + VAR64,2,0),LAYER0,COLORRED;STICKLINE(中净 < 0,VAR62/VAR63 + VAR64,(VAR62 + 中净)/VAR63 + VAR64,2,0),LAYER0,COLORCYAN; POLYLINE(CLOSE,VAR65/VAR66 + VAR67),LAYER0,COLOR18A4FF; STICKLINE(⼩净 > 0,VAR65/VAR66 + VAR67, (VAR65 + ⼩净)/VAR66 + VAR67,2,0),LAYER0,COLORRED;STICKLINE(⼩净 < 0,VAR65/VAR66 + VAR67,(VAR65 + ⼩净)/VAR66 + VAR67,2,0),LAYER0,COLORCYAN;VAR69:=SUM(VAR19,VAR2);VAR70:=(HHVALL(VAR69) - LLVALL(VAR69))/8.5;VAR71:=0 - LLVALL(VAR69/VAR70);POLYLINE(CLOSE,VAR69/VAR70 + VAR71 + 0.8),LAYER0,COLOR18A4FF; STICKLINE(VAR19 < 0,REVERSE(VAR19) * VAR68,0,3,0),COLORGREEN; STICKLINE(VAR19 > 0,VAR19 * VAR68,0,3,0),COLORRED;0.01,LAYER0,COLORBLACK;DRAWFLAGTEXT(特净 > 0,35,'当⽇特单买⼊:' + NUMTOSTRN(特净,0) + '万'),COLORRED;DRAWFLAGTEXT(特净 < 0,35,'当⽇特单卖出;' + NUMTOSTRN(特净,0) + '万'),COLORCYAN;DRAWFLAGTEXT(⼤净 > 0,35,'当⽇⼤单买⼊:' + NUMTOSTRN(⼤净,0) + '万'),COLORRED;DRAWFLAGTEXT(⼤净 < 0,35,'当⽇⼤单卖出:' + NUMTOSTRN(⼤净,0) + '万'),COLORCYAN;DRAWFLAGTEXT(中净 > 0,35,'当⽇中单买⼊:' + NUMTOSTRN(中净,0) + '万'),COLORRED;DRAWFLAGTEXT(中净 < 0,35,'当⽇中单卖出:' + NUMTOSTRN(中净,0) + '万'),COLORCYAN;DRAWFLAGTEXT(⼩净 > 0,35,'当⽇⼩单买⼊:' + NUMTOSTRN(⼩净,0) + '万'),COLORRED;DRAWFLAGTEXT(⼩净 < 0,35,'当⽇⼩单卖出:' + NUMTOSTRN(⼩净,0) + '万'),COLORCYAN;DRAWFLAGTEXT(VAR19 > 0,35,'当⽇机构买⼊:' + NUMTOSTRN(VAR19,0) + '万'),COLORRED;DRAWFLAGTEXT(VAR19 < 0,35,'当⽇机构卖出:' + NUMTOSTRN(VAR19,0) + '万'),COLORCYAN;DRAWTEXTREL(28,10,'超户'),LAYER0,COLORMAGENTA;DRAWTEXTREL(28,210,'⼤户'),LAYER0,COLOR0048FF;DRAWTEXTREL(28,410,'中户'),LAYER0,COLORYELLOW;DRAWTEXTREL(28,610,'散户'),LAYER0,COLOR22FF26;DRAWTEXTREL(28,810,'资⾦'),LAYER0,COLORWHITE;DRAWRECTREL(0,180,VAR52 * 7,142,16711935),COLORBLACK; DRAWRECTREL(0,380,VAR53 * 7,342,255),COLORBLACK;DRAWRECTREL(0,580,VAR54 * 7,542,65535),COLORBLACK; DRAWRECTREL(0,780,VAR55 * 7,742,65280),COLORBLACK;DRAWTEXTREL(VAR52 * 7 + 2,142,'' + NUMTOSTRN(VAR52,0) +'%'),LAYER0,COLORMAGENTA;DRAWTEXTREL(VAR53 * 7 + 2,342,'' + NUMTOSTRN(VAR53,0) +'%'),LAYER0,COLOR0048FF;DRAWTEXTREL(VAR54 * 7 + 2,542,'' + NUMTOSTRN(VAR54,0) +'%'),LAYER0,COLORYELLOW;【⼤智慧】天游⽜(特⼤买单、中单买、特⼤买⼊)-指标公式效果图(⽂档来源:若⽔财经社区)。
【股票指标公式下载】-【大智慧】持股主图(持股线、超大盘、大盘股、小盘股)
【大智慧】持股主图(持股线、超大盘、大盘股、小盘股)-指标公式源码IF(FINANCE2(37)/10000>=100) THEN BEGINDRAWTEXTREL(0,950,'【超大盘0.7%】流通A股'+FINANCE2(37)/10000+'亿股'),LINETHICK2,ColorFF00FF; end;IF(FINANCE2(37)/10000<100 and FINANCE2(37)/10000>=10) THEN BEGIN DRAWTEXTREL(0,950,'【大盘股9.0%】流通A股'+FINANCE2(37)/10000+'亿股'),LINETHICK2,ColorFF00FF; end;IF(FINANCE2(37)/10000<10 and FINANCE2(37)/10000>=5) THEN BEGIN DRAWTEXTREL(0,950,'【中盘股12.7%】流通A股'+FINANCE2(37)/10000+'亿股'),LINETHICK2,ColorFF00FF; end;IF(FINANCE2(37)/10000<5 and FINANCE2(37)/10000>=1) THEN BEGIN DRAWTEXTREL(0,950,'【小盘股55.3%】流通A股'+FINANCE2(37)/10000+'亿股'),LINETHICK2,ColorFF00FF; end;IF(FINANCE2(37)/10000<1) THEN BEGINDRAWTEXTREL(0,950,'【超小盘22.3%】流通A股'+FINANCE2(37)/10000+'亿股'),LINETHICK2,ColorFF00FF; end;AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(ff1,(LOW* 0.99),'↖鼠'),Color4080FF;STICKLINE(ff1,O,C,6,0),COLORyellow;STICKLINE(ff1,O,C,2.5,0),COLORred;MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) ANDCROSS(DX,MA(DX,2)),1,0);DRAWTEXT(filter(买=1,5),LOW-0.08,'↖低') ,COLORAAAAFF;STICKLINE(filter(买=1,5),O,C,6,0),COLORyellow;STICKLINE(filter(买=1,5),O,C,2.5,0),COLORred;cc:=(h-c)/(c-o)<0.33;dd:=(c/ref(c,1)-1)>=0.0502 and c>ref(c,1) and (o-l)/(c-o)>=1.48 andl<ref(l,1) and l<ref(l,2);ee:=(c/ref(c,1)-1)>=0.08;aa:=VOL>REF(VOL,1)*1.9 and c>ref(c,1) and c/ref(c,1)-1>=0.049 and cc; bb:=(c/ref(c,1)-1)>=0.0502 and c>ref(c,1) and v>ref(v,1) andVOL>REF(VOL,1)*2.5 and cc;DRAWTEXT(FILTER(aa or bb or dd or ee,34),l,'↖异动'),COLOrffff00; STICKLINE(FILTER(aa or bb or dd or ee,34),O,C,6,0),COLORyellow; STICKLINE(FILTER(aa or bb or dd or ee,34),O,C,2.5,0),COLORRED;AAA:=(3*C+H+L+O)/6;VAR41:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*R EF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR41;立桩量:=FILTER(TJ1,5);TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 ANDCLOSE>REF(HIGH,3),1,0)));突破:=TJ2=1;TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 ANDCLOSE>REF(LOW,3),1,0)));三天法则:=TJ3=1;成立:=三天法则 AND 突破;条件成立:=FILTER(成立,3);DRAWTEXT(条件成立,L*0.97,'↖立桩量'),COLORYELLOW;VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2222:=CROSS(VAR1111,0.9);压力:= REF(HIGH,BARSLAST(VAR2222));STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK1;STICKLINE(CLOSE<OPEN andref(CLOSE,1)>ref(OPEN,1),ref(close,1),ref(close,1),33,0),COLORwhite,L INETHICK1;DD:=FINANCE2(35);SS:=FINANCE2(37);GG:=FINANCE2(3);TH:=DYNAINFO(39);DRAWTEXTREL(0,70,'总股本:'+NUMTOSTRn(DD,0)+'万股' +' 流通A股:'+NUMTOSTRn(SS,0)+'万股'+' 市盈率:'+NUMTOSTRn(TH,2)+' 倍'+' 每股收益:'+NUMTOSTRn(GG,3)+' 元'),ColorFFFF00;gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100); 明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,20,0),Color0000FF;STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,20,0),Color00FF00;STICKLINE(DISPSTATUS=2 and c>=今日支撑,今日支撑,今日支撑,20,0),ColorFF00FF;STICKLINE(DISPSTATUS=2 and c<今日支撑,今日支撑,今日支撑,20,0),ColorFF9900;DRAWTEXTREL(850,890,'今日支撑:'+NUMTOSTRN(今日支撑 ,2 )),Colorred; DRAWTEXTREL(850,950,'今日阻力:'+NUMTOSTRN(今日阻力 ,2 )),ColorGREEN; DRAWTEXTREL(0,20,'所属板块:'+BKNAME),ColorRED;DRAWTEXTREL(0,120,'每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+'元'+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+'元'+' 净资产:'+NUMTOSTRN(FINANCE2(4),2)+'元'),Color00C0FF;DRAWTEXTREL(0,270,'历史最高价:'+HHV(HIGH,0)),Colorred; DRAWTEXTREL(160,270,'历史最低价:'+LLV(LOW,0)),ColorAFFF00;销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);DRAWTEXTREL(0,170,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),LINETHICK1,COLORff00ff;DRAWTEXTREL(180,170,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),LINETHICK1,ColorYELLOW;DRAWTEXTREL(0,220,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),LINETHICK1,COLOR00FF00;LJL07:=(3*C+L+O+H)/6;金钱:(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(L JL07,4)+15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07, 8)+11*REF(LJL07,9)+10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7 *REF(LJL07,13)+6*REF(LJL07,14)+5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF( LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,COLORgreen,LINETHICK4; 银线:EMA(CLOSE,6),COLORff00ff,LINETHICK4;线:EMA(CLOSE,6),COLORwhite,LINETHICK2;【大智慧】持股主图(持股线、超大盘、大盘股、小盘股)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】趋势主图(持股、持币、卖线、买线、看色买卖)
【大智慧】趋势主图(持股、持币、卖线、买线、看色买卖)-指标公式源码DRAWGBKLAST(CLOSE>0, STRIP(RGB(0,40,0),RGB(0,40,0),0)); DRAWTEXTREL(10,0,'白紫色持股.'),LINETHICK3,ColorFF00FF; DRAWTEXTREL(10,50,'黑绿色持币.'),LINETHICK3,Color00FF00;卖线:EMA(((SLOPE(CLOSE,25) * 25) + CLOSE),75),LINETHICK2,coloryellow; 买线:EMA(CLOSE,7),LINETHICK1,colorFFFFFF;FILLRGN(买线,卖线,买线>=卖线,RGB(128,0,128));FILLRGN(卖线,买线,卖线>=买线,RGB(0,128,0));短线:EMA(CLOSE,1),LINETHICK2,COLOR004000;FILLRGN(买线,短线,买线>=短线,RGB(1,0,2)),COLOR004000;FILLRGN(短线,买线,短线>=买线,RGB(255,255,255));BDGD:=C=HHV(C,13);GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;高点:REF(C,GDSJ),ColorFFFFFF,POINTDOT,LINETHICK2;突破:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,LINETHICK0;STICKLINE(GDSJ<=6,高点,高点,8,0),COLORFF00FF;BDDD:=C=LLV(C,13);DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;低点:REF(C,DDSJ),Color00FFFF,POINTDOT,LINETHICK2;STICKLINE(DDSJ<=6,低点,低点,8,0),COLOR00FF00;aa:=(ref(close,1)+ref(close,2)+open)/3;{看色买卖}STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;{立体柱子:淡蓝色}STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLORFF6600;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORFF7700;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORFF9900;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORFFBB00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORFFCC00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFFDD00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORFFEE00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFFF00;{立体柱子:红色}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLOR000033;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000BB;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000DD;VAR9Q:=C= HHV(C,4)AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF (C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2) =HHV(C,4) ANDREF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3) =HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);红持:var9Q,color0000ff,LINETHICK0;{立体柱子:红色}STICKLINE(VAR9Q,C,(O+C)/2,8,0),COLOR000044;STICKLINE(VAR9Q,C,(O+C)/2,7,0),COLOR000055;STICKLINE(VAR9Q,C,(O+C)/2,6,0),COLOR000066;STICKLINE(VAR9Q,C,(O+C)/2,5,0),COLOR000077;STICKLINE(VAR9Q,C,(O+C)/2,4,0),COLOR000099;STICKLINE(VAR9Q,C,(O+C)/2,3,0),COLOR0000BB;STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR0000DD;STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000FF;VARAQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);粉变:varaQ,colorff99ff,LINETHICK0;STICKLINE(VARAQ,C,(O+C)/2,8,0),COLORFF11FF;STICKLINE(VARAQ,C,(O+C)/2,7,0),COLORFF22FF;STICKLINE(VARAQ,C,(O+C)/2,6,0),COLORFF33FF;STICKLINE(VARAQ,C,(O+C)/2,5,0),COLORFF55FF;STICKLINE(VARAQ,C,(O+C)/2,4,0),COLORFF77FF;STICKLINE(VARAQ,C,(O+C)/2,3,0),COLORFF99FF;STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFFBBFF;STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFFDDFF;VARBQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<>HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);银灰跌:varbQ,color888888,LINETHICK0;{立体柱子:银色}STICKLINE(VARBQ,C,(O+C)/2,8,0),COLOR333333;STICKLINE(VARBQ,C,(O+C)/2,7,0),COLOR444444;STICKLINE(VARBQ,C,(O+C)/2,6,0),COLOR555555;STICKLINE(VARBQ,C,(O+C)/2,5,0),COLOR777777;STICKLINE(VARBQ,C,(O+C)/2,4,0),COLOR999999;STICKLINE(VARBQ,C,(O+C)/2,3,0),COLORBBBBBB;STICKLINE(VARBQ,C,(O+C)/2,2,0),COLORDDDDDD;STICKLINE(VARBQ,C,(O+C)/2,1,0),COLORFFFFFF;VARCQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);绿买:varcQ,color00ff00,LINETHICK0;STICKLINE(VARCQ,O,(O+C)/2,8,0),COLOR004400;STICKLINE(VARCQ,O,(O+C)/2,6,0),COLOR005500;STICKLINE(VARCQ,O,(O+C)/2,5,0),COLOR007700;STICKLINE(VARCQ,O,(O+C)/2,4,0),COLOR009900;STICKLINE(VARCQ,O,(O+C)/2,3,0),COLOR00BB00;STICKLINE(VARCQ,O,(O+C)/2,2,0),COLOR00DD00;STICKLINE(VARCQ,O,(O+C)/2,1,0),COLOR00FF00;VARDQ:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF (C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);蓝抛:vardQ,colorff9900,LINETHICK0;STICKLINE(VARDQ,O,(O+C)/2,8,0),COLORFF1100;STICKLINE(VARDQ,O,(O+C)/2,7,0),COLORFF2200;STICKLINE(VARDQ,O,(O+C)/2,6,0),COLORFF3300;STICKLINE(VARDQ,O,(O+C)/2,5,0),COLORFF5500;STICKLINE(VARDQ,O,(O+C)/2,4,0),COLORFF7700;STICKLINE(VARDQ,O,(O+C)/2,3,0),COLORFF9900;STICKLINE(VARDQ,O,(O+C)/2,2,0),COLORFFBB00;STICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFFDD00;ZDF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;STICKLINE(ZDF>9.8,OPEN,CLOSE,8,0),color004444;STICKLINE(ZDF>9.8,OPEN,CLOSE,7,0),color005555;STICKLINE(ZDF>9.8,OPEN,CLOSE,6,0),color006666;STICKLINE(ZDF>9.8,OPEN,CLOSE,5,0),color007777;STICKLINE(ZDF>9.8,OPEN,CLOSE,4,0),color009999;STICKLINE(ZDF>9.8,OPEN,CLOSE,3,0),color00BBBB;STICKLINE(ZDF>9.8,OPEN,CLOSE,2,0),color00DDDD;STICKLINE(ZDF>9.8,OPEN,CLOSE,1,0),color00FFFF;【大智慧】趋势主图(持股、持币、卖线、买线、看色买卖)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)
【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式源码{【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;【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】KV龙虎(大单买入、资金进出比、月仓量、吃货)
【大智慧】KV龙虎(大单买入、资金进出比、月仓量、吃货)-指标公式源码JGMR:="TDB.TDB"/100;JGMC:="TDS.TDS"/100;JGDX:=(JGMR-JGMC);特大买入:=JGMR;特大卖出:=JGMC;特大净买:=JGDX;DHMR:="DDB.DDB"/100;DHMC:="DDS.DDS"/100;DHDX:=(DHMR-DHMC);大单买入:=DHMR+特大买入;大单卖出:=DHMC+特大卖出;大单净买:=大单买入-大单卖出;ZHMR:="ZDB.ZDB"/100;ZHMC:="ZDS.ZDS"/100;ZHDX:=(ZHMR-ZHMC);中单买入:=ZHMR+大单买入;中单卖出:=ZHMC+大单卖出;中单净买:=中单买入-中单卖出;小单买入:=1-中单买入;小单卖出:=1-中单卖出;小单净买:=小单买入-小单卖出;DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));a1:=(IF((DATE <= 1341231),1,0)) * (IF((CURRENTDATE <= 1341231),1,0)); a2:=1 - 中单买入;a3:=1 - 中单卖出;a4:=特大买入;a5:=特大卖出;a6:=大单买入;a7:=大单卖出;资金进出比:((("order2" - "order1") / CAPITAL) * 2000) * a1,color3d; 散户:((((a2 - a3) * VOL) / CAPITAL) * 500) * a1,linethick0,ColorFF7400; a8:=中单买入 - a6;a9:=中单卖出 - a7;中户:((((a9 - a8) * VOL) / CAPITAL) * 500) * a1,linethick0,ColorFF7400; 大户:((((a6 - a7) * VOL) / CAPITAL) * 500) * a1,linethick0,colorRed; a4:=特大买入;a5:=特大卖出;机构:((((a4 - a5) * VOL) / CAPITAL) * 500) * a1,linethick0,colorYellow; STICKLINE((散户 <= 0),0,(0 - 散户),6,0),Color3B3BFF;STICKLINE((散户 >= 0),0,(0 - 散户),6,0),ColorFFDD00;STICKLINE((大户 >= 0),0,大户,4,0),colorRed;STICKLINE((大户 < 0),0,大户,4,0),ColorFF6F00;STICKLINE((机构 <= 0),0,机构,2,0),ColorFF0000;STICKLINE((机构 >= 0),0,机构,2,0),colorYellow;a10:=EMA((((((SUM(a6,2)) - (SUM(a7,2))) * VOL) / CAPITAL) * 500),3); DRAWTEXT((((((SUM(大户,2)) > 3) AND (大户 > 1)) OR (大户 > 1.5)) OR (机构 > 0.7)),-1,'增'),colorRed;DRAWTEXT((((((SUM(大户,2)) > 3) AND (大户 > 1)) OR (大户 > 1.5)) OR (机构 > 0.7)),-1.5,'仓'),colorRed;a11:=(大户 > 0.03) OR (资金进出比 > 0);连续增仓天数:LAST((a11 > 0)) * a1,linethick0;周仓量:((SUM(((a6 * VOL) - (a7 * VOL)),5)) / CAPITAL) *100,linethick1,colorYellow;月仓量:((SUM(((a6 * VOL) - (a7 * VOL)),20)) / CAPITAL) *100,linethick2,colorMagenta;a12:=((CLOSE - (LLV(LOW,9))) / ((HHV(HIGH,9)) - (LLV(LOW,9)))) * 100; a13:=SMA(a12,3,1);a14:=SMA(a13,3,1);a15:=CROSS(a13,a14);a16:=CROSS(a14,a13);a17:=CLOSE - (REF(CLOSE,1));a18:=(100 * (EMA((EMA(a17,9)),9))) / (EMA((EMA(ABS(a17),9)),9));a19:=MA(a18,5);a20:=CROSS(a19,a18);a21:=CROSS(a18,a19);a22:=((SMA((MAX(a17,0)),5,1)) / (SMA(ABS(a17),5,1))) * 100;a23:=((CLOSE - (MA(CLOSE,25))) / (MA(CLOSE,25))) * 100;a24:=((CLOSE - CYC(13)) / CYC(13)) * 100;a25:=((REF(HIGH,1)) + (REF(LOW,1))) / 2;a26:=(MA(CLOSE,20)) + (2 * (STD(CLOSE,20)));a27:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));a28:=((EMA((MA(a27,3)),3)) + (WMA(a27,5))) / 2;a29:=REF(a28,1);a30:=BARSCOUNT(CLOSE);a31:=IF((a30 = 1),0,(((a28 - a29) / a29) * 100));DRAWTEXT((((((a22 >= 90) AND (a23 >= 13)) AND (大户 <= -0.7)) AND (a13 > 80)) AND (CLOSE < OPEN)),2.5,'▼2/3仓出');DRAWTEXT((((((REF(大户,1)) >= (HHV(大户,10))) AND (大户 >= (LLV(大户,10)))) AND ((REF(大户,1)) > 2.5)) AND (大户 < -2.5)),1.5,'◤反下'),colorGreen;DRAWTEXT((((((a31 >= 4) AND (a23 >= 25)) AND (大户 <= -0.3)) AND (a13 >= 80)) AND (CLOSE < OPEN)),2,'▼1/3仓出');DRAWTEXT(((((a31 >= 4.5) AND (a23 >= 16)) AND (大户 <= -0.7)) AND (a22 >= 80)),1.5,'▼1/3仓出');DRAWTEXT((((((a31 >= 4) AND (a23 >= 28)) AND (大户 <= 0)) AND (a22 >= 90)) AND (a13 >= 90)),1.5,'▼1/3仓出');DRAWTEXT((((a31 >= 6) AND (大户 <= 0)) AND (CLOSE < OPEN)),1.5,'▼出局');a32:=(((HIGH - LOW) / (REF(CLOSE,1))));a33:=(COUNT(((a32 < 0.05) AND (a32 > 0)),3)) = 3;a34:=a33 AND (连续增仓天数 > 2);a35:=((HHV(HIGH,3)) - (LLV(LOW,3))) / (REF(CLOSE,3));DRAWTEXT(((a33 AND ((连续增仓天数 > 3) OR (a10 > 3))) AND ((COUNT((CLOSE > (REF(CLOSE,1))),3)) >= 3)),1.5,'◆出击');a36:=SUM(大户,3);a37:=(a35 < 0.07) AND ((连续增仓天数 > 2) AND (a36 > 2.2)); DRAWTEXT(a37,2,'◆阻击');a38:=(CLOSE < (REF(CLOSE,1))) AND (((散户 < -2) OR (大户 > 1)) OR (机构 > 0.7));DRAWTEXT(a38,2.5,'洗'),Color00F0FF;DRAWTEXT(a38,2,'盘'),Color00F0FF;DRAWTEXT(((a16 AND (大户 < -0.3)) AND (a22 > 85)),2,'↓卖'),Color00F0FF; DRAWTEXT(((a24 < -12) AND ((大户 >= 0.7) OR ((机构 > 0.6) AND (大户 >= 0.1)))),3.5,'↑进'),colorMagenta;STICKLINE(((((大户 < -5) AND ((CLOSE > OPEN) OR (CLOSE < OPEN))) AND (a13 >= 80)) AND (a23 > 10)),0,大户,5,0),Color009A00;STICKLINE(((大户 < -2) AND (a31 > 3)),(((0 AND (a14 >= 80)) AND (a23 > 17)) AND (a22 > 80)),大户,5,0),Color00E000;STICKLINE(((((大户 < -1.5) AND (a31 > 3.5)) AND (a23 > 10)) AND (a22 > 70)),0,大户,5,0),colorGreen;STICKLINE((((大户 < 1) AND (a31 < -3.5)) AND (a22 < 20)),0,大户,5,0),colorMagenta;DRAWTEXT(((((大户 > 1) AND (机构 > 0.3)) AND (ANY((a22 > 85),3))) AND (a22 < 50)),-2.5,'↑买进'),colorMagenta;DRAWTEXT(((((a23 > 20) OR (a24 > 10)) AND ((大户 < -2) OR (机构 < -1))) AND (CROSS((MA(CLOSE,5)),CLOSE))),2,'减仓'),Color01FF00;a32:=((((CLOSE / (REF(CLOSE,1))) - 1) * 100));STICKLINE((((大户 > 1) AND (机构 > 0.2)) AND (a32 < -3)),0,大户,5,0),colorMagenta;DRAWTEXT((((a16 AND a19) AND (大户 < 0)) AND (a23 > 8)),-2.5,'↓出货'),Color005400;DRAWTEXT(((a15 AND a21) AND ((大户 >= 0.7) OR (机构 > 0.4))),1.5,'增仓'),ColorFF0000;DRAWTEXT((((a35 <= 0.1) AND (LAST((大户 >= 0.25)) > 2)) AND (a23 < 17)),3.5,'☆拉升'),Color3354FF;DRAWTEXT(((LAST(((大户 > (REF(大户,1))) AND (大户 > 0))) > 2) AND (a23 < 17)),3,'☆推升'),Color00B5FF;DRAWTEXT(((CROSS(a22,20)) AND (连续增仓天数 >= 2)),4.3,'买'),ColorFF00DB;DRAWTEXT(((((a31 < -4) AND (大户 > 0)) AND (a24 < -13)) AND (a23 <-15)),2,'↑吃货'),ColorFF00DB;DRAWTEXT(((((a31 < -2) AND (大户 > 0)) AND (a24 < -18)) AND (a23 <-15)),1.5,'↑进场'),ColorFF00DB;DRAWTEXT((((((a15 OR a21) AND (连续增仓天数 >= 2)) AND (a23 < 12)) AND (LAST((a31 > -3)) > 5)) AND ((大户 + (REF(大户,1))) >= 0.7)),1,'Θ起涨'),ColorFF4398;DRAWTEXTREL(10,900,'㊣神牛快赢㊣'),linethick1,COLOR00EEff;【大智慧】KV龙虎(大单买入、资金进出比、月仓量、吃货)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】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主图-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】分时主图(所属板块、每股市盈率、每股收益、同比增长)
【大智慧】分时主图(所属板块、每股市盈率、每股收益、同比增长)-指标公式源码所属板块:=BKNAME;每股市盈率:=DYNAINFO(39);每股收益:=FINANCE2(3);流通盘大小:=FINANCE2(37)/1000000*100;同比增长:=FINANCE2(10);DRAWTEXTREL(0,765,'同比增长:'+NUMTOSTRN(同比增长,2)+'%'),LINETHICK1,ColorAFFF00;DRAWTEXTREL(0,695,'流通盘:'+NUMTOSTRN(流通盘大小,2)+'亿'),LINETHICK1,ColorAFFF00;DRAWTEXTREL(180,695,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),ColorAFFF00;DRAWTEXTREL(180,765,'每股市盈:'+NUMTOSTRN(每股市盈率,1)+'倍'),ColorAFFF00;DRAWTEXTREL(0,625,'所属板块:'+所属板块),COLORCYAN; DRAWTEXTREL(260,10,'上涨家数:'+NUMTOSTRN(DYNAINFO(69),0)+' 家'),COLOR0000FF;DRAWTEXTREL(530,10,'下跌家数:'+NUMTOSTRN(DYNAINFO(70),0)+' 家'),COLOR00FF00;DRAWTEXTREL(400,10,'平盘家数:'+NUMTOSTRN(DYNAINFO(71),0)+' 家'),COLORFFFFFF;MA5:="MAB.MA5#day";MA10:="MAB.MA10#day";MA24:="MAB.MA24#day";MA30:="MAB.MA30#day";MA60:="MAB.MA60#day";MA100:="MAB.MA100#day";MA200:="MAB.MA200#day";MA300:="MAB.MA300#day";MA400:="MAB.MA400#day";MA5P:=(MA5-DYNAINFO(3))/DYNAINFO(3)*100;MA10P:=(MA10-DYNAINFO(3))/DYNAINFO(3)*100;MA24P:=(MA24-DYNAINFO(3))/DYNAINFO(3)*100;MA30P:=(MA30-DYNAINFO(3))/DYNAINFO(3)*100;MA60P:=(MA60-DYNAINFO(3))/DYNAINFO(3)*100;MA100P:=(MA100-DYNAINFO(3))/DYNAINFO(3)*100;MA200P:=(MA200-DYNAINFO(3))/DYNAINFO(3)*100;MA300P:=(MA300-DYNAINFO(3))/DYNAINFO(3)*100;MA400P:=(MA400-DYNAINFO(3))/DYNAINFO(3)*100; DRAWTEXTREL( 0,10,' 5日线: '+NUMTOSTRN(MA5,2)+'元'+NUMTOSTRN(MA5P,1)+'%'),colorwhite;DRAWTEXTREL( 0,60 ,'10日线: '+NUMTOSTRN(MA10,2)+'元'+NUMTOSTRN(MA10P,1)+'%'),COLORCYAN;DRAWTEXTREL( 0,110 ,'24日线: '+NUMTOSTRN(MA24,2)+'元'+NUMTOSTRN(MA24P,1)+'%'),Color00FFFF;DRAWTEXTREL( 690,10 ,'昨高点: '+NUMTOSTRN(MA30,2)+'元'+NUMTOSTRN(MA30P,1)+'%'),COLORFF00FF;DRAWTEXTREL( 690,60 ,'昨低点: '+NUMTOSTRN(MA60,2)+'元'+NUMTOSTRN(MA60P,1)+'%'),ColorAFFF00;DRAWTEXTREL( 400,695 ,'生命线: '+NUMTOSTRN(MA400,2)+'元'+NUMTOSTRN(MA400P,1)+'%'),ColorAFFF00;DRAWTEXTREL( 400,765 ,'控盘成本: '+NUMTOSTRN(MA100,2)+'元'+NUMTOSTRN(MA100P,1)+'%'),ColorAFFF00;DRAWTEXTREL( 660,695 ,'低吸伏击: '+NUMTOSTRN(MA200,2)+'元'+NUMTOSTRN(MA200P,1)+'%'),ColorAFFF00;DRAWTEXTREL( 660,765 ,'走势铁底: '+NUMTOSTRN(MA300,2)+'元'+NUMTOSTRN(MA300P,1)+'%'),ColorAFFF00;VAR0:=VOL/CLOSE/2;VAR1:=SUM(IF(VAR0>100 AND CLOSE>REF(CLOSE,1),VAR0,0),0); VAR2:=SUM(IF(VAR0>100 AND CLOSE<REF(CLOSE,1),VAR0,0),0); VAR3:=SUM(IF(VAR0<100 AND CLOSE>REF(CLOSE,1),VAR0,0),0); VAR4:=SUM(IF(VAR0<100 AND CLOSE<REF(CLOSE,1),VAR0,0),0); VAR5:=VAR1+VAR2+VAR3+VAR4;VAR6:=IF(BARSTATUS=2,100*VAR1/VAR5,0);VAR7:=IF(BARSTATUS=2,100*VAR2/VAR5,0);VAR8:=IF(BARSTATUS=2,100*VAR3/VAR5,0);VAR9:=IF(BARSTATUS=2,100*VAR4/VAR5,0);DRAWTEXTREL(908,20,'大单买盘'),LINETHICK2,COLORFF55FF;DRAWTEXTREL(908,188,'大单卖盘'),LINETHICK2,COLORFFFF55; DRAWTEXTREL(908,356,'中小买盘'),LINETHICK2,COLOR5555FF; DRAWTEXTREL(908,524,'中小卖盘'),LINETHICK2,COLOR55FF55;IF BARSTATUS=2 THEN BEGINDRAWTEXTREL(930,100,''+FLOOR(VAR6)+'%'),LINETHICK2,COLORFF55FF; ENDIF BARSTATUS=2 THEN BEGINLOOP0:=FLOOR(VAR7);VAR10:=''+LOOP0;VAR11:=VAR10 + '%';DRAWTEXTREL(930,268,VAR11),LINETHICK2,COLORFFFF55;ENDIF BARSTATUS=2 THEN BEGINLOOP1:=FLOOR(VAR8);VAR12:=''+LOOP1;VAR13:=VAR12+'%';DRAWTEXTREL(930,436,VAR13),LINETHICK2,COLOR5555FF;ENDIF BARSTATUS=2 THEN BEGINLOOP2:=FLOOR(VAR9);VAR14:=''+LOOP2;VAR15:=VAR14+'%';DRAWTEXTREL(930,604,VAR15),LINETHICK2,COLOR55FF55;END;【大智慧】分时主图(所属板块、每股市盈率、每股收益、同比增长)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】流向统计(特单买、特单卖、大单买、大单卖)
【大智慧】流向统计(特单买、特单卖、大单买、大单卖)-指标公式源码ZDddx:="DDx.DDx";TODAY0:=zdddx=0;TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT and (ORDER(1)=0 and ORDER(2)=0);TDR:=SELFDATA('特大买入');TDC:=SELFDATA('特大卖出');DDR:=SELFDATA('大单买入');DDC:=SELFDATA('大单卖出');TLR:=IF(TODAY0,TDR,bigorder(1,3));TLC:=IF(TODAY0,TDC,bigorder(2,3));DLR:=IF(TODAY0,DDR,(bigorder(1,2)-bigorder(1,3)));DLC:=IF(TODAY0,DDC,(bigorder(2,2)-bigorder(2,3)));TDB:="GDSJ.特买";TDS:="GDSJ.特卖";DDB:="GDSJ.大买";DDS:="GDSJ.大卖";特单买:=IF(TODAY,IF(TDB=0,TLR,TDB),TLR);特单卖:=IF(TODAY,IF(TDS=0,TLC,TDS),TLC);大单买:=IF(TODAY,IF(DDB=0,DLR,DDB),DLR);大单卖:=IF(TODAY,IF(DDS=0,DLC,DDS),DLC);主单买:=特单买+大单买;主单卖:=特单卖+大单卖;DRAWTEXTABS(180,0,'SV大资金流向:增减(%)');DRAWTEXTABS(350,0,'SV大资金流向:净额(万)');eye:=(主单买-主单卖)*vol/capital*100;eyes:=sum(eye,0);gold:=eyes+50;资金线:=gold;{主力资金线}成交:=(eye* capital) * (amount/(v*100))/10000;一日:percentbar(资金线,REF(资金线,1));二日:percentbar(资金线,REF(资金线,2));三日:percentbar(资金线,REF(资金线,3));四日:percentbar(资金线,REF(资金线,4));五日:percentbar(资金线,REF(资金线,5));十日:percentbar(资金线,REF(资金线,10));廿日:percentbar(资金线,REF(资金线,20));三十日:percentbar(资金线,REF(资金线,30));四十日:percentbar(资金线,REF(资金线,40));五十日:percentbar(资金线,REF(资金线,50));六十日:percentbar(资金线,REF(资金线,60));九十日:percentbar(资金线,REF(资金线,90));A1:=Sum(成交,1);A2:=Sum(成交,2);A3:=Sum(成交,3);A4:=Sum(成交,4);A5:=Sum(成交,5);A10:=Sum(成交,10);A20:=Sum(成交,20);A30:=Sum(成交,30);A40:=Sum(成交,40);A50:=Sum(成交,50);A60:=Sum(成交,60);A90:=Sum(成交,90);drawtextrel(0,998,'净额');{(万)}drawtextrel(0,999,'分类');drawtextrel(10,998,numtostrn(A1,2)),COLOR00FFFF; drawtextrel(20,998,numtostrn(A2,2)),COLOR00FFFF; drawtextrel(30,998,numtostrn(A3,2)),COLOR00FFFF; drawtextrel(40,998,numtostrn(A4,2)),COLOR00FFFF; drawtextrel(50,998,numtostrn(A5,2)),COLOR00FFFF; drawtextrel(60,998,numtostrn(A10,2)),COLOR00FFFF; drawtextrel(70,998,numtostrn(A20,2)),COLOR00FFFF; drawtextrel(80,998,numtostrn(A30,2)),COLOR00FFFF; drawtextrel(90,998,numtostrn(A40,2)),COLOR00FFFF; drawtextrel(100,998,numtostrn(A50,2)),COLOR00FFFF; drawtextrel(110,998,numtostrn(A60,2)),COLOR00FFFF; drawtextrel(120,998,numtostrn(A90,2)),COLOR00FFFF;【大智慧】流向统计(特单买、特单卖、大单买、大单卖)-指标公式效果图(文档来源:若水财经社区)。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【大智慧】分单指标(特大买入、特大卖出、特大差、股东变化率)-指标公式源码
量:=v;
换:V/CAPITAL*100,linethick0;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买
盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CL OSE-LOW)),VOL/2));
卖
盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VA R1*(HIGH-LOW),0-VOL/2));
DL:=(买盘-(-卖盘))/量*换;
DLX:DL*1.2+REF(DL,1)*0.6+REF(DL,2)*0.3+REF(DL,3)*0.2+REF(DL,4)*0.1,co lor3d;
DLX1:ema(DLX,9)*10,COLORYELLOW;
DLX2:MA(DLX1,6),COLORMAGENTA;
DLX3:MA(DLX1,14),COLORGREEN;
特大买入:=BIGORDER(1,3);
特大卖出:=BIGORDER(2,3);
特大差:(特大买入-特大卖
出)*AMOUNT/10000,LINETHICK0,PRECIS0,Color0000FF;
大单买入:=BIGORDER(1,2)-BIGORDER(1,3);
大单卖出:=BIGORDER(2,2)-BIGORDER(2,3);
大单差:(大单买入-大单卖
出)*AMOUNT/10000,LINETHICK0,PRECIS0,ColorFF00FF;
中单买入:=BIGORDER(1,1)-BIGORDER(1,2);
中单卖出:=BIGORDER(2,1)-BIGORDER(2,2);
中单差:(中单买入-中单卖
出)*AMOUNT/10000,LINETHICK0,PRECIS0,Color00FFFF;
小单买入:=1-BIGORDER(1,1);
小单卖出:=1-BIGORDER(2,1);
小单差:(小单买入-小单卖
出)*AMOUNT/10000,LINETHICK0,PRECIS0,ColorFFFF00;
BBD:特大差+大单差,LINETHICK0,PRECIS0,ColorFFFFFF;
股东变化率%:selfdata('股东变化率
')*100,LINETHICK0,ColorFFFFFF,PRECIS1;
小轴:=0;
中轴:=HHVALL(小单差)+abs(LLVALL(中单差));
大轴:=HHVALL(小单差)+abs(LLVALL(中单差))+HHVALL(中单差)+abs(LLVALL(大单差));
特轴:=HHVALL(小单差)+abs(LLVALL(中单差))+HHVALL(中单差)+abs(LLVALL(大单差))+HHVALL(大单差)+abs(LLVALL(特大差));
BBD轴:=HHVALL(小单差)+abs(LLVALL(中单差))+HHVALL(中单
差)+abs(LLVALL(大单差))+HHVALL(大单差)+abs(LLVALL(特大差))+HHVALL(特大差)+abs(LLVALL(BBD));
DDX:(BIGORDER(1) - BIGORDER(2)) * VOL/CAPITAL * 100,LINETHICK0,PRECIS2;
STICKLINE(小单差>0,小单差,0,6,0),Color0000FF,LAYER0;
STICKLINE(小单差<0,小单差,0,6,0),ColorFFFF00;
STICKLINE(中单差>0,中单差+中轴,中轴,6,0),Color0000FF,LAYER0; STICKLINE(中单差<0,中单差+中轴,中轴,6,0),ColorFFFF00,LAYER0; STICKLINE(大单差>0,大单差+大轴,大轴,6,0),Color0000FF,LAYER0; STICKLINE(大单差<0,大单差+大轴,大轴,6,0),ColorFFFF00,LAYER0; STICKLINE(特大差>0,特大差+特轴,特轴,6,0),Color0000FF,LAYER0; STICKLINE(特大差<0,特大差+特轴,特轴,6,0),ColorFFFF00,LAYER0; STICKLINE(BBD>0,BBD+BBD轴,BBD轴,6,1),Color0000FF,LAYER0;
STICKLINE(BBD<0,BBD+BBD轴,BBD轴,6,1),ColorFFFF00,LAYER0; DRAWTEXT(DISPSTATUS=1,BBD轴*1.20,' BBD'),Color00FFFF;
DRAWTEXT(DISPSTATUS=1,特轴*1.20,' 特大'),Color0000FF;
DRAWTEXT(DISPSTATUS=1,(特轴+大轴)/2,' 大单'),ColorFF00FF; DRAWTEXT(DISPSTATUS=1,(中轴+大轴)/2,' 中单'),Color00FFFF; DRAWTEXT(DISPSTATUS=1,中轴/2,' 小单'),Color00FFFF;
STICKLINE(c,BBD轴,BBD轴,6,0),Color808080;
STICKLINE(c,特轴,特轴,6,0),Color808080;
STICKLINE(c,大轴,大轴,6,0),Color808080;
STICKLINE(c,中轴,中轴,6,0),Color808080;
STICKLINE(c,0,0,6,0),Color808080;
【大智慧】分单指标(特大买入、特大卖出、特大差、股东变化率)-指标公式效果图
(文档来源:若水财经社区)。