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

【通达信指标】蝴蝶飞升(副图+选股)

编辑:股小红 2023-05-31 8853人已围观

收藏

简介 【通达信指标】蝴蝶飞升指标公式(副图+选股),1.红色凸起为大底信号;黄色凸起为小底信号;蝴蝶、红色向上箭头及红色小三角均为买入信号 2.指标含有特殊函数,无法使用在手机通达信APP上

会员权益:

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

提示信息:

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

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

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

【通达信指标】蝴蝶飞升(副图+选股)

第一部分 指标介绍

1.红色凸起为大底信号;黄色凸起为小底信号;蝴蝶、红色向上箭头及红色小三角均为买入信号

2.指标含有特殊函数,无法使用在手机通达信APP上

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

第二部分 公式源码

{蝴蝶飞升--副图}

STICKLINE(CROSS((CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,(-24)),88,0,1,0),COLORMAGENTA;

GH1:=REF(LOW,1);

GH2:=SMA(ABS(LOW-GH1),3,1)/SMA(MAX(LOW-GH1,0),3,1)*100;

GH3:=EMA(IF(CLOSE*1.3,GH2*10,GH2/10),3);

GH4:=LLV(LOW,30);

GH5:=HHV(GH3,30);

GH6:=IF(MA(CLOSE,58),1,0);

GH7:=EMA(IF(LOW<=GH4,(GH3+GH5*2)/2,0),3)/618*GH6;

GH8:=IF(GH7>100,100,GH7);

STICKLINE(GH8>(-150),0,GH8,3,1),COLORMAGENTA;

GH9:=MA(AMOUNT,5)/MA(VOL,5)/100;

GH10:=(GH9-MA(AMOUNT,125)/MA(VOL,125)/100)/GH9;

GH11:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,3);

GH12:=CLOSE/MA(CLOSE,60)-1;

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

NOTEXT小顶:IF(CROSS(GH11,(-95)) AND GH12<0.35 AND GH12>=0.2,50,100),COLORCYAN,LINETHICK2;

NOTEXT大顶:IF(CROSS(GH11,(-95)) AND GH12>=0.35,20,100),COLORGREEN,LINETHICK2;

NOTEXT小底:IF(CROSS((-5),GH11) AND GH10<(-0.25) AND GH10>(-0.4),50,0),COLORYELLOW,LINETHICK3;

NOTEXT大底:IF(CROSS((-5),GH11) AND GH10<(-0.4),98,0),COLORRED,LINETHICK3;

GH13:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;

GH14:=HHV(GH13>20,10);

NOTEXT顶:STICKLINE(GH14 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),GH13+20,98,2,3),COLORGREEN;

GH15:=MA(CLOSE,5);

GH16:=(CLOSE-GH15)/GH15*100;

GH17:=MA(CLOSE,30);

GH18:=(CLOSE-GH17)/GH17*100;

GH19:=COUNT(CROSS(GH16,0),3)>=1 AND GH18>REF(GH18,1) AND GH15>REF(GH15,1) AND (CLOSE/REF(CLOSE,1)-1)*100>5 AND REF(CLOSE,1)<GH17;

GH20:=IF(FILTER(GH19,10),10,0);

DRAWICON(GH20=10,30,28);

GH21:=KDJ.K#MONTH;

GH22:=KDJ.D#MONTH;

GH23:=KDJ.K#WEEK;

GH24:=KDJ.D#WEEK;

GH25:=KD.K;

GH26:=KD.D;

GH27:=IF(CROSS(GH25,GH26),20,0);

GH28:=IF(CROSS(GH23,GH24),30,0);

GH29:=IF(CROSS(GH21,GH22),40,0);

DRAWICON(GH28=30,40,29);

DRAWICON(GH29=40,50,30);

NOTEXT红箭头:(-10),COLORRED;

GH30:=HHV(HIGH,9);

GH31:=LLV(LOW,9);

GH32:=(GH30-GH31)/100;

GH33:=(CLOSE-GH31)/(GH30-GH31)*100;

GH34:=SMA(GH33,3,1);

GH35:=SMA(GH34,3,1);

GH36:=3*GH34-2*GH35;

GH37:=GH34*GH32+GH31;

GH38:=GH35*GH32+GH31;

GH39:=GH36*GH32+GH31;

GH40:=EMA(CLOSE,12)-EMA(CLOSE,26);

GH41:=EMA(GH40,9);

GH42:=2*(GH40-GH41);

GH43:=1.25*GH40-0.25*GH41;

GH44:=(GH43*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;

GH45:=(GH40*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;

GH46:=(GH41*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;

GH47:=(GH44+GH46)/2;

GH48:=ATAN((GH45-REF(GH45,1))/REF(GH45,1)*100)*180/3.14159;

GH49:=GH44;

GH50:=GH45;

GH51:=GH47;

GH52:=GH46;

GH53:=EMA(GH49,3);

GH54:=EMA(GH49,2);

GH55:=EMA(GH52,3);

GH56:=EMA(GH49,40);

GH57:=EMA(GH56,60);

DRAWICON(CROSS(GH55,GH52) AND GH49>GH51,10,38);

DRAWICON(CROSS(GH52,GH55),10,2);

DRAWICON(GH49>GH54 AND REF(GH49>GH54,1)=0 AND GH49>GH51,0,1);

IF(GH49>GH51,0,DRAWNULL),COLORRED,LINETHICK3;

NOTEXT买卖:IF(GH49<GH51,0,DRAWNULL),COLORGREEN,LINETHICK3;

第三部分 选股公式

{蝴蝶飞升--小底选股}

GH1:=REF(LOW,1);

GH2:=SMA(ABS(LOW-GH1),3,1)/SMA(MAX(LOW-GH1,0),3,1)*100;

GH3:=EMA(IF(CLOSE*1.3,GH2*10,GH2/10),3);

GH4:=LLV(LOW,30);

GH5:=HHV(GH3,30);

GH6:=IF(MA(CLOSE,58),1,0);

GH7:=EMA(IF(LOW<=GH4,(GH3+GH5*2)/2,0),3)/618*GH6;

GH8:=IF(GH7>100,100,GH7);

GH9:=MA(AMOUNT,5)/MA(VOL,5)/100;

GH10:=(GH9-MA(AMOUNT,125)/MA(VOL,125)/100)/GH9;

GH11:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,3);

GH12:=CLOSE/MA(CLOSE,60)-1;

小底选股:IF(CROSS((-5),GH11) AND GH10<(-0.25) AND GH10>(-0.4),50,0);

{蝴蝶飞升--大底选股}

XG_1:=REF(LOW,1);

XG_2:=SMA(ABS(LOW-XG_1),3,1)/SMA(MAX(LOW-XG_1,0),3,1)*100;

XG_3:=EMA(IF(CLOSE*1.3,XG_2*10,XG_2/10),3);

XG_4:=LLV(LOW,30);

XG_5:=HHV(XG_3,30);

XG_6:=IF(MA(CLOSE,58),1,0);

XG_7:=EMA(IF(LOW<=XG_4,(XG_3+XG_5*2)/2,0),3)/618*XG_6;

XG_8:=IF(XG_7>100,100,XG_7);

XG_9:=MA(AMOUNT,5)/MA(VOL,5)/100;

XG_10:=(XG_9-MA(AMOUNT,125)/MA(VOL,125)/100)/XG_9;

XG_11:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,3);

大底选股:IF(CROSS((-5),XG_11) AND XG_10<(-0.4),98,0);

第四部分 指标图示

未标题-3.png

文章评论 回复

月下载排行榜

免费指标公众号

联系我们

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