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

通达信主力暗中建仓副图指标 源码


         <p>以下是通达信主力暗中建仓副图指标 源码(无源码的请下载附件导入)</p>
<div class="con" id="rjsmad1"></div>
<p>通达信主力暗中建仓副图指标 源码 测试图</p>
<p>N1:=34;<br>
&nbsp;N2:=9;<br>
&nbsp;N3:=3;<br>
&nbsp;X1:=100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));<br>
&nbsp;VAR1:=100*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2));<br>
&nbsp;VAR2:=100*(HHV(HIGH,N3)-CLOSE)/(HHV(HIGH,N3)-LLV(LOW,N3));<br>
&nbsp;VAR3:=VAR1-X1;<br>
&nbsp;VAR4:=X1-VAR1;<br>
&nbsp;STICKLINE(VAR3&lt;0,0,VAR4,2.5,0),COLORRED;<br>
主力暗中建仓:VAR4,COLORRED,NODRAW;<br>
&nbsp;STICKLINE(VAR4&lt;0,0,VAR3,1,1),COLORFFFFFF;<br>
主力暗中对倒:VAR4&lt;0,COLORFFFFFF;<br>
&nbsp;VAR5:=DYNAINFO(5);<br>
&nbsp;VAR6:=IF(HIGH&lt;VAR5,0,IF(LOW&gt;VAR5,1,(VAR5-HIGH+0.009)/(LOW-HIGH+0.009)));<br>
&nbsp;A:=CLOSE*1.1;<br>
&nbsp;B:=CLOSE*0.9;<br>
&nbsp;B1:=100*(WINNER(A)-WINNER(B));<br>
&nbsp;CMSD:=100-B1;<br>
&nbsp;C1:=MA(CLOSE,13)&lt;REF(MA(CLOSE,13),1);<br>
&nbsp;D1:=IF(CLOSE&gt;1000,CROSS(VAR6,22),CROSS(VAR6,24));<br>
&nbsp;STICKLINE(CMSD&gt;65 AND C1,CMSD-88,0,2,0),COLORFF00FF;<br>
强庄建仓:CMSD&gt;65 AND C1,COLORFF00FF;<br>
&nbsp;ZC_1:=IF(LOW&lt;DYNAINFO(7),0,IF(HIGH&gt;DYNAINFO(7),DYNAINFO(7)-(DYNAINFO(7)-HIGH+0.02)/(HIGH-LOW+0.02),0));<br>
&nbsp;ZC_2:=DMA(ZC_1,VOL/CAPITAL)*(100);<br>
出货:=IF(ZC_2&gt;0 AND ZC_2&gt;REF(ZC_2,1),ZC_2/20,0);<br>
&nbsp;STICKLINE(出货&gt;0,出货-88,0,1,0),COLORGREEN;<br>
机构出货:出货&gt;0,COLORGREEN;<br>
换手:VOL*100/CAPITAL,NODRAW;</p>
<p></p>
页: [1]
查看完整版本: 通达信主力暗中建仓副图指标 源码