drawgbk(close>0,rgb(0,0,0),rgb(0,50,50),0,4,0);
hj_1:=1170930;
hj_2:=1171008;
hj_3:=if(date>hj_1,if(close<80,1,0),0);
hj_4:=if(date>hj_2,1,hj_3);
hj_5:=if(hj_4=1,0,sma((close-ref(close,1))*vol,3,1)/10000);
hj_6:=ema(hj_5,12)-ema(hj_5,26);
hj_7:=ema(hj_6,9);
hj_8:=(hj_6-hj_7)*2;
w1:stickline(hj_8>0,hj_8,0,3,1),colorred;
w2:stickline(hj_8<0,hj_8,0,3,1),colorcyan;
hj_9:=hhvbars(hj_8,barslast(hj_8<0)+1);
hj_10:=cross(backset(cross(0,hj_8),ref(hj_9,1)+2),0.5);
hj_11:=cross(backset(cross(0,hj_8) or (islastbar and hj_8>0),ref(hj_9,1)+2),0.5);
前高:drawline(hj_10,hj_8,ref(hj_10,1),ref(hj_8,1),1),colorgray;
hj_12:=llvbars(hj_8,barslast(hj_8>0)+1);
hj_13:=cross(backset(cross(hj_8,0),ref(hj_12,1)+2),0.5);
hj_14:=barslast(filterx(cross(0,hj_8),barscount(close)));
前低:drawline(hj_13,hj_8,ref(hj_13,1),ref(hj_8,1),1),colorgray;
hj_15:=if(hj_8<0,filterx(hj_8=llv(hj_8,barslast(hj_8>0)),barscount(close)),drawnull);
hj_16:=barslast(hj_15);
hj_17:=filterx(hj_8<const(llv(hj_8,hj_14+1)),barscount(close));
hj_18:=barslast(hj_17);
本低:if(hj_14+1>=1,const(llv(hj_8,hj_14+1)),drawnull);
hj_19:=cross(count(cross(hj_8>本低/2 and hj_8<0,0.5),hj_16)=1,0.5) and hj_16>=0;
hj_20:=if(islastbar and hj_8>0 and hj_8=hhv(hj_8,barslast(hj_8<0)),1,if(filterx(hj_11,barscount(close)),2,drawnull));
hj_21:=hj_20=1 or hj_20=2 and hj_8>0;
hj_22:=filterx(hj_21,barscount(close));
本高:drawline(hj_22,hj_8,ref(hj_22,1),ref(hj_8,1),1),colorwhite;
hj_23:=const(ref(hj_8,barslast(hj_22)));
hj_24:=hj_8>hj_23;
hj_25:=filterx(refx(barslast(hj_24),1)=1,barscount(close));
天数:barslast(hj_25),nodraw,coloryellow;
上横线:drawline(hj_25,hj_23,hj_22,hj_23,0),dotline,colorgreen;
下横线:drawline(hj_17,const(llv(hj_8,hj_14+1)),hj_15=1,hj_8,0),dotline,coloryellow;
drawnumber(hj_15,const(llv(hj_8,hj_14+1))*0.9,hj_18);
drawnumber(hj_22,上横线*1.1,天数);
hj_26:=if(hj_25,barsnext(hj_22),drawnull);
hj_27:=if(天数>0 and 天数<=ref(hj_26,天数),sum(hj_8>0,天数),drawnull);
hj_28:=ref(close,天数);
hj_29:=(hj_28-close)/close*100;
hj_30:=barslast(hj_22);
hj_31:=cross(count(cross(hj_8<本高/2 and hj_8>0,0.5),hj_22)=1,0.5) and hj_22>=0;
stickline(hj_8>前高 and 本高>前高 and barslast(cross(hj_8<本高/2,0.5))>0 and hj_8>(前高+本高)/2,hj_8,前高,1,0),coloryellow;
hj_32:=if(hj_8>0 and 本高!=前高,drawline(hj_31,(前高+本高)/2,ref(hj_31,1),ref((前高+本高)/2,1),1),drawnull);
stickline(hj_8>前高,hj_8,前高,1,0),coloryellow;
stickline(hj_31,hj_8,0,1,0),colorgreen;
stickline(hj_8<0 and hj_8<前低 and 前低<0,hj_8,前低,1,0),colorblue;
hj_33:=if(cross(hj_8<0,0.5),barsnext(hj_15),drawnull);
hj_34:=barslast(hj_8>0)-1;
stickline(barslast(hj_19)>=0 and hj_8<前低 and hj_8<0,hj_8,前低,1,0),colorgreen;
stickline(hj_19,hj_8,0,1,0),colorwhite;
stickline(hj_8>前高 and 本高>前高 and barslast(hj_31)>0,hj_8,前高,1,0),colorred;
stickline(cross(前高,0.01) or cross(本高,0.01),hj_8,0,0,0),colorwhite;
stickline(cross(前低<0,0.01) or cross(本低<0,0.01),hj_8,0,0,0),colorwhite;
if(barslast(hj_19)>=0,本低/2,drawnull),dotline,colorred;
drawicon(cross(hj_8,0),ref(hj_8,1),38);
drawicon(cross(0,hj_8),ref(hj_8,1),39);
{-----------------------------------}
上一指标公式:背离王公式下载 通达信背离
下一指标公式:趋势阶梯公式下载 通达信阶梯
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文牛B主力资金A公式下载 通达信主力仅供学习研究。