ihzx 发表于 2021-8-26 22:45:54

通达信霓虹令副图指标源码


         <p>以下是通达信霓虹令副图指标源码(无源码的请下载附件导入)</p>
<div class="con" id="rjsmad1"></div>
<p>&nbsp;</p>
<p>F:=100*(C-REF(C,1))/REF(C,1); <br>
今小昨:=IF(C&lt;REF(O,1) AND F&lt;0,1,0); <br>
S1:=今小昨; <br>
今小前:=IF(C&lt;REF(O,2) AND F&lt;0,1,0),LINETHICK0; <br>
S2:=今小前; <br>
A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));<br>
A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));<br>
A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));<br>
STICKLINE(A1 AND A2 ,0,3,3,0)COLORGREEN;<br>
STICKLINE(A1 AND A2 ,0,1,3,0)COLORBLUE;<br>
STICKLINE(A1 AND A2 AND A3,0,5,3,0)COLORYELLOW;<br>
STICKLINE(A1 AND A2 AND A3,0,3,3,0)COLORFF00FF;<br>
STICKLINE(A1 AND A2 AND A3,0,1,3,0)COLORBLUE;<br>
DRAWTEXT(A3=1,4.8,'长攻!'),COLORYELLOW;<br>
智勇出击: ZIG(3,6)&gt;REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)&lt;REF(ZIG<br>
(3,6),2),COLORWHITE,LINETHICK2;<br>
DRAWTEXT(智勇出击=1,0.8,'突袭!'),COLORWHITE;<br>
小获且退: ZIG(3,10)&lt;REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)&gt;REF(ZIG<br>
(3,10),2),COLORYELLOW,LINETHICK2;<br>
DRAWTEXT(小获且退=1,1.3,'退!'),COLORYELLOW;<br>
VAR3:=PEAKBARS(2,15,1)&lt;10;<br>
VAR5:=IF(VAR3=1,2,0);<br>
顶:= IF(VAR5=2,2,0);<br>
大胜且归:IF(顶&gt;REF(顶,1),2,0),COLORRED,LINETHICK2;<br>
DRAWTEXT(大胜且归=2,2,'撤!'),COLORRED;</p>
<p><br>
</p>
页: [1]
查看完整版本: 通达信霓虹令副图指标源码