ihzx 发表于 2021-8-28 00:20:10

通达信有庄控盘修改版副图源码


         <p>以下是通达信有庄控盘修改版副图源码(无源码的请下载附件导入)</p>
<div class="con" id="rjsmad1"></div>
<p>VAR1:=(CLOSE*2+HIGH+LOW)/4;<br>
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);<br>
VAR3:=EMA(VAR2,5);<br>
SHZJX:=(-2)*(VAR2-VAR3)*3.8;<br>
ZLZJX:=2*(VAR2-VAR3)*3.8;<br>
STICKLINE(ZLZJX&gt;0,0,ZLZJX*10,3.2,4),COLORRED;<br>
STICKLINE(ZLZJX&lt;0,0,ZLZJX*10,3.2,4),COLORGREEN;</p>
<p>VAR4:=EMA(EMA(CLOSE,9),9);<br>
控盘:=(VAR1-REF(VAR4,1))/REF(VAR4,1)*30;<br>
A10:=CROSS(控盘,0);<br>
无庄控盘:IF(控盘&lt;0,控盘,0),COLORYELLOW,NODRAW;<br>
开始控盘:IF(A10,15,0),LINETHICK3,COLORMAGENTA;<br>
有庄控盘:IF(控盘&gt;REF(控盘,1) AND 控盘&gt;0,控盘,0),COLORRED,NODRAW;<br>
VAR5:=100*WINNER(CLOSE*0.95);<br>
高度控盘:IF(VAR5&gt;50 AND COST(80)&lt;CLOSE AND 控盘&gt;0,控盘,0),COLORFF00FF,NODRAW;<br>
散户资金线:SHZJX,COLORGREEN LINETHICK2;<br>
主力资金线:ZLZJX,COLORRED,LINETHICK2;<br>
XA:=CROSS(主力资金线,散户资金线),COLORMAGENTA;<br>
建仓:IF(XA,4,0),LINETHICK1,COLORMAGENTA;<br>
飞龙在天:=EMA(COST(80),13);<br>
启动:主力资金线&gt;REF(主力资金线,1) AND 主力资金线&gt;-1.3 AND C/REF(C,1)&gt;1.05 AND&nbsp; C&gt;飞龙在天 AND 高度控盘&gt;1,COLORRED;<br>
主力出货:IF(控盘&lt;REF(控盘,1) AND 控盘&gt;0,控盘,0),COLORCYAN,NODRAW;<br>
清仓:CROSS(散户资金线,主力资金线),COLORGREEN;</p>
<p>STICKLINE(控盘&lt;0,控盘,0,2.8,0),COLOR00AAFF;<br>
STICKLINE(控盘&lt;0,控盘,0,1.5,0),COLOR00CCFF;<br>
STICKLINE(控盘&lt;0,控盘,0,0.5,0),COLOR00FFFF;<br>
STICKLINE(控盘&gt;REF(控盘,1) AND 控盘&gt;0,控盘,0,2.8,0),COLOR000055;<br>
STICKLINE(控盘&gt;REF(控盘,1) AND 控盘&gt;0,控盘,0,2,0),COLOR000088;<br>
STICKLINE(控盘&gt;REF(控盘,1) AND 控盘&gt;0,控盘,0,1.5,0),COLOR0000AA;<br>
STICKLINE(控盘&gt;REF(控盘,1) AND 控盘&gt;0,控盘,0,1,0),COLOR0000CC;<br>
STICKLINE(控盘&gt;REF(控盘,1) AND 控盘&gt;0,控盘,0,0.5,0),COLOR0000EE;<br>
STICKLINE(VAR5&gt;50 AND COST(80)&lt;CLOSE AND 控盘&gt;0,控盘,0,2.8,0),COLOR550055;<br>
STICKLINE(VAR5&gt;50 AND COST(80)&lt;CLOSE AND 控盘&gt;0,控盘,0,2,0),COLOR880088;<br>
STICKLINE(VAR5&gt;50 AND COST(80)&lt;CLOSE AND 控盘&gt;0,控盘,0,1.5,0),COLORAA00AA;<br>
STICKLINE(VAR5&gt;50 AND COST(80)&lt;CLOSE AND 控盘&gt;0,控盘,0,1.0,0),COLORCC00CC;<br>
STICKLINE(VAR5&gt;50 AND COST(80)&lt;CLOSE AND 控盘&gt;0,控盘,0,0.5,0),COLOREE00EE;<br>
STICKLINE(控盘&lt;REF(控盘,1) AND 控盘&gt;0,控盘,0,2.8,0),COLOR555500;<br>
STICKLINE(控盘&lt;REF(控盘,1) AND 控盘&gt;0,控盘,0,2,0),COLOR888800;<br>
STICKLINE(控盘&lt;REF(控盘,1) AND 控盘&gt;0,控盘,0,1.5,0),COLORAAAA00;<br>
STICKLINE(控盘&lt;REF(控盘,1) AND 控盘&gt;0,控盘,0,1,0),COLORCCCC00;<br>
STICKLINE(控盘&lt;REF(控盘,1) AND 控盘&gt;0,控盘,0,0.5,0),COLOREEEE00;<br>
DRAWTEXT(建仓,5,'建仓'),COLORMAGENTA;<br>
DRAWICON(启动 AND NOT(REF(启动,1)),ZLZJX*10+5,1);<br>
DRAWTEXT_FIX(1,0,0.07,0,'★开始控盘信号出现逐步介入'),COLORMAGENTA;<br>
DRAWTEXT_FIX(1,0,0.12,0,'★第一天出现高度控盘为启动'),COLORRED;<br>
DRAWTEXT_FIX(1,0,0.19,0,'★收盘前红柱低于昨日红柱减仓'),COLORYELLOW;<br>
DRAWTEXT_FIX(1,0,0.25,0,'★散户资金上穿主力资金时清仓'),COLORGREEN; <br>
A2:=(C - REF(C,1)) / REF(C,1) * 100;<br>
A3:=COUNT(A2 &gt; 8,120);<br>
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.2,0,0,A3),COLORYELLOW;<br>
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,'【关注级别大的股票】 '),COLORYELLOW;<br>
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.13,0,0,'级:&nbsp;&nbsp; '),COLORYELLOW;<br>
生命CCI线:=CCI(84)/10,COLORRED,LINETHICK2;<br>
DRAWTEXT(CROSS(生命CCI线,0),0,'★主升浪')COLORYELLOW;<br>
DRAWTEXT(CROSS(生命CCI线,25),25,'★警惕')COLORWHITE;<br>
DRAWTEXT(CROSS(生命CCI线,12),12,'★强')COLORYELLOW;<br>
DRAWTEXT_FIX(1,0.90,5,0,''),COLORRED;</p>
<p></p>
页: [1]
查看完整版本: 通达信有庄控盘修改版副图源码