相关简介:通达信涨停回调第二波精确买入公式源码分享

     通达信指标公式源码概况:

  指标类别:通达信指标公式

  授权方式:免费版

  指标评级:★★★★★

  指标分类:策略

  画线方法:副图

   板后回调买入的理解是:之前几天内出了涨停板,回调后再择机买入的一种方法。

   最近效果可以,7月1号到7月16号共出票8支,7支上涨,1只下跌。可看一下。

   我人工只复查了一下最近三个月的票,出票后上涨家数是大于下跌家数的。其余的自已看吧。

   1:本品岀票不是很多,平均每个月出票20多支。

   2:指标是根据历史行情的走势规律,去推测将来可能再岀现的情况,历史走势可以重演,但同形不同命;

   这个形态历史上上涨了,并不代表今天就会上涨;所以出票后还是要根据情况,自已取舍一下。无未来,可放心使用。

通达信指标公式源码:

   ZT:=C/REF(C,1)>1.097;

   XH:=FILTER(ZT,13);

   BH:=BArslAst(ZT);

   CZ:=REF(H,BH)-REF(L,BH);

   STICKLINE(C,(REF(L,BH)+CZ*0.5),(REF(L,BH)+CZ*0.5),7,0),COLORRED;

   STICKLINE(C,REF(L,BH),REF(L,BH),7,0),COLORBLUE;

   STICKLINE(ZT,REF(O,BH),REF(C,BH),7,0),COLORYELLOW;

   DRAWTEXT(ZT,L*0.98,’涨停‘),COLORF00FF0;

   VARZT:=BARSLAST(C/REF(C,1)>1.097);

   STICKLINE(VARZT=2,L*0.97,L*0.98,8,0),COLOR0000FF;

   DRAWTEXT(VARZT=2,L*0.95,’3天’),COLORYELLOW;

   STICKLINE(VARZT=4,H*1.03,H*1.02,8,0),COLOR9966FF;

   DRAWTEXT(VARZT=4,H*1.06,’5天’),COLORYELLOW;

   STICKLINE(VARZT=7,L*0.97,L*0.98,8,0),COLOR00FFFF;

   DRAWTEXT(VARZT=7,L*0.95,’8天’),COLORYELLOW;

   STICKLINE(VARZT=12,H*1.03,H*1.02,8,0),COLORFF33FF;

   DRAWTEXT(VARZT=12,H*1.06,’13天’),COLORYELLOW;

   STICKLINE(VARZT=20,L*0.97,L*0.98,8,0),COLOR0066FF;

   DRAWTEXT(VARZT=20,L*0.95,’21天’),COLORYELLOW;

   STICKLINE(VARZT=33,H*1.03,H*1.02,8,0),COLOR9932CD;

   DRAWTEXT(VARZT=33,H*1.06,’34天’),COLORYELLOW;

   STICKLINE(VARZT=54,L*0.97,L*0.98,8,0),COLOR006600;

   DRAWTEXT(VARZT=54,L*0.95,’55天’),COLORYELLOW;

   STICKLINE(VARZT=88,H*1.03,H*1.02,8,0),COLOR00FF00;

   DRAWTEXT(VARZT=88,H*1.06,’89天’),COLORYELLOW;

   STICKLINE(VARZT=143,L*0.97,L*0.98,8,0),COLORCCFFFF;

   DRAWTEXT(VARZT=143,L*0.95,’144天’),COLORYELLOW;

   STICKLINE(VARZT=232,H*1.03,H*1.02,8,0),COLORFF0033;

   DRAWTEXT(VARZT=232,H*1.06,’233天’),COLORYELLOW;

   STICKLINE(VARZT=376,L*0.97,L*0.98,8,0),COLORFF9966;

   DRAWTEXT(VARZT=376,L*0.95,’377天’),COLORYELLOW;

   VAR1:=CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2);

   VAR2:=REF(VAR1,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR3:=REF(VAR2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR4:=REF(VAR3,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR5:=REF(VAR4,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR6:=REF(VAR5,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR7:=REF(VAR6,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR8:=REF(VAR7,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR9:=REF(VAR8,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VARA:=REF(VAR9,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VARB:=REF(VARA,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VARC:=REF(VARB,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VARD:=CLOSE<REF(CLOSE,1)ANDCLOSE<REF(CLOSE,2);

   VARE:=REF(VARD,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VARF:=REF(VARE,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR10:=REF(VARF,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR11:=REF(VAR10,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR12:=REF(VAR11,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR13:=REF(VAR12,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR14:=REF(VAR13,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR15:=REF(VAR14,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR16:=REF(VAR15,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR17:=REF(VAR16,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VAR18:=REF(VAR17,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VAR19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13OR

   VAR14ORVAR15ORVAR16ORVAR17ORVAR18,1)ANDVAR1;

   VAR1A:=REF(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7OR

   VAR8ORVAR9ORVARAORVARBORVARC,1)ANDVARD;

   CHIGU:=VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARAORVARBORVARC;

   CHIBI:=VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16ORVAR17ORVAR18;

   ABC1:=(100-((90*(HHV(H,14)-C))/(HHV(H,14)-LLV(L,14))));

   ABC2:=(100-MA(((100*(HHV(H,6)-C))/(HHV(H,6)-LLV(L,6))),34));

   线A1:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3;

   线A2:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA(CLOSE,120))/6;

   线A3:=(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3;

   线A4:=(MA(CLOSE,13)+MA(CLOSE,34)+MA(CLOSE,55))/3;

   VAR19ANDCROSS(ABC1,MA(ABC2,6));

[源码注释]通达信公式动态翻译结果

输出XG:换手线的HSL[取月线数据]>20

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。