通达信——精选指标《牛熊波段》指标源码
<p data-first-child></p><p class="ztext-empty-paragraph"><br/></p><p >指标源码:</p><blockquote >VA1:=HHV(HIGH,9)-LLV(LOW,9);<br/>VA2:=HHV(HIGH,9)-CLOSE;<br/>VA3:=CLOSE-LLV(LOW,9);<br/>VA4:=VA2/VA1*100-70;<br/>VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;<br/>VA6:=(CLOSE+HIGH+LOW)/3;<br/>VA7:=SMA(VA3/VA1*100,3,1);<br/>VA8:=LLV(LOW,34);<br/>VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);<br/>VARA:=IF(VA9>100,VA9-100,0);<br/>VARB:=HHV(HIGH,34);<br/>VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);<br/>VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);<br/>VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;<br/>VARF:=MA(VARE,3);<br/>VAR1:=HHV(HIGH,9)-LLV(LOW,9);<br/>VAR2:=HHV(HIGH,9)-CLOSE;<br/>VAR3:=CLOSE-LLV(LOW,9);<br/>VAR4:=((VAR2)/(VAR1))*(100)-70;<br/>VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);<br/>VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);<br/>VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);<br/>VAR8:=LLV(LOW,34);<br/>VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);<br/>VAR10:=IF((VAR9>100),VAR9-100,0);<br/>VAR11:=HHV(HIGH,34);<br/>B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);<br/>DRAWKLINE(EMA(B1,5),EMA(B1,5),B1+1,B1);<br/>牛市:EMA(B1,5),COLORCYAN;<br/>熊市:EMA(VARD,1),COLORYELLOW;<br/>V1:=MA(C,5)=HHV(MA(C,5),20);<br/>V2:=MA(C,5)>MA(C,10);<br/>V3:=MA(V,5)>MA(V,40)*1.01;<br/>V4:=COUNT(MA(C,1)>REF(C,1),2)=2;<br/>VV:=V1 AND V2 AND V3 AND V4;<br/>A1:=EMA(CLOSE,8);<br/>A2:=EMA(A1,20);<br/>A3:=CROSS(A1,A2);<br/>A4:=A1<EMA(CLOSE,120);<br/>A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT,COLORFF9900 ;<br/>安全:=20;<br/>关注:=IF(CROSS(A5,安全),50,0),STICK,COLORMAGENTA,LINETHICK2;<br/>收钱:=IF(CROSS(VARC,牛市) AND VARC>VARD AND VARC<55 AND C>O,50,0),COLORLIRED,POINTDOT;<br/>A6:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);<br/>SEU:IF(A6,牛市,0),COLORGREEN,LINETHICK2;<br/>STICKLINE((收钱>0 AND 收钱<400) OR (SEU>0 AND SEU<400)<br/>OR (关注>0 AND 关注<400) OR (关注>0),30,收钱,1,0),COLORRED;</blockquote><h2>欢迎大家自行尝试! 关于指标大家可以私信找我免费领取!</h2> 感谢感谢 很好的东东 希望更多人一起分享,感谢!
页:
[1]