ihzx 发表于 2021-8-28 00:19:50

通达信千金难求 揭秘主力动向的量能饱和度副图指标 无未来

         <p>以下是通达信千金难求 揭秘主力动向的量能饱和度副图指标 无未来(无源码的请下载附件导入)</p>
<div class="con" id="rjsmad1"></div>
<p>千金难求的箱子量能饱和度指标,绝对超值,现奉献给广大股友</p>
<p>&nbsp;指标亮点:<br>
&nbsp;使用L2行情全面揭示股票的量能饱和度,换手率成交量是一种资金堆积起来的量能。但是,过度的量能消耗必将导致行情看跌,因此,必须把握量能饱和度。<br>
&nbsp;该指标是基于普通量能饱和度通过L2行情全面揭秘股票各类用户的资金动向,让主力无处遁形,再按照股价的运行规律总结出自己的操作手法和技巧:<br>
(1)根据量大成头的原理,当【量能饱和度】出现饱和,而当前股价正巧位于一处高价区时,暗示该价位成为该时期峰顶的机率将会大幅增加。<br>
(2)根据【爆发力】原理,当【量能饱和度】在一处股价的低价区出现饱和时,该价位便很可能成为一处起涨点。<br>
N1:=10,100,34;<br>
N2:=N1*1.05;<br>
N3:=N1+3;<br>
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));<br>
量能饱和度:IF(SAT&gt;1,1,SAT)*100,COLORLIBLUE,NODRAW;<br>
中点:=REFDATE(HHV(V,100)/2,DATE);{量能饱和的变色切换}<br>
STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00DDDD;<br>
STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和度,0),COLOR0033FF;<br>
STICKLINE(CURRBARSCOUNT=N1,中点*1.82,中点*1.58,量能饱和度,0),COLOR0077FF;<br>
STICKLINE(CURRBARSCOUNT=N1,中点*1.76,中点*1.64,量能饱和度,0),COLOR0099FF;<br>
STICKLINE(CURRBARSCOUNT=N1,中点*1.7,中点*1.7,量能饱和度,0),COLOR00DDFF;<br>
DRAWTEXT(CURRBARSCOUNT=N3,中点*1.70,'量能饱和度'),COLOR000000;<br>
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));<br>
买盘:IF(CLOSE&gt;OPEN,VAR1*(HIGH-LOW),IF(CLOSE&lt;OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;<br>
卖盘:-IF(CLOSE&gt;OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE&lt;OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORCYAN,POINTDOT;<br>
成交量比%:买盘/VOL*100,COLORWHITE,NODRAW; <br>
五日: MA(V,5)COLORWHITE; <br>
十日: MA(V,10)COLORYELLOW;<br>
万手:VOL/10000,LINETHICK0; <br>
AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); <br>
预测:AA/10000; BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); <br>
主动买:=IF(CLOSE&gt;OPEN,BB*(HIGH-LOW),IF(CLOSE&lt;OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); <br>
主买:主动买/10000,COLORRED; <br>
主动卖:=IF(CLOSE&gt;OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE&lt;OPEN,0-BB*(HIGH-LOW),0-VOL/2)); <br>
主卖:-主动卖/10000,COLORGREEN; <br>
差额:(主动买+主动卖)/10000;<br>
STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.5,0),COLORWHITE; <br>
STICKLINE(CLOSE&gt;REF(CLOSE,1),0,VOL,3.5,0),COLORRED; <br>
STICKLINE(CLOSE&lt;REF(CLOSE,1),0,VOL,3.5,0),COLORGREEN; <br>
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.5 , 0 ) , COLOR00FFFF ;<br>
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.2 , 0 ) , COLOR007777 ; <br>
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.7 , 0 ) , COLOR009999 ; <br>
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.1 , 0 ) , COLOR00BBBB ; <br>
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 1.5 , 0 ) , COLOR00DDEE ; <br>
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.9 , 0 ) , COLOR66FFFF ; <br>
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.2 , 0 ) , COLORFFFFFF ; <br>
STICKLINE(主动买&gt;=0,VOL,-主动卖,3.2,0),COLOR000033; STICKLINE(主动买&gt;=0,VOL,-主动卖,2.7,0),COLOR000066; <br>
STICKLINE(主动买&gt;=0,VOL,-主动卖,2.1,0),COLOR000099; STICKLINE(主动买&gt;=0,VOL,-主动卖,1.5,0),COLOR0000CC; <br>
STICKLINE(主动买&gt;=0,VOL,-主动卖,0.9,0),COLOR0000FF; STICKLINE(主动买&gt;=0,VOL,-主动卖,0.2,0),COLORCC66FF; <br>
STICKLINE(主动卖&lt;=0,0,-主动卖,3.2,0),COLOR990000; STICKLINE(主动卖&lt;=0,0,-主动卖,2.7,0),COLORCC0000; <br>
STICKLINE(主动卖&lt;=0,0,-主动卖,2.1,0),COLORFF4400; STICKLINE(主动卖&lt;=0,0,-主动卖,1.5,0),COLORFF8800; <br>
STICKLINE(主动卖&lt;=0,0,-主动卖,0.9,0),COLORFFCC00; STICKLINE(主动卖&lt;=0,0,-主动卖,0.2,0),COLORCYAN; <br>
持币:IF(SAR(10,2,20)&gt;=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLOR00FF00,LINETHICK1;DRAWICON(持币&gt;0,持币,35 );&nbsp;&nbsp; <br>
持股:IF(SAR(10,2,20)&lt;=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK1;DRAWICON(持股&gt;0,持股,34 );<br>
个股资金线:=MA(C,1)/MA(REF(C,18),18)*100;<br>
资金生命线:=MA(FORCAST(个股资金线,20),6);<br>
生命线:个股资金线&gt;资金生命线,COLOR000000,STICK,LINETHICK1;<br>
DRAWICON(生命线&gt;0,生命线,34);<br>
预测量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测量,0,-1,-1),COLOR00C0C0;<br>
五换:SUM(100*V/CAPITAL,5),COLORRED,NODRAW;<br>
十换:SUM(100*V/CAPITAL,10),COLORRED,NODRAW;<br>
超B:=L2_AMO(0,2)/10000.0;<br>
大B:=L2_AMO(1,2)/10000.0;<br>
中B:=L2_AMO(2,2)/10000.0;<br>
小B:=L2_AMO(3,2)/10000.0;<br>
超S:=-L2_AMO(0,3)/10000.0;<br>
大S:=-L2_AMO(1,3)/10000.0;<br>
中S:=-L2_AMO(2,3)/10000.0;<br>
小S:=-L2_AMO(3,3)/10000.0;<br>
TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0);<br>
净流入:=(超B+大B+中B+小B)+(超S+大S+中S+小S);<br>
大宗净流入:=(超B+大B)+(超S+大S);<br>
超大单:=(超B)+(超S);<br>
大单:=(大B)+(大S);<br>
中单:=(中B)+(中S);<br>
小单:=(小B)+(小S);<br>
大宗进:=(超B)+(大B);<br>
大宗出:=(超S)+(大S);<br>
非大宗进:=(中B)+(小B);<br>
非大宗出:=(中S)+(小S);<br>
资金流向:=(超B+大B+中B+小B)+(超S+大S+中S+小S);<br>
近5日流向:=SUM(资金流向,5);<br>
近10日流向:=SUM(资金流向,10);<br>
主力资金线:=(L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1))/100.0,LINETHICK2;<br>
主力买力度:=LARGEINTRDVOL*100/VOL;<br>
主力卖力度:=LARGEOUTTRDVOL*100/VOL;<br>
DRAWRECTREL(0,0,235,999,RGB(100,330,30));<br>
DRAWRECTREL(0,0,235,515,RGB(0,30,50));<br>
DRAWRECTREL(75,515,235,999,RGB(0,30,50));<br>
DRAWRECTREL(144,0,235,515,RGB(100,330,30));<br>
AA1:=CONST(MAX(ABS(净流入),MAX(ABS(大宗净流入),MAX(ABS(大宗进),MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出)))))))*3,NODRAW;<br>
DRAWRECTREL(5,CONST(830-(ABS(净流入)*500/AA1)),35,945,IF(CONST(净流入)&gt;0,RGB(250,150,10),RGB(0,100,100)));<br>
DRAWRECTREL(40,CONST(830-(ABS(大宗净流入)*500/AA1)),70,945,IF(CONST(大宗净流入)&gt;0,RGB(250,150,10),RGB(0,100,100)));<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.005,0.88,0,INTPART(净流入)),COLORWHITE;<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.041,0.88,0,INTPART(大宗净流入)),COLORWHITE;<br>
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.008,1,0,'净流&nbsp;&nbsp; 大宗流'),COLORWHITE;<br>
DRAWRECTREL(80,CONST(830-(ABS(大宗进)*500/AA1)),115,945,IF(CONST(大宗进)&gt;0,RGB(255,0,0),RGB(23,125,255)));<br>
DRAWRECTREL(117,CONST(830-(ABS(大宗出)*500/AA1)),152,945,IF(CONST(大宗出)&lt;0,RGB(0,50,0),RGB(0,50,0)));<br>
DRAWRECTREL(158,CONST(830-(ABS(非大宗进)*500/AA1)),193,945,IF(CONST(非大宗进)&gt;0,RGB(255,0,0),RGB(23,125,255)));<br>
DRAWRECTREL(195,CONST(830-(ABS(非大宗出)*500/AA1)),230,945,IF(CONST(非大宗出)&lt;0,RGB(0,50,0),RGB(0,50,0)));<br>
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,1,0,'主力&nbsp;&nbsp; 进出&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 散户&nbsp;&nbsp; 进出'),COLORWHITE;<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.082,0.88,0,INTPART(大宗进)),COLORWHITE;<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.12,0.88,0,INTPART(大宗出)),COLORWHITE;<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.161,0.88,0,INTPART(非大宗进)),COLORWHITE;<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.196,0.88,0,INTPART(非大宗出)),COLORWHITE;<br>
AAB:=CONST(MAX(ABS(超大单),MAX(ABS(大单),MAX(ABS(中单),ABS(小单))))),NODRAW;<br>
DRAWRECTREL(5,CONST(830-(ABS(超大单)*500/AAB))/2,35,460,IF(CONST(超大单)&gt;0,RGB(255,0,255),RGB(0,255,255)));<br>
DRAWRECTREL(40,CONST(830-(ABS(大单)*500/AAB))/2,70,460,IF(CONST(大单)&gt;0,RGB(255,0,255),RGB(0,255,255)));<br>
DRAWRECTREL(75,CONST(830-(ABS(中单)*500/AAB))/2,105,460,IF(CONST(中单)&gt;0,RGB(255,0,255),RGB(0,255,255)));<br>
DRAWRECTREL(110,CONST(830-(ABS(小单)*500/AAB))/2,140,460,IF(CONST(小单)&gt;0,RGB(255,0,255),RGB(0,255,255)));<br>
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.007,0.46,0,'超 户&nbsp;&nbsp;&nbsp; 大 户&nbsp;&nbsp; 中 户&nbsp;&nbsp;&nbsp; 散 户'),COLORWHITE;<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.007,0.4,0,INTPART(超大单)),COLORWHITE;<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.042,0.4,0,INTPART(大单)),COLORWHITE;<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.076,0.4,0,INTPART(中单)),COLORWHITE;<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.112,0.4,0,INTPART(小单)),COLORWHITE;<br>
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,'【综合资金分析】&nbsp;&nbsp;&nbsp;&nbsp; (¥万元)'),COLORRED;<br>
AAC:=CONST(MAX(ABS(近5日流向),ABS(近10日流向))),NODRAW;<br>
DRAWRECTREL(149,CONST(830-(ABS(近5日流向)*500/AAC))/2,189,460,IF(CONST(近5日流向)&gt;0,RGB(250,150,10),RGB(0,100,100)));<br>
DRAWRECTREL(191,CONST(830-(ABS(近10日流向)*500/AAC))/2,230,460,IF(CONST(近10日流向)&gt;0,RGB(250,150,10),RGB(0,100,100)));<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.15,0.4,0,INTPART(近5日流向)),COLORWHITE;<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.19,0.4,0,INTPART(近10日流向)),COLORWHITE;<br>
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.152,0.46,0,'五日流&nbsp;&nbsp; 十日流'),COLORWHITE;<br>
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*1000/FINANCE(7);<br>
DDY:=IF(TRADENUM&gt;0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);<br>
DDZ:=IF(TRADENUM&gt;0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0);<br>
DRAWRECTREL(144,0,235,40,IF(CONST(DDX)&gt;0,RGB(255,0,0),RGB(0,50,0)));<br>
DRAWRECTREL(144,45,235,85,IF(CONST(DDY)&gt;0,RGB(255,0,0),RGB(0,50,0)));<br>
DRAWRECTREL(144,90,235,130,IF(CONST(DDZ)&gt;0,RGB(255,0,0),RGB(0,50,0)));<br>
DRAWTEXT_FIX(1,0.15,0,0,STRCAT('DDX:',CON2STR(DDX,0))),COLORYELLOW;<br>
DRAWTEXT_FIX(1,0.15,0.04,0,STRCAT('DDY:',CON2STR(DDY,0))),COLORYELLOW;<br>
DRAWTEXT_FIX(1,0.15,0.09,0,STRCAT('DDZ:',CON2STR(DDZ,0))),COLORYELLOW;<br>
AAD:=CONST(MAX(ABS(主力买力度),ABS(主力卖力度)))*4,NODRAW;<br>
DRAWRECTREL(0,515,CONST(ABS(主力买力度)*500/AAD),568,IF(CONST(主力买力度)&gt;0,RGB(250,150,10),RGB(0,255,255)));<br>
DRAWRECTREL(0,570,CONST(ABS(主力卖力度)*500/AAD),623,IF(CONST(主力卖力度)&gt;0,RGB(23,125,255),RGB(0,255,255)));<br>
DRAWTEXT_FIX(1,0,0.512,0,STRCAT('主力买力度:',CON2STR(主力买力度,0))),COLORRED;<br>
DRAWTEXT_FIX(1,0,0.57,0,STRCAT('主力卖力度:',CON2STR(主力卖力度,0))),COLORRED;</p>
<p></p>
页: [1]
查看完整版本: 通达信千金难求 揭秘主力动向的量能饱和度副图指标 无未来