当前位置:→ 股海网通达信公式 → 正文
  • 通达信准备买入主图+选股公式

  • 相关简介:通达信准备买入主图+选股公式 指标源码如下: LH:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14)); NL:=EMA((EMA(C,5)*7+EMA(C,10)*3)/10,3); IF(NLREF(NL,1),DRAWNULL,NL),LINETHICK5,COLORGREEN; IF(NLREF(NL,1),DRAWNULL,NL),LINETHICK5,COLORRED; NX:=CROSS(EMA(C,3.14),EM

  • 文章来源:股海网作者:股海网发布时间:2013-08-14浏览次数:下载次数:0

通达信准备买入主图+选股公式

指标源码如下:
 
LH:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));
 NL:=EMA((EMA(C,5)*7+EMA(C,10)*3)/10,3);
 IF(NL>REF(NL,1),DRAWNULL,NL),LINETHICK5,COLORGREEN;
 IF(NL<REF(NL,1),DRAWNULL,NL),LINETHICK5,COLORRED;
 NX:=CROSS(EMA(C,3.14),EMA(C,6.18)) AND REF(LH,1)<0;
 STICKLINE(NX,H,L,0.1,0),COLORYELLOW;
 STICKLINE(NX,O,C,3,0),COLORYELLOW;
 DRAWICON(NX,H,9);
 欣喜:MEMA(XMA((((C-O)*2)+O),30),13);
 若狂:MEMA(MEMA((((C-O)*2)+O),5),13);
 DRAWBAND(欣喜,RGB(150,0,80),若狂,RGB(0,0,250));
 DRAWICON(LONGCROSS(欣喜,若狂,1),欣喜*0.995,7),COLORRED;
 DRAWICON(LONGCROSS(若狂,欣喜,1),若狂*1.009,8),COLORGREEN;
 DRAWTEXT(LONGCROSS(欣喜,若狂,1),欣喜*0.995,'一次准备'),COLORRED;
 
短线趋势:=(EMA(C,7) - EMA(C,13));
 中线趋势:=EMA(短线趋势,13);
 VAR4:=MA(C,7);
 VAR5:=MA(C,13);
 VAR6:=MA(C,34);
 VAR7:=MA(C,55);
 VAR10:=((0 - ((10 * (HHV(C,5) - C)) / (HHV(C,5) - LLV(L,5)))) + 10);
 VAR11:=((0 - ((10 * (HHV(C,13) - C)) / (HHV(C,13) - LLV(L,13)))) + 10);
 VAR12:=((0 - ((10 * (HHV(C,21) - C)) / (HHV(C,21) - LLV(L,21)))) + 10);
 VAR13:=((0 - ((10 * (HHV(C,34) - C)) / (HHV(C,34) - LLV(L,34)))) + 10);
 VAR14:=REF(中线趋势,1);
 VAR15:=中线趋势;
 VAR16:=(VAR15 - VAR14);
 VAR17:=REF(短线趋势,1);
 VAR18:=短线趋势;
 VAR19:=(VAR18 - VAR17);
 VARE:=(SUM(((C * VOL) * 10),34) / SUM((VOL * 200),34));
 VARF:=(INTPART((VARE * 10)) / 10);
 黄雀在后:=(((((((O<= VAR4) AND (O<= VAR5)) AND (O<= VAR6)) AND (C>= VAR4)) AND (C>= VARF)) AND (VAR16 > 0)) AND (VAR19 > 0)),LINETHICK0;
 DRAWTEXT(黄雀在后,L-0.1,'二次准备'),COLORMAGENTA;
 DRAWICON(黄雀在后,L-0.1,1);
 AAA:=WINNER(C+C*15/100)*100;
 BB:=WINNER(C+C*0/100)*100;
 CC:=AAA-BB;
 DD:=(WINNER(C-C*0.1/100)-WINNER(C-C*15/100))*100;
 EE:=CC<3 AND DD<0.5 AND O<L;
 A1X:=DYNAINFO(6);
 A2X:=IF(L>A1X,0,IF(H<A1X,1,(A1X-L+0.01)/(H-L+0.01)));
 A3X:=V/WINNER(L);
 A4X:=REF(HHV(C,120),1);
 A5X:=REF(LLV(C,120),1);
 A6X:=100*(C-A5X)/(A4X-A5X);
 A7X:=A2X>0 OR A2X=1;
 A8X:=A7X AND A3X/REF(A3X,3)>=3 AND A6X<80 ;
 A9X:=REF(A8X,1) OR REF(A8X,2) OR REF(A8X,3) OR REF(A8X,4);
 A10X:=A8X AND A9X;
 A12X:=IF(FILTER(A10X,3) OR EE,10,0);
 CCC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); 
 DD20:=DMA(CLOSE,CCC);
 AA20:=MA((2*CLOSE+HIGH+LOW)/4,5);
 通道22:=AA20*(200-7)/100;
 通道44:=(1-7/100)*DD20;
 A20:=C<通道22 AND C<通道44 AND C>O;
 TYP2:=(HIGH+LOW+CLOSE)/3;
 CCI2:=(TYP2-MA(TYP2,14))/(0.015*AVEDEV(TYP2,14));
 MIDD:=MA(CLOSE,20);
 LOWERR:=MIDD-2*STD(CLOSE,20);
 XGG:=A20 AND CCI2<-100  AND O<LOWERR;
 XIN:=A12X AND XGG;
 XX:=BARSLAST(XIN);
 〖止盈价〗:IF(XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>=REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,DRAWNULL),NODRAW,COLORYELLOW;
 〖止损价〗:IF(XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>=REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*0.95,DRAWNULL),NODRAW,COLORWHITE;
 〖平仓价〗:IF(XX=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>=REF(C,XX)*0.95,XX)=XX,1),C,DRAWNULL),NODRAW;
 DRAWICON(XIN,C*0.95,1);
 DRAWICON(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX=10 AND COUNT(C>=REF(C,XX)*0.95,XX)=XX,REF(C,XX)*1.1,2);
 DRAWICON(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>=REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,2);
 DRAWICON(COUNT(H<REF(C,XX)*1.1,XX)=XX AND XX<=10 AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*1.1,2);
 STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND COUNT(C>=REF(C,XX)*0.95,XX)=XX,REF(C,XX)*1.1,REF(C,XX)*1.1,1,0),COLORYELLOW;
 STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND COUNT(C>=REF(C,XX)*0.95,XX)=XX,REF(C,XX),REF(C,XX),1,0);
 STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND COUNT(C>=REF(C,XX)*0.95,XX)=XX,REF(C,XX)*0.95,REF(C,XX)*0.95,1,0),COLORYELLOW;
 STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1),REF(C,XX),REF(C,XX),1,0);
 STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,REF(C,XX)*1.1,1,0),COLORYELLOW;
 STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*0.95,REF(C,XX)*0.95,1,0),,COLORYELLOW;
 STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*1.1,REF(C,XX)*1.1,1,0),,COLORYELLOW;
 STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX),REF(C,XX),1,0);
 STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*0.95,REF(C,XX)*0.95,1,0),,COLORYELLOW;
 STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX=10 AND COUNT(C>=REF(C,XX)*0.95,XX)=XX,REF(C,XX)*1.1,REF(C,XX)*0.95,0.00001,-1);
 STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*1.1,REF(C,XX)*0.95,0.00001,-1);
 STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,REF(C,XX)*0.95,0.00001,-1);
 JJ:=IF(HHV(H,8)<=C*1.1,HHV(H,8),IF(HHV(H,7)<=C*1.1,HHV(H,7),
 IF(HHV(H,6)<=C*1.1,HHV(H,6),
 IF(HHV(H,5)<=C*1.1,HHV(H,5),
 IF(HHV(H,4)<=C*1.1,HHV(H,4),
 IF(HHV(H,3)<=C*1.1,HHV(H,3),IF(HHV(H,2)<=C*1.1,HHV(H,2),H)))))));
 STICKLINE(XIN,JJ,C*0.95,0.00001,-1);
 

 

----------------------------------------

出现“二次准备”的选股公式

VAR4:=MA(C,7);
 VAR5:=MA(C,13);
 短线趋势:=(EMA(C,7) - EMA(C,13));
 中线趋势:=EMA(短线趋势,13);
 VAR6:=MA(C,34);
 VAR7:=MA(C,55);
 VAR14:=REF(中线趋势,1);
 VAR15:=中线趋势;
 VAR16:=(VAR15 - VAR14);
 VAR17:=REF(短线趋势,1);
 VAR18:=短线趋势;
 VAR19:=(VAR18 - VAR17);
 VARE:=(SUM(((C * VOL) * 10),34) / SUM((VOL * 200),34));
 VARF:=(INTPART((VARE * 10)) / 10);
 XG:(((((((O<= VAR4) AND (O<= VAR5)) AND (O<= VAR6)) AND (C>= VAR4)) AND (C>= VARF)) AND (VAR16 > 0)) AND (VAR19 > 0));
 

通达信准备买入主图+选股公式

 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

通达信准备买入主图+选股公式

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

上传会员: 
股海网
文件大小: 
Bytes
上传时间: 
2013-08-14
下载积分: 
-
免责声明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究使用,不得用于商业或者非法用途,如有侵犯您的版权, 请参看 《股海网侵权处理流程》《股海网免责声明条款》
点击下载无反应时,更换主流浏览器重新登录操作,如360浏览器、Edge浏览器、谷歌浏览器,个别浏览器有不兼容现象。
勾选以下表示您已经阅读并同意以上声明才能下载本文件,扣除积分无法退还!
我已阅读所有条款规定, 请点我同意 所有条款内容!我自愿下载!
提示:如下载失败,请点关闭刷新此页面或提交问题反馈给管理员→
关闭

关于我们 - 联系我们 - 隐私政策 - 免责声明 - 下载帮助 - 广告合作 - SiteMap - TOP
增值电信业务经营ICP许可证:湘B2-20210269 湘ICP备09016573号-10 湘公网安备43108102000040号
Copyright © 2021 铭网科技,All Rights Reserved.