ihzx 发表于 2021-8-28 00:55:14

通达信诺曼底防线副图指标公式源码


         <p>以下是通达信诺曼底防线副图指标公式源码(无源码的请下载附件导入)</p>
<div class="con" id="rjsmad1"></div>
<p>通达信诺曼底防线副图指标公式源码</p>
<p>VAR1:=(HHV(H,13)-LLV(L,13));<br>
&nbsp;VAR2:=(HHV(H,13)-C);<br>
&nbsp;VAR3:=(C-LLV(L,13));<br>
&nbsp;VAR4:=VAR2/VAR1*100-70;<br>
&nbsp;VAR5:=(C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100;<br>
&nbsp;VAR6:=(2*C+H+L)/4;<br>
&nbsp;VAR7:=SMA((VAR3/VAR1*100),3,1);<br>
&nbsp;VAR8:=LLV(L,34);<br>
&nbsp;VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);<br>
&nbsp;VAR10:=IF(VAR9&gt;100,VAR9-100,0);<br>
&nbsp;VARA:=HHV(H,34);<br>
诺曼底防线:=EMA((VAR6-VAR8)/(VARA-VAR8)*100,8);<br>
&nbsp;BB:=EMA(诺曼底防线,5);<br>
&nbsp;Q:REF(诺曼底防线-BB&lt;0,5) AND REF(诺曼底防线-BB&lt;0,4) AND REF(诺曼底防线-BB&lt;0,3) AND REF(诺曼底防线-BB&lt;0,2) AND REF(诺曼底防线-BB&lt;0,1) {AND 诺曼底防线&lt;30} AND CROSS(诺曼底防线&gt;BB,0.5),LINETHICK0;<br>
建仓:STICKLINE(诺曼底防线-BB&gt;0,诺曼底防线,BB,3,0),COLORRED;<br>
离场:STICKLINE(诺曼底防线-BB&lt;0,诺曼底防线,BB,3,0),COLORGREEN;<br>
乐滋滋炒股:STICKLINE(诺曼底防线&gt;0 AND 诺曼底防线-BB&gt;=0,2,8,2,0),COLORFF00FF;<br>
休息:STICKLINE(诺曼底防线&gt;0 AND 诺曼底防线-BB&lt;0,2,8,2,0),COLORFFFF00;<br>
警:88,LINETHICK3,COLORRED;<br>
戒:20,LINETHICK3,COLORGREEN;<br>
&nbsp;W:0,LINETHICK2,COLORBLUE;<br>
抄吧:STICKLINE(Q,诺曼底防线,Q,3,0),COLOR0066BB;<br>
&nbsp;STICKLINE(Q,诺曼底防线,Q,2,0),COLOR0099CC;<br>
&nbsp;STICKLINE(Q,诺曼底防线,Q,1,0),COLOR00CCEE;<br>
&nbsp;STICKLINE(Q,诺曼底防线,Q,0.1,0),COLOR00FFFF;<br>
&nbsp;DRAWTEXT(Q,诺曼底防线,'建'),COLOR0000FF;</p>
<p><br>
</p>
页: [1]
查看完整版本: 通达信诺曼底防线副图指标公式源码