{公式名称: 多空通道
公式描述: 量学看盘系统主图十二
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
短上轨:ema(high,24),colorred;
短下轨:ema(low,24),colorgreen;
notext短下轨0:if(close>短下轨,短下轨,drawnull),colorred;
notext短下轨1:if(close<短下轨,短下轨,drawnull),colorgreen;
notext短上轨0:if(close>短上轨,短上轨,drawnull),colorred;
notext短上轨1:if(close<短上轨,短上轨,drawnull),colorgreen;
stickline(close>短上轨,短上轨,短下轨,0,0),colorred;
stickline(close<短下轨,短上轨,短下轨,0,0),colorgreen;
短轨差:短上轨-短下轨,nodraw,coloryellow;
长上轨:ema(high,90),colormagenta;
长下轨:ema(low,90),colorblue;
x_1:=testskip(date>116113088);
notext长下轨0:if(close>长下轨,长下轨,drawnull),colormagenta;
notext长下轨1:if(close<长下轨,长下轨,drawnull),colorblue;
notext长上轨0:if(close>长上轨,长上轨,drawnull),colormagenta;
notext长上轨1:if(close<长上轨,长上轨,drawnull),colorblue;
stickline(close>长上轨,长上轨,长下轨,0,0),colormagenta;
stickline(close<长下轨,长上轨,长下轨,0,0),colorblue;
长轨差:长上轨-长下轨,nodraw,coloryellow;{}
drawnumber(ref(close,3)<ref(短下轨,3) or ref(close,3)<ref(短上轨,3) and (ref(close,2)<ref(短下轨,2) or ref(close,2)<ref(短上轨,2)) and (ref(close,1)<ref(短下轨,1) or ref(close,1)<ref(短上轨,1)) and close>短上轨 and 短上轨<长下轨 and count(close<短下轨,6)>0,low*0.96,4),colorbrown;
drawnumber(ref(close,3)<ref(短下轨,3) or ref(close,3)<ref(短上轨,3) and (ref(close,2)<ref(短下轨,2) or ref(close,2)<ref(短上轨,2)) and (ref(close,1)<ref(短下轨,1) or ref(close,1)<ref(短上轨,1)) and close>短上轨 and close>长上轨 and count(close<短下轨,6)>0,low*0.96,10),colorbrown;
drawnumber(ref(close,3)<ref(长下轨,3) or ref(close,3)<ref(长上轨,3) and (ref(close,2)<ref(长下轨,2) or ref(close,2)<ref(长上轨,2)) and (ref(close,1)<ref(长下轨,1) or ref(close,1)<ref(长上轨,1)) and close>长上轨 and close>短上轨 and count(close<长下轨,6)>0,low*0.96,10),colorbrown;
drawnumber(ref(close,3)>ref(短上轨,3) or ref(close,3)>ref(短下轨,3) and (ref(close,2)>ref(短上轨,2) or ref(close,2)>ref(短下轨,2)) and (ref(close,1)>ref(短上轨,1) or ref(close,1)>ref(短下轨,1)) and close<短下轨 and 短上轨>长上轨 and close>长下轨 and count(close>短上轨,6)>0,high*1.04,6),colorbrown;
drawnumber(ref(close,3)>ref(短上轨,3) or ref(close,3)>ref(短下轨,3) and (ref(close,2)>ref(短上轨,2) or ref(close,2)>ref(短下轨,2)) and (ref(close,1)>ref(短上轨,1) or ref(close,1)>ref(短下轨,1)) and close<短下轨 and 短下轨<长下轨 and count(close>短上轨,6)>0,high*1.04,0),colorbrown;
drawnumber(ref(close,3)>ref(长上轨,3) or ref(close,3)>ref(长下轨,3) and (ref(close,2)>ref(长上轨,2) or ref(close,2)>ref(长下轨,2)) and (ref(close,1)>ref(长上轨,1) or ref(close,1)>ref(长下轨,1)) and close<长下轨 and close<短下轨 and count(close>长上轨,6)>0,high*1.04,0),colorbrown;
drawkline(high,open,low,close);
x_2:=const(hhv(ref(high,1),240));
x_3:=const(llv(ref(low,1),240));
x_4:=x_2-x_3;
x_5:=low-x_4*0.03;
x_6:=high+x_4*0.03;
x_7:=close>500;
x_8:=max(close,open);
x_9:=min(close,open);
x_10:=0;
x_11:=1;
x_12:=if(x_7,high,x_8);
x_13:=if(x_7,low,x_9);
x_14:=if(close>open,if(x_11=0,low,x_13),if(x_11=0,high,x_12));
x_15:=2/1000;
{}
x_16:=currbarscount;
x_17:=120;
x_18:=x_16<=x_17;
x_19:=low;
x_20:=if(x_10=0,x_19,ref(x_10,x_10));
基准价:if(x_18,const(x_20),drawnull),dotline,colorred;
x_21:=基准价;
x_22:=x_21*x_15;
x_23:=abs(low-x_21)<=x_22;
x_24:=abs(open-x_21)<=x_22;
x_25:=abs(close-x_21)<=x_22;
x_26:=abs(high-x_21)<=x_22;
x_27:=x_23 or x_24 or x_25 or x_26 and x_18 and x_16!=1;
x_28:=count(x_27,x_17);
精准点个数:if(x_28>0,x_28+1,0),nodraw,colorred;
x_29:=5;
x_30:=ref(high,x_29)=hhv(high,2*x_29+1);
x_31:=filter(x_30,x_29);
x_32:=backset(x_31,x_29+1);
x_33:=filter(x_32,x_29);
x_34:=ref(high,barslast(x_33));
x_35:=ref(max(close,open),x_29)=hhv(max(close,open),2*x_29+1);
x_36:=filter(x_35,x_29);
x_37:=backset(x_36,x_29+1);
x_38:=filter(x_37,x_29);
x_39:=ref(max(close,open),barslast(x_38));
x_40:=ref(low,x_29)=llv(low,2*x_29+1);
x_41:=filter(x_40,x_29);
x_42:=backset(x_41,x_29+1);
x_43:=filter(x_42,x_29);
x_44:=ref(low,barslast(x_43));
x_45:=ref(min(close,open),x_29)=llv(min(close,open),2*x_29+1);
x_46:=filter(x_45,x_29);
x_47:=backset(x_46,x_29+1);
x_48:=filter(x_47,x_29);
x_49:=ref(min(close,open),barslast(x_48));
x_50:=if(x_11=0,x_34,x_39);
x_51:=if(x_11=0,x_44,x_49);
stickline(x_50=ref(x_50,1),x_50,x_50,5,0),colormagenta;
stickline(x_51=ref(x_51,1),x_51,x_51,5,0),colorred;
x_52:=x_12-(x_12-x_13)/3;
x_53:=x_13+(x_12-x_13)/3;
x_54:=x_13+(x_12-x_13)/2;
x_55:=1+if(x_7,2,4.92)/100;
x_56:=x_12/x_13>=x_55 or close/ref(close,1)>=x_55;
stickline(x_56,x_52,x_52,1,0),colorblue;
stickline(x_56,x_54,x_54,1,0),colorblue;
stickline(x_56,x_53,x_53,1,0),colorblue;
stickline(x_27,x_21,x_21,3,1),colorblue;
stickline(x_16=1,x_21,x_21,3,1),colorblue;
x_57:=if(x_11=0,barslast(x_33)>0,barslast(x_38)>0) and (abs(low-x_50)<=x_50*x_15 or abs(x_9-x_50)<=x_50*x_15);
x_58:=if(x_11=0,barslast(x_43)>0,barslast(x_48)>0) and (abs(low-x_51)<=x_51*x_15 or abs(x_9-x_51)<=x_51*x_15);
stickline(x_57,x_50,x_50,1,1),colorblue;
stickline(x_58,x_51,x_51,1,1),colorblue;
drawkline(high,open,low,close);
x_59:=amount/vol/100;
x_60:=close>open and ref(close,1)>x_59 and close>x_59 and close<300;
stickline(x_60,open,close,1,0),colorlicyan;
x_61:=open>close and close<x_59 and x_59>ref(close,1);
stickline(x_61,open,close,1,0),colorred;
x_62:=vol>ref(vol,1)*0.95 and vol<ref(vol,1)*1.05;
x_63:=winner(close)-winner(open)>=0.2 and x_62;
stickline(x_63,open,close,1,0),colorblue;
x_64:=(close-ref(close,1))/ref(close,1)*100;
x_65:=namelike(1) or namelike(2) or namelike(3) and x_64>=4.945;
x_66:=namelike(1) or namelike(2) or namelike(3) and x_64<=(-4.945);
涨停价:if(x_65,ref(close,1)*1.05,ref(close,1)*1.1),nodraw,colorred;
跌停价:if(x_66,ref(close,1)*0.95,ref(close,1)*0.9),nodraw,colorgreen;
x_67:=ref(close,1);{}
x_68:=close=ztprice(ref(close,1),0.1);
stickline(x_68,open,close,2,0),colormagenta;
stickline(x_68,open,close,1,0),colormagenta;
x_69:=close=dtprice(ref(close,1),0.1);
stickline(x_69,open,close,2,0),colorgreen;
stickline(x_69,high,low,0,1),colorgreen;
流通市值:finance(40)/100000000,nodraw;
ma5角度:atan((ma(close,5)/ref(ma(close,5),1)-1)*100)*180/3.142,nodraw,colorred;
循环年位置:(close-llv(close,225))/(hhv(close,225)-llv(close,225))*100,nodraw,colorgreen;
x_70:=hhv(vol,10);
x_71:=barslast(x_70=vol);
x_72:=cross(ref(max(close,open),x_71),close);
stickline(x_72,max(close,open)*1.02,min(close,open)*0.98,0,1),colorred;
stickline(x_72,(open+close)/2,(open+close)/2,10,0),colorred;
drawicon(open>ref(max(close,open),1) and close>open and close>ref(close,1) and close>ma(close,5),low*0.97,11);
drawicon(open>ref(max(close,open),1) and close>open and close>ref(close,1) and close>ma(close,5),low*0.97,11);
x_73:=close<ref(close,4) and ref(close,1)>ref(close,5);
x_74:=refx(close,1)<ref(close,3) and refx(close,2)<ref(close,2) and refx(close,3)<ref(close,1) and refx(close,4)<close and refx(close,5)<refx(close,1) and refx(close,6)<refx(close,2) and refx(close,7)<refx(close,3) and refx(close,8)<refx(close,4);
x_75:=close<ref(close,4) and ref(close,1)<ref(close,5) and ref(close,2)>ref(close,6);
x_76:=refx(close,1)<ref(close,3) and refx(close,2)<ref(close,2) and refx(close,3)<ref(close,1) and refx(close,4)<close and refx(close,5)<refx(close,1) and refx(close,6)<refx(close,2) and refx(close,7)<refx(close,3);
x_77:=close<ref(close,4) and ref(close,1)<ref(close,5) and ref(close,2)<ref(close,6) and ref(close,3)>ref(close,7);
x_78:=refx(close,1)<ref(close,3) and refx(close,2)<ref(close,2) and refx(close,3)<ref(close,1) and refx(close,4)<close and refx(close,5)<refx(close,1) and refx(close,6)<refx(close,2);
x_79:=close<ref(close,4) and ref(close,1)<ref(close,5) and ref(close,2)<ref(close,6) and ref(close,3)<ref(close,7) and ref(close,4)>ref(close,8);
x_80:=refx(close,1)<ref(close,3) and refx(close,2)<ref(close,2) and refx(close,3)<ref(close,1) and refx(close,4)<close and refx(close,5)<refx(close,1);
x_81:=close<ref(close,4) and ref(close,1)<ref(close,5) and ref(close,2)<ref(close,6) and ref(close,3)<ref(close,7) and ref(close,4)<ref(close,8) and ref(close,5)>ref(close,9);
x_82:=refx(close,1)<ref(close,3) and refx(close,2)<ref(close,2) and refx(close,3)<ref(close,1) and refx(close,4)<close;
x_83:=close<ref(close,4) and ref(close,1)<ref(close,5) and ref(close,2)<ref(close,6) and ref(close,3)<ref(close,7) and ref(close,4)<ref(close,8) and ref(close,5)<ref(close,9) and ref(close,6)>ref(close,10);
x_84:=refx(close,1)<ref(close,3) and refx(close,2)<ref(close,2) and refx(close,3)<ref(close,1);
x_85:=close<ref(close,4) and ref(close,1)<ref(close,5) and ref(close,2)<ref(close,6) and ref(close,3)<ref(close,7) and ref(close,4)<ref(close,8) and ref(close,5)<ref(close,9) and ref(close,6)<ref(close,10) and ref(close,7)>ref(close,11);
x_86:=refx(close,1)<ref(close,3) and refx(close,2)<ref(close,2);
x_87:=close<ref(close,4) and ref(close,1)<ref(close,5) and ref(close,2)<ref(close,6) and ref(close,3)<ref(close,7) and ref(close,4)<ref(close,8) and ref(close,5)<ref(close,9) and ref(close,6)<ref(close,10) and ref(close,7)<ref(close,11) and ref(close,8)>ref(close,12);
x_88:=refx(close,1)<ref(close,3);
x_89:=close<ref(close,4) and ref(close,1)<ref(close,5) and ref(close,2)<ref(close,6) and ref(close,3)<ref(close,7) and ref(close,4)<ref(close,8) and ref(close,5)<ref(close,9) and ref(close,6)<ref(close,10) and ref(close,7)<ref(close,11) and ref(close,8)<ref(close,12) and ref(close,9)>ref(close,13);
x_90:=if(period<4,low*(1-(period+1)/10*0.01),low*0.98);
x_91:=if(period<4,high*(1+(period+1)/10*0.01),high*1.05);
x_92:=currbarscount-1;
drawnumber(x_73 and (x_74 or x_92=0 or (x_92=1 and x_88) or (x_92=2 and x_86) or (x_92=3 and x_84) or (x_92=4 and x_82) or (x_92=5 and x_80) or (x_92=6 and x_78) or (x_92=7 and x_76)),x_90,1),colormagenta;
drawnumber(x_75 and (x_76 or x_92=0 or (x_92=1 and x_88) or (x_92=2 and x_86) or (x_92=3 and x_84) or (x_92=4 and x_82) or (x_92=5 and x_80) or (x_92=6 and x_78)),x_90,2),colormagenta;
drawnumber(x_77 and (x_78 or x_92=0 or (x_92=1 and x_88) or (x_92=2 and x_86) or (x_92=3 and x_84) or (x_92=4 and x_82) or (x_92=5 and x_80)),x_90,3),colormagenta;
drawnumber(x_79 and (x_80 or x_92=0 or (x_92=1 and x_88) or (x_92=2 and x_86) or (x_92=3 and x_84) or (x_92=4 and x_82)),x_90,4),colormagenta;
drawnumber(x_81 and (x_82 or x_92=0 or (x_92=1 and x_88) or (x_92=2 and x_86) or (x_92=3 and x_84)),x_90,5),colormagenta;
drawnumber(x_83 and (x_84 or x_92=0 or (x_92=1 and x_88) or (x_92=2 and x_86)),x_90,6),colormagenta;
drawnumber(x_85 and (x_86 or x_92=0 or (x_92=1 and x_88)),x_90,7),colormagenta;
drawnumber(x_87 and (x_88 or x_92<1),x_90,8),colormagenta;
drawnumber(x_89,x_90,9),colorgreen;
x_93:=close>ref(close,4) and ref(close,1)<ref(close,5);
x_94:=refx(close,1)>ref(close,3) and refx(close,2)>ref(close,2) and refx(close,3)>ref(close,1) and refx(close,4)>close and refx(close,5)>refx(close,1) and refx(close,6)>refx(close,2) and refx(close,7)>refx(close,3) and refx(close,8)>refx(close,4);
x_95:=close>ref(close,4) and ref(close,1)>ref(close,5) and ref(close,2)<ref(close,6);
x_96:=refx(close,1)>ref(close,3) and refx(close,2)>ref(close,2) and refx(close,3)>ref(close,1) and refx(close,4)>close and refx(close,5)>refx(close,1) and refx(close,6)>refx(close,2) and refx(close,7)>refx(close,3);
x_97:=close>ref(close,4) and ref(close,1)>ref(close,5) and ref(close,2)>ref(close,6) and ref(close,3)<ref(close,7);
x_98:=refx(close,1)>ref(close,3) and refx(close,2)>ref(close,2) and refx(close,3)>ref(close,1) and refx(close,4)>close and refx(close,5)>refx(close,1) and refx(close,6)>refx(close,2);
x_99:=close>ref(close,4) and ref(close,1)>ref(close,5) and ref(close,2)>ref(close,6) and ref(close,3)>ref(close,7) and ref(close,4)<ref(close,8);
x_100:=refx(close,1)>ref(close,3) and refx(close,2)>ref(close,2) and refx(close,3)>ref(close,1) and refx(close,4)>close and refx(close,5)>refx(close,1);
x_101:=close>ref(close,4) and ref(close,1)>ref(close,5) and ref(close,2)>ref(close,6) and ref(close,3)>ref(close,7) and ref(close,4)>ref(close,8) and ref(close,5)<ref(close,9);
x_102:=refx(close,1)>ref(close,3) and refx(close,2)>ref(close,2) and refx(close,3)>ref(close,1) and refx(close,4)>close;
x_103:=close>ref(close,4) and ref(close,1)>ref(close,5) and ref(close,2)>ref(close,6) and ref(close,3)>ref(close,7) and ref(close,4)>ref(close,8) and ref(close,5)>ref(close,9) and ref(close,6)<ref(close,10);
x_104:=refx(close,1)>ref(close,3) and refx(close,2)>ref(close,2) and refx(close,3)>ref(close,1);
x_105:=close>ref(close,4) and ref(close,1)>ref(close,5) and ref(close,2)>ref(close,6) and ref(close,3)>ref(close,7) and ref(close,4)>ref(close,8) and ref(close,5)>ref(close,9) and ref(close,6)>ref(close,10) and ref(close,7)<ref(close,11);
x_106:=refx(close,1)>ref(close,3) and refx(close,2)>ref(close,2);
x_107:=close>ref(close,4) and ref(close,1)>ref(close,5) and ref(close,2)>ref(close,6) and ref(close,3)>ref(close,7) and ref(close,4)>ref(close,8) and ref(close,5)>ref(close,9) and ref(close,6)>ref(close,10) and ref(close,7)>ref(close,11) and ref(close,8)<ref(close,12);
x_108:=refx(close,1)>ref(close,3);
x_109:=close>ref(close,4) and ref(close,1)>ref(close,5) and ref(close,2)>ref(close,6) and ref(close,3)>ref(close,7) and ref(close,4)>ref(close,8) and ref(close,5)>ref(close,9) and ref(close,6)>ref(close,10) and ref(close,7)>ref(close,11) and ref(close,8)>ref(close,12) and ref(close,9)<ref(close,13);
drawnumber(x_93 and (x_94 or x_92=0 or (x_92=1 and x_108) or (x_92=2 and x_106) or (x_92=3 and x_104) or (x_92=4 and x_102) or (x_92=5 and x_100) or (x_92=6 and x_98) or (x_92=7 and x_96)),x_91,1),colormagenta;
drawnumber(x_95 and (x_96 or x_92=0 or (x_92=1 and x_108) or (x_92=2 and x_106) or (x_92=3 and x_104) or (x_92=4 and x_102) or (x_92=5 and x_100) or (x_92=6 and x_98)),x_91,2),colormagenta;
drawnumber(x_97 and (x_98 or x_92=0 or (x_92=1 and x_108) or (x_92=2 and x_106) or (x_92=3 and x_104) or (x_92=4 and x_102) or (x_92=5 and x_100)),x_91,3),colormagenta;
drawnumber(x_99 and (x_100 or x_92=0 or (x_92=1 and x_108) or (x_92=2 and x_106) or (x_92=3 and x_104) or (x_92=4 and x_102)),x_91,4),colormagenta;
drawnumber(x_101 and (x_102 or x_92=0 or (x_92=1 and x_108) or (x_92=2 and x_106) or (x_92=3 and x_104)),x_91,5),colormagenta;
drawnumber(x_103 and (x_104 or x_92=0 or (x_92=1 and x_108) or (x_92=2 and x_106)),x_91,6),colormagenta;
drawnumber(x_105 and (x_106 or x_92=0 or (x_92=1 and x_108)),x_91,7),colormagenta;
drawnumber(x_107 and (x_108 or x_92<1),x_91,8),colormagenta;
drawnumber(x_109,x_91,9),colorgreen;
上一指标公式:量比潮副图说明详解 通达信量比贴图
下一指标公式:刀口舔血指标成功率还需验证详解 通达信成功率还需
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文多空通道量学看盘系统主图十二详解 通达信看盘通道仅供学习研究。