伏股龙(必杀)指标公式源码(副图)
-
相关简介:伏股龙(必杀)指标公式源码(副图) C/C++ www.zegu.cn 择股网提供 Code 复制内容到剪贴板 {n3160} VAR1:=(C-EMA(C,6))/EMA(C,6)*100; VAR2:=(C-MA(C,24))/MA(C,24)*100; VAR3:=(C-MA(C,32))/MA(C,32)*100; VAR4:=(VAR1+VAR2+VAR3)/3; KX:MEMA(VAR4,N),LINETHICK0,COLORWHITE; DX:MEMA
-
文章来源:择股网作者:股海网发布时间:2010-08-30浏览次数:
伏股龙(必杀)指标公式源码(副图)
C/C++ www.zegu.cn 择股网提供 Code复制内容到剪贴板
- {n 3 1 60 }
- VAR1:=(C-EMA(C,6))/EMA(C,6)*100;
- VAR2:=(C-MA(C,24))/MA(C,24)*100;
- VAR3:=(C-MA(C,32))/MA(C,32)*100;
- VAR4:=(VAR1+VAR2+VAR3)/3;
- KX:MEMA(VAR4,N),LINETHICK0,COLORWHITE;
- DX:MEMA(KX,3),LINETHICK0,COLORYELLOW;
- FILLRGN(KX, DX,kx>dx,RGB(150,0,100));
- FILLRGN(KX, DX,kx<dx,RGB(100,100,50));
- MCD:EMA(EMA(VAR1,3),N)*2,COLORSTICK;
- VAR5:=EMA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
- 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);
- VAR7:=VAR6<REF(VAR6,1) AND MCD>REF(MCD,1) AND DX>REF(DX,1) AND V>REF(V,1) AND C>O*1.011;
- VAR8:=LLV(VAR5,3)<VAR5;
- VAR9:=KX>DX AND DX<7;
- 必杀①:IF(VAR8>=1 AND VAR9 AND REF(KX<DX,1),1,0),LINETHICK0,COLORRED;
- 必杀②:IF(VAR7 AND VAR8 AND VAR9,1,0),LINETHICK0,COLORYELLOW;
- STICKLINE(必杀①,-2,0,2,0),LINETHICK4,COLORRED;
- STICKLINE(必杀②=1 AND REF(必杀②,1)<=0,0,1,2,0),LINETHICK4,COLORYELLOW;
- {文字输出可以不要} DRAWTEXT(必杀①,0,'①'),COLORWHITE;
- DRAWTEXT(必杀② AND REF(必杀②,1)<=0,2,'②'),COLORYELLOW;
上一篇:背离指标 不加密,判断趋势很准
下一篇:20%利润的黑马选股公式