{公式名称: 归零启航
公式描述: 主图
参数数量: 2
参数1: m, 最小: 10, 最大: 100, 缺省: 60
参数2: n, 最小: 10, 最大: 100, 缺省: 60}
var1:=strcat(dyblock,21);
var2:=strcat(var1,hyblock);
var3:=strcat(var2,21);
var4:=strcat(var3,gnblock);
var5:=strcat(var4,21);
var6:=strcat(var5,fgblock);
drawtext_fix(islastbar,0.01,0.012,0,strcat(var6,zhblock)),colorcyan;
drawtext_fix(1,0,0.075,0,strcat(93,zdblock)),coloryellow;
drawtext_fix(islastbar,0,0.95,0,101),coloryellow;
筹码95:cost(95);
筹码85:cost(85);
drawband(筹码95,rgb(110,139,61),筹码85,rgb(110,139,61));
drawkline(high,open,low,close);
var7:=vol>=ref(vol,1)*1.9 and close>ref(close,1) and close>open and ma(close,10)>ref(ma(close,10),1);
drawtext(var7,high*1.01,26),coloryellow;
var8:=const(hhvbars(vol,30));
var9:=if(currbarscount<=30+7,const(if(var8=0,close,ref(close,var8))),drawnull);
遇阻:if(currbarscount=var8+1,var9,drawnull),crossdot;
ab:drawline(high>=hhv(high,20),high,low<=llv(low,5),hhv(high,5),1),dotline,colorwhite;
var10:=if(ref(high,1)=ref(hhv(high,2),1),1,0);
var11:=if(var10=1,ref(high,1),ref(high,2));
var12:=if(ref(low,1)=ref(llv(low,2),1),1,0);
var13:=if(var12=1,ref(low,1),ref(low,2));
var14:=(var11+var13)/2;{}
var15:=if(close<var14,var14,drawnull);
var16:=currbarscount<=1;
var17:=currbarscount<=1;
var18:=if(var16,var11,drawnull);
var19:=if(var16,var14,drawnull);
var20:=if(var16,var13,drawnull);
上线2:if(var17,var11,drawnull);
中线2:if(var17,var19,drawnull);
下线2:if(var17,var13,drawnull);
stickline(var17,上线2,上线2,20,(-1)),colorliblue;
stickline(var17,中线2,中线2,20,(-1)),coloryellow;
stickline(var17,下线2,下线2,20,(-1)),colorwhite;
drawtext(var16,上线2,28),colorliblue;
drawtext(var16,中线2,29),colormagenta;
drawtext(var16,下线2,30),colorwhite;
var21:=amount/vol/100;{}
var22:=open>close and var21>ref(close,1);
stickline(var22,open,close,1,0),colorred;
var23:=ref(close,1)/close>1.04;
stickline(var23,open,close,1,0),colorwhite;
var24:=(close-ref(close,1))/ref(close,1)*100;
var25:=namelike(2) or namelike(3) or namelike(4) and var24>=4.945;
var26:=namelike(2) or namelike(3) or namelike(4) and var24<=(-4.945);
涨停价:if(var25,ref(close,1)*1.05,ref(close,1)*1.1),nodraw,colorred;
跌停价:if(var26,ref(close,1)*0.95,ref(close,1)*0.9),nodraw,colorgreen;
var27:=namelike(2)=1 or namelike(3)=1 or namelike(5)=1 or namelike(6)=1 or namelike(7)=1;
var28:=close/ref(close,1)>1.097 or (close/ref(close,1)>1.0495 and var27) and dynainfo(59)=0;
var29:=(close-ref(close,1))/ref(close,1)*100;
stickline(var29<(-9.9),open,close,3,0),colorgreen;
stickline(var28,close,open,3,0),colormagenta;
drawicon(high=ztprice(ref(close,1),0.1) and close!=high,low*0.965,15);
var30:="999999$open";
var31:="999999$close";
var32:="999999$high";
var33:="999999$low";
var34:=(ref(var31,1)-var31)/ref(var31,1)>0.00001;
drawtext(var28 and var34 and not(high=low),high*1.025,27),colorwhite;
var35:=hhv(vol,21);
var36:=barslast(var35=vol);
高量:drawline(var36=0,max(close,open),var36=1,max(ref(close,1),ref(open,1)),1),colorwhite,linethick2;
var37:=const(hhv(ref(high,1),240));
var38:=const(llv(ref(low,1),240));
var39:=var37-var38;
var40:=low-var39*0.03;
var41:=high+var39*0.03;
var42:=close>500;
var43:=max(close,open);
var44:=min(close,open);
var45:=0;
var46:=1;
var47:=if(var42,high,var43);
var48:=if(var42,low,var44);
var49:=if(close>open,if(var46=0,low,var48),if(var46=0,high,var47));
var50:=2/1000;
var51:=currbarscount;
var52:=400;
var53:=var51<=var52;
var54:=low;
var55:=if(var45=0,var54,ref(var45,var45));
基准价:if(var53,const(var55),drawnull),dotline,colorwhite;
var56:=between(close-amount/vol/100,0.01,(-0.01)) and not(high=low) and totalbarscount>10 and vol<ref(vol,1)*0.7;
stickline(var56,open,close,1,0),colorblue;
drawtext(var56,low*0.99,94),colorblue;
var57:=open>ref(close,1) and vol<ref(vol,1) and close<ref(close,1);
stickline(var57,open,close,1,0),colorbrown;
drawtext(var57,high*1.01,95),colorbrown;
var58:=open<ref(close,1) and vol<ref(vol,1)*0.7 and close>open and close<ref(close,1) and ref(close,1)<ref(close,2) and ref(open,1)>ref(close,1);
stickline(var58,open,close,1,0),colorcyan;
drawtext(var58,low*0.99,96),colorcyan;
var59:=open>ref(close,1) and close>open and ref(close,1)>ref(close,2) and vol<ref(vol,1);
stickline(var59,open,close,1,0),colorred;
drawtext(var59,high*1.01,23),colorred;
var60:=ref(close,2)>ref(close,1) and ref(open,1)>ref(close,1) and ref(close,3)>ref(close,2) and ref(open,2)>ref(close,2) and close>open and close>ref(close,2) and close>ref(close,1) and close>ref(open,1) and (vol<ref(vol,1) or vol<ref(vol,2));
stickline(var60,open,close,1,0),colorgreen;
drawtext(var60,high*1.01,97),colorgreen;
var61:=ref(var28,1) and vol=hhv(vol,80) and low>ref(high,1) and close>open and close/ref(close,1)>1.03 and not(var28) and close>amount/vol/100;
stickline(var61,open,close,1,0),colorwhite;
drawtext(var61,high*1.01,98),colorwhite;
var62:=downnday(close,2) and count(open>close,2)=2 and ref(close,1)>=open;
var63:=ref(var62,1) and open>ref(close,1) and close>ref(close,1) and vol>ref(vol,1)*1.9 and close>ref(open,2) and dynainfo(4)>0;
var64:=downnday(close,3) and count(open>close,3)>=2;
var65:=ref(var64,1) and open>ref(close,1) and close>ref(close,2) and vol>ref(vol,1)*1.9 and close>ref(open,3) and dynainfo(4)>0;
stickline(var63 or var65,open,close,3,0),colorred;
drawtext(var63 or var65,high*1.02,99),colorred;
var66:=if(weekday=1 and open>ref(close,1) and close>open and close/ref(close,1)>1.03 and totalbarscount>20,1,0);
stickline(var66,open,close,3,0),colorlired;
stickline(var66,high,low,0,0),colorlired;
drawtext(var66,low*0.98,100),colorlired;
周五跳空眼:if(weekday=5 and not(high=low) and var28,1,0);
drawicon(周五跳空眼,low,38);
drawtext_fix(islastbar,0.2,0.95,0,48),colorred;
{drawtext_fix(islastbar,0.35,0.95,0,con2str(买点测量.bias3#day,1)),colorwhite;}
stickline(close/ref(close,1)>=1.04 or close/ref(close,1)<=0.96 and close<=1000,(close+open)/2,(close+open)/2,2,1),colorliblue;
stickline(close/ref(close,1)>=1.04 or close/ref(close,1)<=0.96 and close<=1000,(max(open,close)-min(open,close))*2/3+min(open,close),(max(open,close)-min(open,close))*2/3+min(open,close),2,1),colorliblue;
stickline(close/ref(close,1)>=1.04 or close/ref(close,1)<=0.96 and close<=1000,(max(open,close)-min(open,close))/3+min(open,close),(max(open,close)-min(open,close))/3+min(open,close),2,1),colorliblue;
stickline(close/ref(close,1)>=1.005 or close/ref(close,1)<=0.995 and close>1000,(close+open)/2,(close+open)/2,2,1),colorliblue;
stickline(close/ref(close,1)>=1.005 or close/ref(close,1)<=0.995 and close>1000,(max(open,close)-min(open,close))*2/3+min(open,close),(max(open,close)-min(open,close))*2/3+min(open,close),2,1),colorliblue;
stickline(close/ref(close,1)>=1.005 or close/ref(close,1)<=0.995 and close>1000,(max(open,close)-min(open,close))/3+min(open,close),(max(open,close)-min(open,close))/3+min(open,close),2,1),colorliblue;
上一指标公式:次新掘金 副图 版 通达信贴图指标
下一指标公式:显示沪深总涨跌家数的 副图 通达信公式沪深
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文归零启航 转载和谐完全加密 通达信指标加密仅供学习研究。