x_1:=ma(close,5);
x_2:=ma(close,10);
x_3:=ref(high,5)=hhv(high,11);
x_4:=ref(low,5)=llv(low,11);
x_5:=backset(x_3,6)>backset(x_3,5);
x_6:=backset(x_4,6)>backset(x_4,5);
x_7:=if(barslast(x_5)=barslast(x_6) and x_1>x_2,x_5,if(barslast(x_6)>barslast(x_5),x_5,0));
x_8:=if(barslast(x_5)=barslast(x_6) and x_2>x_1,x_6,if(barslast(x_5)>barslast(x_6),x_6,0));
x_9:=x_7 and high=hhv(high,barslast(x_8));
x_10:=x_8 and low=llv(low,barslast(x_7));
gp:if(x_9,high,drawnull),circledot,colorcyan;
dp:if(x_10,low,drawnull),circledot,colorcyan;
x_11:=low>ref(high,1) and day!=ref(day,1);
x_12:=high<ref(low,1) and day!=ref(day,1);
x_13:=ref(low,barslast(x_11));
x_14:=ref(high,barslast(x_12));
x_15:=ref(high,barslast(x_9));
x_16:=ref(low,barslast(x_9));
x_17:=ref(high,barslast(x_9)+1);
x_18:=ref(low,barslast(x_9)+1);
x_19:=ref(high,barslast(x_9)+2);
x_20:=ref(low,barslast(x_9)+2);
x_21:=ref(high,barslast(x_10));
x_22:=ref(low,barslast(x_10));
x_23:=ref(high,barslast(x_10)+1);
x_24:=ref(low,barslast(x_10)+1);
x_25:=ref(high,barslast(x_10)+2);
x_26:=ref(low,barslast(x_10)+2);
x_27:=if(x_16<=x_18,x_19,x_17);
x_28:=if(x_17<x_16,x_16,if(x_16<=x_18,x_20,x_18));
x_29:=if(x_24>x_21,x_21,if(x_21>=x_23,x_25,x_23));
x_30:=if(x_21>=x_23,x_26,x_24);
x_31:=x_15>x_29 and x_9;
x_32:=x_22<x_28 and x_10;
x_33:=x_31 and x_15>x_21 and x_16>x_22 and x_18>x_22;
x_34:=x_32 and x_22<x_16 and x_21<x_15 and x_23<x_15;
x_35:=high<=ref(high,1) and low>=ref(low,1) or (high>=ref(high,1) and low<=ref(low,1));
x_36:=count(x_35,barslast(x_10));
x_37:=count(x_35,barslast(x_9));
x_38:=count(x_11,barslast(x_10));
x_39:=count(x_12,barslast(x_9));
x_40:=if(x_36>0,x_36+2+老笔,if(x_37,x_37+2+老笔,3));
x_41:=if(x_38,x_40-x_38,if(x_39,x_40-x_39,x_40));
x_42:=x_33 and barslast(x_34)>x_41;
x_43:=x_34 and barslast(x_33)>x_41;
x_44:=x_9 and ref(high,barslast(x_9))>=ref(high,barslast(x_42)) and barslast(x_43)>barslast(x_42) or (x_31 and count(x_11,barslast(x_32))>0 and ref(high,barslast(x_31))>ref(high,barslast(x_42)));
x_45:=x_10 and ref(low,barslast(x_10))<=ref(low,barslast(x_43)) and barslast(x_42)>barslast(x_43) or (x_32 and count(x_12,barslast(x_31))>0 and ref(low,barslast(x_32))<ref(high,barslast(x_43)));
x_46:=if(barslast(x_45)>barslast(x_44),ref(high,barslast(x_44)),ref(high,barslast(x_45)));
x_47:=if(barslast(x_44)>barslast(x_45),ref(low,barslast(x_45)),ref(low,barslast(x_44)));
x_48:=x_44 and high=hhv(x_46,barslast(x_45)+1) and high>ref(high,1) and barslast(x_45)>barslast(x_44);
x_49:=x_45 and low=llv(x_47,barslast(x_44)+1) and low<ref(low,1) and barslast(x_44)>barslast(x_45);
x_50:=x_48 or (x_9 and ref(high,barslast(x_9))>ref(high,barslast(x_48)) and barslast(x_49)>barslast(x_48));
x_51:=x_49 or (x_10 and ref(low,barslast(x_10))<ref(low,barslast(x_49)) and barslast(x_48)>barslast(x_49));
gpb:if(x_42,high,drawnull),circledot,coloryellow;
dpb:if(x_43,low,drawnull),circledot,coloryellow;
x_52:=x_50;
x_53:=x_51;
l1:drawline(x_53,low,x_52,high,0),coloryellow;
l2:drawline(x_52,high,x_53,low,0),colorwhite;
x_54:=close;
x_55:=filter(backset(filter(ref(x_54,10)=hhv(x_54,2*10+1),10),10+1),10);
x_56:=filter(backset(filter(ref(x_54,10)=llv(x_54,2*10+1),10),10+1),10);
x_57:=ref(close,barslast(x_55));
x_58:=ref(close,barslast(x_56));
x_59:=barslast(x_55)<barslast(x_56) and not(x_55);
x_60:=barslast(x_55)>barslast(x_56) and not(x_56);
波段顶:if(x_59,x_57,x_57),pointdot,colorligreen,linethick4;
波段底:if(x_60,x_58,x_58),pointdot,colormagenta,linethick4;
上一指标公式:警戒线 通达信警戒线
下一指标公式:自用cci指标详解 通达信源码cci
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文缠通套利 通达信套利仅供学习研究。