{公式名称: 红绿灯操盘
公式描述: 量学看盘系统主图一
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
var1:=hhv(vol,10);
var2:=barslast(var1=vol);
var3:=cross(ref(max(close,open),var2),close);
stickline(var3,max(close,open)*1.02,min(close,open)*0.98,0,1),colorred;
stickline(var3,(open+close)/2,(open+close)/2,10,0),colorred;
var4:=1.3;
var5:=1;
var6:=0;
var7:=ma(close,5);
var8:=ma(close,10);
var9:=ma(close,20);
var10:=var7>ref(var7,1) and var8<ref(var8,1) and var9<ref(var9,1);
var11:=ref(vol,1);
var12:=ref(vol,2);
var13:=ref(vol,3);
var14:=ref(close,1);
var15:=ref(close,2);
var16:=ref(close,3);
var17:=ref(close,4);
var18:=ref(open,1);
var19:=ref(open,2);
var20:=ref(open,3);
var21:=ref(open,4);
var22:=close>=var16 and var14>=var16 and var15>=var16;
var23:=low>var20 and ref(low,1)>var20 and ref(low,2)>var20;
var24:=amount/vol/100;
var25:=ref(var24,1);
var26:=ref(var24,2);
var27:=close>=open or (close<open and var24>var14);
var28:=count(var27,3)>=2;
var29:=var16>var20;
var30:=var24>=var25 or close>var14 and (var25>=var26 or var14>=var15);
var31:=(close+var14+var15)/3>var16;
var32:=vol>var11 and var11>var12;
var33:=vol<=var11 and var11<=var12;
var34:=(vol+var11+var12)/3<=var13 and not(var32);
var35:=close/vol;
var36:=var35>=ref(var35,1) and ref(var35,1)>=ref(var35,2);
var37:=(close+var14+var15)/3/var16;
var38:=(vol+var11+var12)/3/var13;
var39:=var4*var37/var38>1;
var40:=var20>var17 and var17>var21;
var41:=var29 and var30 and var33 and var22 and var23 and var40;
var42:=backset(var41,5);
var43:=filter(var42,4);
var44:=var29 and var30 and var33 and var22 and var23;
var45:=backset(var44,4);
var46:=filter(var45,3);
var47:=var44 and ref(var44,1);
var48:=backset(var47,4);
var49:=filter(var48,3);
var50:=var44 and ref(var44,2);
var51:=backset(var50,4);
var52:=filter(var51,3);
var53:=var44 and ref(var44,3);
var54:=backset(var53,4);
var55:=filter(var54,3);
var56:=var29 and var30 and var34 and not(var32) and var22 and var23 and var40 and not(var44) and not(var41);
var57:=backset(var56,5);
var58:=filter(var57,4);
var59:=var29 and var30 and var34 and not(var32) and var22 and var23 and not(var44) and not(var41);
var60:=backset(var59,4);
var61:=filter(var60,3);
var62:=var59 and ref(var59,1);
var63:=backset(var62,4);
var64:=filter(var63,3);
var65:=var59 and ref(var59,2);
var66:=backset(var65,4);
var67:=filter(var66,3);
var68:=var59 and ref(var59,3);
var69:=backset(var68,4);
var70:=filter(var69,3);
var71:=var29 and var31 and var33 and var22 and var23 and var40 and not(var44) and not(var59) and not(var41) and not(var56);
var72:=backset(var71,5);
var73:=filter(var72,4);
var74:=var29 and var31 and var33 and var22 and var23 and not(var44) and not(var59) and not(var41) and not(var56);
var75:=backset(var74,4);
var76:=filter(var75,3);
var77:=var74 and ref(var74,1);
var78:=backset(var77,4);
var79:=filter(var78,3);
var80:=var74 and ref(var74,2);
var81:=backset(var80,4);
var82:=filter(var81,3);
var83:=var74 and ref(var74,3);
var84:=backset(var83,4);
var85:=filter(var84,3);
var86:=var29 and var31 and var34 and var22 and var23 and var40 and not(var44) and not(var41) and not(var59) and not(var56) and not(var74) and not(var71);
var87:=backset(var86,5);
var88:=filter(var87,4);
var89:=var29 and var31 and var34 and var22 and var23 and not(var44) and not(var59) and not(var74) and not(var41) and not(var56) and not(var71);
var90:=backset(var89,4);
var91:=filter(var90,3);
var92:=var89 and ref(var89,1);
var93:=backset(var92,4);
var94:=filter(var93,3);
var95:=var89 and ref(var89,2);
var96:=backset(var95,4);
var97:=filter(var96,3);
var98:=var89 and ref(var89,3);
var99:=backset(var98,4);
var100:=filter(var99,3);
var101:=var29 and var31 and var39 and var22 and var23 and var40 and not(var44) and not(var59) and not(var74) and not(var89) and not(var41) and not(var56) and not(var71) and not(var86);
var102:=backset(var101,5);
var103:=filter(var102,4);
var104:=var29 and var31 and var39 and var22 and var23 and not(var44) and not(var59) and not(var74) and not(var89) and not(var41) and not(var56) and not(var71) and not(var86);
var105:=backset(var104,4);
var106:=filter(var105,3);
var107:=var104 and ref(var104,1);
var108:=backset(var107,4);
var109:=filter(var108,3);
var110:=var104 and ref(var104,2);
var111:=backset(var110,4);
var112:=filter(var111,3);
var113:=var104 and ref(var104,3);
var114:=backset(var113,4);
var115:=filter(var114,3);
var116:=var29 and var31 and var36 and var22 and var23 and var40 and not(var44) and not(var59) and not(var74) and not(var89) and not(var104) and not(var41) and not(var56) and not(var71) and not(var86) and not(var101);
var117:=backset(var116,5);
var118:=filter(var117,4);
var119:=var29 and var31 and var36 and var22 and var23 and not(var44) and not(var59) and not(var74) and not(var89) and not(var104) and not(var41) and not(var56) and not(var71) and not(var86) and not(var101);
var120:=backset(var119,4);
var121:=filter(var120,3);
var122:=var119 and ref(var119,1);
var123:=backset(var122,4);
var124:=filter(var123,3);
var125:=var119 and ref(var119,2);
var126:=backset(var125,4);
var127:=filter(var126,3);
var128:=var119 and ref(var119,3);
var129:=backset(var128,4);
var130:=filter(var129,3);
var131:=var46 and not(ref(var46,4)) or (var49 and not(ref(var49,4))) or (var52 and not(ref(var52,4))) or (var55 and not(ref(var55,4)));
var132:=var61 and not(ref(var61,4)) or (var64 and not(ref(var64,4))) or (var67 and not(ref(var67,4))) or (var70 and not(ref(var70,4)));
var133:=var76 and not(ref(var76,4)) or (var79 and not(ref(var79,4))) or (var82 and not(ref(var82,4))) or (var85 and not(ref(var85,4)));
var134:=var91 and not(ref(var91,4)) or (var94 and not(ref(var94,4))) or (var97 and not(ref(var97,4))) or (var100 and not(ref(var100,4)));
var135:=var106 and not(ref(var106,4)) or (var109 and not(ref(var109,4))) or (var112 and not(ref(var112,4))) or (var115 and not(ref(var115,4)));
var136:=var121 and not(ref(var121,4)) or (var124 and not(ref(var124,4))) or (var127 and not(ref(var127,4))) or (var130 and not(ref(var130,4)));
var137:=var131 or var132 or var133 or var134 or var135 or var136;
stickline(var137 and not(ref(var137,4)),open,close,1,0),color0099ff;
var138:=sumbars(var137,1);
var139:=var43 and not(ref(var43,5));
var140:=var58 and not(ref(var58,5));
var141:=var73 and not(ref(var73,5));
var142:=var88 and not(ref(var88,5));
var143:=var103 and not(ref(var103,5));
var144:=var118 and not(ref(var118,5));
var145:=var139 or var140 or var141 or var142 or var143 or var144;
stickline(var145 and not(ref(var145,5)),open,close,1,0),colorred;
var146:=sumbars(var145,1);
var147:=var44 or var59 or var74 or var89 or var104 or var119 and var10 and var6;
var148:=backset(var147,4);
var149:=filter(var148,3);
stickline(var149 and not(ref(var149,4)),open,close,1,0),color0099ff;
var150:=var41 or var56 or var71 or var86 or var101 or var116 and var10 and var6;
var151:=backset(var150,5);
var152:=filter(var151,5);
stickline(var152 and not(ref(var152,4)),open,close,1,0),color0099ff;
var153:=var44 or var59 or var74 or var89 or var104 or var119 and not(dynainfo(4)=0) and close=hhv(close,3);
var154:=var153 and ref(close,4)<ref(close,5) and ref(close,4)<ref(open,4) and ref(open,3)>=ref(open,4);
var155:=filter(backset(var154,5),5);
stickline(var155,low,high,0.5,0),colormagenta;
var156:=amount/vol/100;
var157:=close>open and ref(close,1)>var156 and close>var156 and close<300;
stickline(var157,open,close,1,0),colorlicyan;
var158:=open>close and close<var156 and var156>ref(close,1);
stickline(var158,open,close,1,0),colorred;
var159:=vol>ref(vol,1)*0.95 and vol<ref(vol,1)*1.05;
var160:=winner(close)-winner(open)>=0.2 and var159;
stickline(var160,open,close,1,0),colorblue;
var161:=(close-ref(close,1))/ref(close,1)*100;
var162:=namelike(1) or namelike(2) or namelike(3) and var161>=4.945;
var163:=namelike(1) or namelike(2) or namelike(3) and var161<=(-4.945);
涨停价:if(var162,ref(close,1)*1.05,ref(close,1)*1.1),nodraw,colorred;
跌停价:if(var163,ref(close,1)*0.95,ref(close,1)*0.9),nodraw,colorgreen;
var164:=ref(close,1);
var165:=close=ztprice(ref(close,1),0.1);
stickline(var165,open,close,2,0),colormagenta;
stickline(var165,open,close,1,0),colormagenta;
var166:=close=dtprice(ref(close,1),0.1);
stickline(var166,open,close,2,0),colorgreen;
stickline(var166,high,low,0,1),colorgreen;
var167:=const(hhv(ref(high,1),240));
var168:=const(llv(ref(low,1),240));
var169:=var167-var168;
var170:=low-var169*0.03;
var171:=high+var169*0.03;
var172:=close>500;
var173:=max(close,open);
var174:=min(close,open);
var175:=0;
var176:=1;
var177:=if(var172,high,var173);
var178:=if(var172,low,var174);
var179:=if(close>open,if(var176=0,low,var178),if(var176=0,high,var177));
var180:=2/1000;
var181:=currbarscount;
var182:=120;
var183:=var181<=var182;
var184:=low;
var185:=if(var175=0,var184,ref(var175,var175));
基准价:if(var183,const(var185),drawnull),dotline,colorred;
var186:=基准价;
var187:=var186*var180;
var188:=abs(low-var186)<=var187;
var189:=abs(open-var186)<=var187;
var190:=abs(close-var186)<=var187;
var191:=abs(high-var186)<=var187;
var192:=var188 or var189 or var190 or var191 and var183 and var181!=1;
var193:=count(var192,var182);
精准点个数:if(var193>0,var193+1,0),nodraw,colorred;
var194:=if(dynainfo(8)>0.01,0.01*dynainfo(10)/dynainfo(8),dynainfo(3));
var195:=dynainfo(5)<0.01 or dynainfo(6)<0.01;
var196:=if(var195,1,var194<dynainfo(5)+0.01 and var194>dynainfo(6)-0.01);
var197:=if(var196,0.01*ema(amount,35)/ema(vol,35),ema((high+low+close)/3,35));
操盘线:ma(close,5),colormagenta,linethick2;
牛熊分界:var197,colorred,linethick2;
if(close<操盘线,操盘线,drawnull),colorlicyan,linethick2;
if(close<牛熊分界,牛熊分界,drawnull),colorgreen,linethick2;
流通市值: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;
var198:=close<ref(close,4) and ref(close,1)>ref(close,5);
var199:=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);
var200:=close<ref(close,4) and ref(close,1)<ref(close,5) and ref(close,2)>ref(close,6);
var201:=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);
var202:=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);
var203:=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);
var204:=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);
var205:=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);
var206:=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);
var207:=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;
var208:=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);
var209:=refx(close,1)<ref(close,3) and refx(close,2)<ref(close,2) and refx(close,3)<ref(close,1);
var210:=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);
var211:=refx(close,1)<ref(close,3) and refx(close,2)<ref(close,2);
var212:=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);
var213:=refx(close,1)<ref(close,3);
var214:=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);
var215:=if(period<4,low*(1-(period+1)/10*0.01),low*0.98);
var216:=if(period<4,high*(1+(period+1)/10*0.01),high*1.05);
var217:=currbarscount-1;
drawnumber(var198 and (var199 or var217=0 or (var217=1 and var213) or (var217=2 and var211) or (var217=3 and var209) or (var217=4 and var207) or (var217=5 and var205) or (var217=6 and var203) or (var217=7 and var201)),var215,1),colormagenta;
drawnumber(var200 and (var201 or var217=0 or (var217=1 and var213) or (var217=2 and var211) or (var217=3 and var209) or (var217=4 and var207) or (var217=5 and var205) or (var217=6 and var203)),var215,2),colormagenta;
drawnumber(var202 and (var203 or var217=0 or (var217=1 and var213) or (var217=2 and var211) or (var217=3 and var209) or (var217=4 and var207) or (var217=5 and var205)),var215,3),colormagenta;
drawnumber(var204 and (var205 or var217=0 or (var217=1 and var213) or (var217=2 and var211) or (var217=3 and var209) or (var217=4 and var207)),var215,4),colormagenta;
drawnumber(var206 and (var207 or var217=0 or (var217=1 and var213) or (var217=2 and var211) or (var217=3 and var209)),var215,5),colormagenta;
drawnumber(var208 and (var209 or var217=0 or (var217=1 and var213) or (var217=2 and var211)),var215,6),colormagenta;
drawnumber(var210 and (var211 or var217=0 or (var217=1 and var213)),var215,7),colormagenta;
drawnumber(var212 and (var213 or var217<1),var215,8),colormagenta;
drawnumber(var214,var215,9),colorgreen;
var218:=close>ref(close,4) and ref(close,1)<ref(close,5);
var219:=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);
var220:=close>ref(close,4) and ref(close,1)>ref(close,5) and ref(close,2)<ref(close,6);
var221:=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);
var222:=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);
var223:=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);
var224:=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);
var225:=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);
var226:=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);
var227:=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;
var228:=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);
var229:=refx(close,1)>ref(close,3) and refx(close,2)>ref(close,2) and refx(close,3)>ref(close,1);
var230:=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);
var231:=refx(close,1)>ref(close,3) and refx(close,2)>ref(close,2);
var232:=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);
var233:=refx(close,1)>ref(close,3);
var234:=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(var218 and (var219 or var217=0 or (var217=1 and var233) or (var217=2 and var231) or (var217=3 and var229) or (var217=4 and var227) or (var217=5 and var225) or (var217=6 and var223) or (var217=7 and var221)),var216,1),colormagenta;
drawnumber(var220 and (var221 or var217=0 or (var217=1 and var233) or (var217=2 and var231) or (var217=3 and var229) or (var217=4 and var227) or (var217=5 and var225) or (var217=6 and var223)),var216,2),colormagenta;
drawnumber(var222 and (var223 or var217=0 or (var217=1 and var233) or (var217=2 and var231) or (var217=3 and var229) or (var217=4 and var227) or (var217=5 and var225)),var216,3),colormagenta;
drawnumber(var224 and (var225 or var217=0 or (var217=1 and var233) or (var217=2 and var231) or (var217=3 and var229) or (var217=4 and var227)),var216,4),colormagenta;
drawnumber(var226 and (var227 or var217=0 or (var217=1 and var233) or (var217=2 and var231) or (var217=3 and var229)),var216,5),colormagenta;
drawnumber(var228 and (var229 or var217=0 or (var217=1 and var233) or (var217=2 and var231)),var216,6),colormagenta;
drawnumber(var230 and (var231 or var217=0 or (var217=1 and var233)),var216,7),colormagenta;
drawnumber(var232 and (var233 or var217<1),var216,8),colormagenta;
drawnumber(var234,var216,9),colorgreen;
var235:=ref(close,1);
var236:=sma(max(close-var235,0),3,1)/sma(abs(close-var235),3,1)*100;
var237:=ema(close,3);
var238:=ema(close,21);
var239:=150;
var240:=3;
var241:=ref(hhv(high,var239),var240);
var242:=ref(llv(low,var239),var240);
var243:=var241-(var241-var242)*0.191;
var244:=var241-(var241-var242)*0.382;
var245:=var241-(var241-var242)*0.5;
var246:=var241-(var241-var242)*0.618;
var247:=var241-(var241-var242)*0.809;
顶:refdate(var241,date),colorred;
一0.809:refdate(var243,date),coloryellow;
二0.618:refdate(var244,date),colormagenta;
三0.500:refdate(var245,date),colorwhite;
四0.382:refdate(var246,date),colorgreen;
五0.191:refdate(var247,date),coloryellow;
低:refdate(var242,date),colorred;
上一指标公式:高量梯量学看盘系统主图二公式下载 通达信图二系统
下一指标公式:顶底线CYS∞公式下载 通达信底线
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文红绿灯操盘公式下载 通达信红绿灯仅供学习研究。