您现在的位置是: 首页 >  指标公式 >  通达信 通达信

【通达信指标】黑马趋势指标公式(副图+选股)

编辑:股小红 2023-06-10 8733人已围观

收藏

简介 【通达信指标】黑马趋势指标公式(副图+选股)1.黑马趋指标公式,用于抓趋势型的黑马股,指标只有一个黑马信号; 2.指标屏蔽了近期解禁、减持的个股,增加了强势股、闪拉股、异动股,更能选出具有黑马基因的个股

会员权益:

  • 普通用户 免费
  • VIP会员 免费
  • 年SVIP会员 免费推荐
  • 帝王SVIP会员   永久免费推荐

提示信息:

请在文章末尾获取资源下载链接!!!

开通会员下载更优惠!!官方客服微信:mhcj668

点击下方按钮自助充值,实时到账!!

【通达信指标】黑马趋势指标公式(副图+选股)

第一部分 指标介绍

1.黑马趋指标公式,用于抓趋势型的黑马股,指标只有一个黑马信号;

2.指标屏蔽了近期解禁、减持的个股,增加了强势股、闪拉股、异动股,更能选出具有黑马基因的个股

3.指标不含未来函数,指标不漂移

第二部分 公式源码

{黑马趋势--副图}

微信:=MA(V,5);

公众号:=MA(V,20);

股海:=V>REF(HHV(V,2),1) AND RANGE(微信,公众号,V) AND UPNDAY(微信,2) AND UPNDAY(公众号,2);

操作手:=H>REF(HHV(H,2),1);

GSC1:=MAX(C,O);

GSC2:=GSC1>REF(HHV(GSC1,2),1);

GSC3:=股海 AND 操作手 AND GSC2;

GSC4:=BARSLAST(GSC3=1);

GSC5:=REF(REF(H,1),GSC4);

GSC6:=IF(GSC3,0,IF(C<GSC5,1,0));

GSC7:=REF(HHV(H,GSC4+1),BARSLAST(GSC6));

GSC8:=IF(C>GSC7,IF(REF(GSC1<GSC7,1),1,0),0);

XXP:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*'),0,1);

XXP2:=NOT(CODELIKE('688'));

XXP3:=NOT(CODELIKE('3'));

XXP5:=NOT(CODELIKE('4'));

XXP6:=NOT(CODELIKE('8'));

XXP7:=NOT(INBLOCK('近期解禁'));

XXP8:=NOT(INBLOCK('拟减持'));

XXP9:=IF((INBLOCK('近期强势') OR INBLOCK('最近闪拉') OR INBLOCK('最近异动') OR INBLOCK('绩优股')),1,0);

条件1:=XXP AND XXP2 AND XXP5 AND XXP6 AND XXP7 AND XXP8 AND XXP9;

XXP10:=(H+L+O+2*C)/5;

XXP11:=EMA(XXP10,39);

XXP12:=EMA(XXP10,99);

XXP13:=XXP11>=XXP12;

XXP14:=REF(H,20);

XXP15:=REF((C-REF(C,20))/REF(C,20)*100,1);

XXP16:=REF(C,1)/REF(C,2)>1.098;

XXP17:=COUNT(XXP16,23)<3;

XXP18:=GSC8 AND 条件1 AND C>MA(C,XXP14) AND XXP15<15 AND XXP13 AND XXP17;

XXP19:=REF(V>REF(V,1)*2 AND C/REF(C,1)>=1.098,1);

XXP20:=COUNT(XXP19,4)>=1;

XXP21:=COUNT(EVERY(V>=MA(V,135),1),35)>=15;

XXP22:=(COUNT(EVERY(V>=MA(V,135),10),50)>=1 AND COUNT(EVERY(V>=MA(V,135),1),15)>=5) OR COUNT(EVERY(XXP21,1),15)>=1;

XXP23:=V>=REF(V,1)*1.45 AND XXP22;

DRAWTEXT_FIX(1,0,0.07,0,'微信公众号:股海操作手'),COLORMAGENTA,LINETHICK4;

量能:=COUNT(EVERY(XXP23,1),25)>=1;

XXP24:=GSC8 AND XXP9 AND XXP15<10 AND REF(C,2)/REF(C,1)<1.03 AND XXP20 AND 量能;

XXP25:=XXP18 OR XXP24;

XXP26:=FILTER(XXP25,10);

STICKLINE(XXP26,0,1,3,0),COLORBLUE;

DRAWTEXT(XXP26,0.8,' 黑'),COLORRED;

DRAWTEXT(XXP26,0.7,' 马'),COLORRED;

DRAWTEXT(XXP26,0.6,' 趋'),COLORRED;

DRAWTEXT(XXP26,0.5,' 势'),COLORRED;

第三部分 选股公式

{黑马趋势--选股}

微信:=MA(V,5);

公众号:=MA(V,20);

股海:=V>REF(HHV(V,2),1) AND RANGE(微信,公众号,V) AND UPNDAY(微信,2) AND UPNDAY(公众号,2);

操作手:=H>REF(HHV(H,2),1);

GSC1:=MAX(C,O);

GSC2:=GSC1>REF(HHV(GSC1,2),1);

GSC3:=股海 AND 操作手 AND GSC2;

GSC4:=BARSLAST(GSC3=1);

GSC5:=REF(REF(H,1),GSC4);

GSC6:=IF(GSC3,0,IF(C<GSC5,1,0));

GSC7:=REF(HHV(H,GSC4+1),BARSLAST(GSC6));

GSC8:=IF(C>GSC7,IF(REF(GSC1<GSC7,1),1,0),0);

XXP:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*'),0,1);

XXP2:=NOT(CODELIKE('688'));

XXP3:=NOT(CODELIKE('3'));

XXP5:=NOT(CODELIKE('4'));

XXP6:=NOT(CODELIKE('8'));

XXP7:=NOT(INBLOCK('近期解禁'));

XXP8:=NOT(INBLOCK('拟减持'));

XXP9:=IF((INBLOCK('近期强势') OR INBLOCK('最近闪拉') OR INBLOCK('最近异动') OR INBLOCK('绩优股')),1,0);

条件1:=XXP AND XXP2 AND XXP5 AND XXP6 AND XXP7 AND XXP8 AND XXP9;

XXP10:=(H+L+O+2*C)/5;

XXP11:=EMA(XXP10,39);

XXP12:=EMA(XXP10,99);

XXP13:=XXP11>=XXP12;

XXP14:=REF(H,20);

XXP15:=REF((C-REF(C,20))/REF(C,20)*100,1);

XXP16:=REF(C,1)/REF(C,2)>1.098;

XXP17:=COUNT(XXP16,23)<3;

XXP18:=GSC8 AND 条件1 AND C>MA(C,XXP14) AND XXP15<15 AND XXP13 AND XXP17;

XXP19:=REF(V>REF(V,1)*2 AND C/REF(C,1)>=1.098,1);

XXP20:=COUNT(XXP19,4)>=1;

XXP21:=COUNT(EVERY(V>=MA(V,135),1),35)>=15;

XXP22:=(COUNT(EVERY(V>=MA(V,135),10),50)>=1 AND COUNT(EVERY(V>=MA(V,135),1),15)>=5) OR COUNT(EVERY(XXP21,1),15)>=1;

XXP23:=V>=REF(V,1)*1.45 AND XXP22;

量能:=COUNT(EVERY(XXP23,1),25)>=1;

XXP24:=GSC8 AND XXP9 AND XXP15<10 AND REF(C,2)/REF(C,1)<1.03 AND XXP20 AND 量能;

XXP25:=XXP18 OR XXP24;

XXP26:=FILTER(XXP25,10);

黑马趋势:XXP26;

第四部分 指标图示

未标题-5.png

文章评论 回复

周下载排行榜

月下载排行榜

免费指标公众号

联系我们

  • 建站时间:2014-06-18
  • 网站名称股市长红
  • 免费指标微信公众号股海操作手
  • VIP指标微信公众号股市长红网
  • 官方客服微信号:mhcj668