您的位置  > 资讯

代写指标公式 代做股票指标

N:=3;<br>
VAR1:=(C-EMA(C,6))/EMA(C,6)*100;<br>
VAR2:=(C-MA(C,24))/MA(C,24)*100;<br>
VAR3:=(C-MA(C,32))/MA(C,32)*100;<br>
VAR4:=(VAR1+VAR2+VAR3)/3;<br>
KX:MEMA(VAR4,N),NODRAW,COLORWHITE;<br>
DX:MEMA(KX,3),NODRAW,COLORYELLOW;<br>
DRAWBAND(KX,RGB(150,0,100),DX,RGB(100,100,50));<br>
MCD:EMA(EMA(VAR1,3),N)*2,COLORSTICK;<br>
VAR5:=EMA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;<br>
VAR6:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);<br>
VAR7:=VAR6&lt;REF(VAR6,1) AND MCD&gt;REF(MCD,1) AND DX&gt;REF(DX,1) AND V&gt;REF(V,1) AND C&gt;O*1.011;<br>
VAR8:=LLV(VAR5,3)&lt;VAR5;<br>
VAR9:=KX&gt;DX AND DX&lt;7;<br>
必杀①:IF(VAR8&gt;=1 AND VAR9 AND REF(KX&lt;DX,1),1,0),NODRAW,COLORRED;<br>
必杀②:IF(VAR7 AND VAR8 AND VAR9,1,0),NODRAW,COLORYELLOW;<br>
STICKLINE(必杀①,-2,0,2,0),COLORRED;<br>
STICKLINE(必杀②=1 AND REF(必杀②,1)&lt;=0,0,1,2,0),COLORYELLOW;<br>
{文字输出可以不要}<br>
DRAWTEXT(必杀①,0,&#39;①&#39;),COLORWHITE;<br>
DRAWTEXT(必杀② AND REF(必杀②,1)&lt;=0,2,&#39;②&#39;),COLORYELLOW;


 

 

 

如有需要,请加QQ:88652583 或微信: 88652583