ihzx 发表于 2021-8-28 00:21:26

通达信底部警戒雷达副图指标 源码


         <p>以下是通达信底部警戒雷达副图指标 源码(无源码的请下载附件导入)</p>
<div class="con" id="rjsmad1"></div>
<p>X_1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;<br>
&nbsp;X_2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;<br>
&nbsp;X_3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;<br>
&nbsp;X_4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;<br>
&nbsp;X_5:=(X_2+2*X_3+3*X_4)/6;<br>
&nbsp;X_6:=MA(X_5,3);<br>
&nbsp;MACD:X_6*5,COLORSTICK,LINETHICK2;<br>
提醒:STICKLINE(X_6&lt;=(-6),0,(-25),5,0),COLOR88B7EA;<br>
关注:STICKLINE(X_6&lt;=(-8),5,25,7,0);<br>
出击:STICKLINE(X_6&lt;=(-10),80,100,5,0),COLORYELLOW;<br>
警戒雷达:IF(X_6&lt;(-6),20,0),COLORBLUE,LINETHICK3;<br>
引导雷达:STICKLINE(X_6&lt;=(-10),65,35,4,0);<br>
制导雷达:STICKLINE(X_6&lt;=(-10),40,0,4,0),COLORRED;<br>
发射:STICKLINE(X_6&lt;=(-10),80,30,3,0),COLORGREEN;<br>
导弹:STICKLINE(X_6&lt;=(-10),80,60,3,0),COLORWHITE;<br>
&nbsp;K:SMA(X_1,3,1),COLORGREEN;<br>
&nbsp;D:SMA(K,3,1),COLORYELLOW;<br>
&nbsp;J:3*K-2*D,COLORWHITE;<br>
底:20,POINTDOT,COLOR77AA1A,LINETHICK2;<br>
入顶:80,POINTDOT,COLORCYAN,LINETHICK2;<br>
大顶:100,POINTDOT,COLOR22A6E6,LINETHICK2;</p>
<p></p>
<p></p>
页: [1]
查看完整版本: 通达信底部警戒雷达副图指标 源码