{
2;
30;}
xa_1:=5;
{2;
60;}
xa_2:=13;
{2;
120;}
xa_3:=34;
xa_4:=if(dynainfo(8)>0.01,0.01*dynainfo(10)/dynainfo(8),dynainfo(3));
xa_5:=dynainfo(5)<0.01 or dynainfo(6)<0.01;
xa_6:=if(xa_5,1,xa_4<dynainfo(5)+0.01 and xa_4>dynainfo(6)-0.01);
xa_7:=if(xa_6,dma(amount/(100*vol),100*vol/finance(7)),ema((high+low+close)/3,120));
xa_8:=every(xa_7>ref(xa_7,1),1);
xa_9:=if(xa_8,xa_7,drawnull);{}
区一:stickline(every(ema(slope(close,15)*20+close,30)>ref(ema(slope(close,15)*20+close,30),1),1) and every(ma(10000*close/indexc,10)>ref(ma(10000*close/indexc,10),1),1) and every(ema(sum(if(close=ref(close,1),0,if(close>ref(close,1),vol,-vol)/100),0),30)>ref(ema(sum(if(close=ref(close,1),0,if(close>ref(close,1),vol,-vol)/100),0),30),1),1),refdate(hhv(high,(-5)),date),refdate(llv(low,(-5)),date),6,0),color001030;
区二:stickline(every(xma(xma(low,25),25)-(xma(xma(high,25),25)-xma(xma(low,25),25))*1>ref(xma(xma(low,25),25)-(xma(xma(high,25),25)-xma(xma(low,25),25))*1,1),1) and cost(ema(slope(close,15)*20+close,30))>=ref(cost(ema(slope(close,15)*20+close,30)),1) and cost(20)>=ref(cost(20),1) and every(ema(sum(if(close=ref(close,1),0,if(close>ref(close,1),vol,-vol)/100),0),30)>ref(ema(sum(if(close=ref(close,1),0,if(close>ref(close,1),vol,-vol)/100),0),30),1),1) and vol/ma(vol,55)*100>50 and every(ema(ema(close,12)-ema(close,26),9)>ref(ema(ema(close,12)-ema(close,26),9),1),1),refdate(hhv(high,(-5)),date),refdate(llv(low,(-5)),date),4,0),color001040;
区三:stickline(every(ema(slope(close,15)*20+close,30)>ref(ema(slope(close,15)*20+close,30),1),1) and every(ma(10000*close/indexc,10)>ref(ma(10000*close/indexc,10),1),1) and every(ema(sum(if(close=ref(close,1),0,if(close>ref(close,1),vol,-vol)/100),0),30)>ref(ema(sum(if(close=ref(close,1),0,if(close>ref(close,1),vol,-vol)/100),0),30),1),1) and if(ma(winner(close*0.9)*100*close,3)>10,ma(winner(close*0.9)*100*close,3),0)/2/8>0,refdate(hhv(high,(-5)),date),refdate(llv(low,(-5)),date),4,0),color001050;
区四:stickline(xa_9 and every(ema(sum(if(close=ref(close,1),0,if(close>ref(close,1),vol,-vol)/100),0),30)>ref(ema(sum(if(close=ref(close,1),0,if(close>ref(close,1),vol,-vol)/100),0),30),1),1) and if(ma(winner(close*0.9)*100*close,3)>10,ma(winner(close*0.9)*100*close,3),0)/2/8>0,refdate(hhv(high,(-5)),date),refdate(llv(low,(-5)),date),4,0),color001075;
底仓5:cost(1),colorwhite,linethick2;
建仓10:cost(10),colorblue,linethick2;
平衡30:cost(30),nodraw,colormagenta,linethick2;
xa_10:=cost(40);
xa_11:=cost(50);
xa_12:=cost(60);
xa_13:=cost(70);
xa_14:=cost(80);
xa_15:=cost(90);
xa_16:=cost(99);
drawkline(high,open,low,close);
xa_17:=sumbars(vol,capital*1);
xa_18:=sum(cost(10),xa_17)/xa_17;
xa_19:=sum(cost(20),xa_17)/xa_17;
xa_20:=sum(cost(30),xa_17)/xa_17;
xa_21:=sum(cost(40),xa_17)/xa_17;
xa_22:=sum(cost(50),xa_17)/xa_17;
xa_23:=llv(low,250)=low;
xa_24:=barslast(xa_23);
庄家成本:(5*xa_18+4*xa_19+3*xa_20+2*xa_21+xa_22)/15,nodraw,colorred;
xa_25:=if(xa_6,0.01*ema(amount,xa_1)/ema(vol,xa_1),ema((high+low+close)/3,xa_1));
圴2:if(xa_6,0.01*ema(amount,xa_2)/ema(vol,xa_2),ema((high+low+close)/3,xa_2)),nodraw;
圴3:if(xa_6,0.01*ema(amount,xa_3)/ema(vol,xa_3),ema((high+low+close)/3,xa_3)),nodraw;
圴成本:if(xa_6,dma(amount/(100*vol),100*vol/finance(7)),ema((high+low+close)/3,120)),nodraw;
xa_26:=every(圴成本>ref(圴成本,1),1);{}
成本值:if(xa_26,圴成本,drawnull),coloryellow,linethick2;
成本金叉:drawtext(cross(xa_25,圴成本) and 成本值,圴成本-0.5,1),coloryellow;
上升均斜:ema(slope(close,20)*30+close,40),colorblue;
趋势:xma(xma(low,25),25)-(xma(xma(high,25),25)-xma(xma(low,25),25))*1,nodraw,colorred,linethick2;
提高~1:stickline(cross(close,庄家成本) and xa_24>=40 and every(上升均斜>ref(上升均斜,1),m),low,close,4,0),colorff0080;
xa_27:=every(庄家成本>=ref(庄家成本,1),m);
xa_28:=ref(llv(low,150),3);
xa_29:=refdate(xa_28,date)*0.9;
xa_30:=(-100)*(hhv(high,10)-close)/(hhv(high,10)-llv(low,10))+100;
xa_31:=(-100)*(hhv(high,6)-close)/(hhv(high,6)-llv(low,6))+100;
xa_32:=xa_30>=ref(xa_30,1);
xa_33:=xa_30<ref(xa_30,1);
xa_34:=xa_31>=ref(xa_31,1);
xa_35:=xa_31<ref(xa_31,1);
xa_36:=xa_31>=80 and xa_34;
xa_37:=vol/((high-low)*2-abs(close-open));
xa_38:=if(close>open,xa_37*(high-low),if(close<open,xa_37*(high-open+(close-low)),vol/2));
xa_39:=xa_38/vol*100;
xa_40:=xa_39>=ref(xa_39,1);
xa_41:=xa_39/50;
xa_42:=xa_39>=80 and xa_40 and xa_41>=1.5 and ref(xa_39,1)<=90;
xa_43:=ema(slope(close,22)*20+close,55);
xa_44:=xa_43-(ema(close,1)-xa_43);
xa_45:=xa_43-(ema(close,3)-xa_43);
xa_46:=ref(xa_44,1)/xa_44;
xa_47:=if(xa_46>1,xa_46,1);
xa_48:=xa_47/ref(xa_47,1);
xa_49:=xa_47>=ref(xa_47,1) and xa_47>=1.02 and xa_43>=xa_44;
xa_50:=winner(close*1.1)-winner(close*0.9);
xa_51:=winner(close);
xa_52:=xa_51/xa_50;
xa_53:=xa_50<=ref(xa_50,1);
xa_54:=ref(xa_50,1)/xa_50;
xa_55:=xa_52>=2 and xa_53 or xa_54>=1.3;
xa_56:=ref(close,1);
xa_57:=xa_56*1.1>=cost(90);
xa_58:=xa_36 and xa_42 and xa_49 and xa_55 and xa_57;
xa_59:=(open-ref(close,1))/ref(close,1)*100<=5;
xa_60:=(close-ref(close,1))/ref(close,1)*100;
xa_61:=ref(xa_60,1);{好公式网www.goodgongshi.com}
xa_62:=xa_59 and xa_60>=6.2 and xa_61<=6.5;
xa_63:=xa_36 and xa_42 and xa_49 and xa_55 and xa_62;
xa_64:=xa_36 and xa_42 and xa_49 and xa_55 and xa_59 and xa_61<=6.5;
xa_65:=xa_51>=xa_50;
xa_66:=if(xa_65,xa_43*0.96,xa_43);
界线:xa_43,colorgreen,linethick2;
界:if(xa_43>=ref(xa_43,1),xa_43,drawnull),colorred,linethick3;
drawtext(filter(界>1 and ema(界线,15)>ref(ema(界线,8),1),10),界,2),colorwhite;
drawtext(xa_58 and xa_64,low*0.946,3),colorwhite;
drawtext(xa_63,low*0.91,4),colorwhite;
xa_67:=close*vol;
xa_68:=ema((ema(xa_67,2)/ema(vol,2)+ema(xa_67,4)/ema(vol,4)+ema(xa_67,8)/ema(vol,8)+ema(xa_67,16)/ema(vol,16))/4,15);
xa_69:=1.05*xa_68;
xa_70:=ema(xa_69-(ema(close,3)-xa_69),5);
下开:if(xa_70<=xa_69,xa_70,xa_69),colormagenta,linethick2;
xa_71:=2*xa_69-下开;
上开:if(xa_71>=xa_69,xa_71,xa_69),coloryellow,linethick2;
观望:if(下开=上开,下开,drawnull),colorgreen,linethick2;
xa_72:=every(观望>ref(观望,1),m);
均值上:if(xa_72,观望,drawnull),colorred,linethick2;
xa_73:=ref(close,1)*1.1-close<0.01 and high=close;
xa_74:=xa_69>=ref(xa_69,1) and 下开<ref(下开,1) and close>xa_69 and open>xa_69;
xa_75:=cross(close,xa_69) and xa_73;
drawtext(xa_75,low,2),coloryellow;
xa_76:=cross(close,下开);
xa_77:=((close-ref(ma(close,18),1))/18+ma(close,18))*1.004;
xa_78:=cross(close,xa_77) and xa_77>ref(xa_77,1);
加码:stickline(xa_78 and every(上升均斜>ref(上升均斜,1),m),open,close,3.5,0),colorff8000,linethick2;
加码1:stickline(xa_78 and 加码 and every(上升均斜>ref(上升均斜,1),m),open,close,2.5,0),colorblue,linethick2;
xa_79:=finance(30)>=ref(finance(30),130);
xa_80:=xa_79;{好公式网www.goodgongshi.com}
xa_81:=if(namelike(5),0,1);
xa_82:=if(namelike(6),0,1);
xa_83:=dynainfo(17)>0;
{1;
10000;}
xa_84:=9500;
xa_85:=exist((close/ref(close,1)-1)*100>5.6,60);
xa_86:=dynainfo(4)>0;
xa_87:=dynainfo(7)<150;
xa_88:=capital/1500000<10;
xa_89:=xa_85 and xa_86 and xa_87 and xa_88 and close<150 and finance(42)<xa_84 and xa_80 and xa_81 and xa_82;
xa_90:=capital/1000000<=4.98;
xa_91:=if(codelike(7),0,1);
xa_92:=if(namelike(5),0,1);
xa_93:=if(namelike(6),0,1);
xa_94:=dynainfo(17)>0;
xa_95:=xa_91 and xa_92 and xa_93 and xa_94;
xa_96:=winner(close);
xa_97:=open/ref(close,1)<1.06;
xa_98:=dynainfo(17)>=1;
xa_99:=vol/capital*100;
xa_100:=ref(close,1)-ref(open,1);
xa_101:=ma(close,5)>ma(close,10) and ma(close,5)>ref(ma(close,5),1);
xa_102:=dynainfo(23)-dynainfo(22);
xa_103:=ref(vol,1)-ref(vol,2);
xa_104:=1;{好公式网www.goodgongshi.com}
xa_105:=ma(close,5);
xa_106:=ma(close,8);
xa_107:=ma(close,10);
xa_108:=ma(close,13);
xa_109:=ma(close,60);
xa_110:=xa_105>xa_106 and xa_106>xa_108 and xa_108>xa_109;
xa_111:=count(close>xa_108,3)=3;
xa_112:=atan(ma(close,13)/ref(ma(close,13),1)*100-100)/3.142*180;
xa_113:=(xa_105-ma(xa_105,xa_104))/ma(xa_105,xa_104)*100;
xa_114:=(xa_107-ma(xa_107,xa_104))/ma(xa_107,xa_104)*100;
drawtext(between(xa_113,(-5),5) and between(xa_114,(-5),5) and close>=6 and close<26 and xa_98 and xa_99>=1.1 and xa_99<=8 and close/ref(close,1)<=1.97 and close/ref(close,1)>=1.02 and xa_90 and xa_95 and close>open and cross(xa_112,45) and xa_97 and xa_100 and xa_101 and xa_102 and xa_103 and xa_110 and xa_89,low*0.958,8),coloryellow;
xa_115:=ema(close,13);
xa_116:=ema(close,30);
xa_117:=ema(close,60);
xa_118:=ema(close,90);
xa_119:=ema(close,120);
xa_120:=ema(close,250);
xa_121:=xa_116-xa_117<130/1000 and xa_116-xa_118<230/1000 and xa_116-xa_119<330/1000;
xa_122:=xa_117-xa_116<130/1000 and xa_117-xa_118<230/1000 and xa_117-xa_119<330/1000;
xa_123:=xa_118-xa_116<130/1000 and xa_118-xa_117<230/1000 and xa_118-xa_119<330/1000;
xa_124:=xa_119-xa_116<130/1000 and xa_119-xa_117<230/1000 and xa_119-xa_118<330/1000;
xa_125:=xa_116-xa_117<100/1000 and xa_116-xa_118<200/1000;
xa_126:=xa_121 and xa_122 and xa_123 and xa_124 and cross(xa_116,xa_117);
xa_127:=xa_121 and xa_122 and xa_123 and xa_124 and cross(ema(close,13),xa_116);
xa_128:=xa_125 and close>xa_120 and cross(xa_116,xa_117);
xa_129:=xa_117-xa_118<220/1000 and xa_117-xa_119<320/1000 and xa_117-xa_120<420/1000;
xa_130:=xa_118-xa_116<220/1000 and xa_118-xa_117<320/1000 and xa_118-xa_120<420/1000;
xa_131:=xa_119-xa_117<220/1000 and xa_119-xa_118<320/1000 and xa_119-xa_120<420/1000;
xa_132:=xa_120-xa_117<220/1000 and xa_120-xa_118<320/1000 and xa_120-xa_119<420/1000;
xa_133:=xa_129 and xa_130 and xa_131 and xa_132 and cross(xa_115,xa_116);
xa_134:=xa_129 and xa_130 and xa_131 and xa_132 and cross(xa_116,xa_117);
启动:drawtext(xa_126 or xa_127 or xa_128 or xa_133 or xa_134,low*0.958,9),colorred;
xa_135:=5;
xa_136:=10;
xa_137:=20;
xa_138:=30;
xa_139:=60;
xa_140:=120;
xa_141:=ma(close,xa_135);
xa_142:=ma(close,xa_136);
xa_143:=ma(close,xa_137);
xa_144:=ma(close,xa_138);
xa_145:=ma(close,xa_139);
drawtext(cross(xa_144,xa_145),xa_144,13),coloryellow;
xa_146:=close>=max(ma(close,5),max(ma(close,10),max(ma(close,20),max(ma(close,60),ma(close,120)))));
xa_147:=vol<=hhv(vol,10)*0.6;
xa_148:=abs(close-open)/close<=0.002 and close/ref(close,1)<1.02;
drawtext(xa_146 and xa_147 and xa_148 and xa_89 and 成本值,low*0.988,14),coloryellow;
drawicon(cross(zig(3,12),ref(zig(3,12),1)),low*1.08,7);
drawicon(cross(zig(3,5),ref(zig(3,5),1)),low*1.05,1);
drawicon(cross(zig(3,8),ref(zig(3,8),1)),low*0.99,3);
drawicon(cross(zig(3,10),ref(zig(3,10),1)),low*0.96,5);
xa_149:=(2*open+high+low+3*close)/7;
xa_150:=capital*xa_149;
xa_151:=sma(amount,10,1)/1000;
xa_152:=ma(close*3,5);
xa_153:=xa_151*close*3/xa_152*1/10;
xa_154:=xa_151*open*3/xa_152*1/10;
xa_155:=xa_151*high*3/xa_152*1/10;
xa_156:=xa_151*low*3/xa_152*1/10;
xa_157:=(2*xa_154+xa_155+xa_156+3*xa_153)/7;
xa_158:=dma(ema(xa_153,2),sum(vol,1)*xa_157);
xa_159:=ema(xa_158,2);
xa_160:=xa_158>xa_159;
xa_161:=ema(xa_150-xa_158,1);
xa_162:=ref(xa_161,1);
xa_163:=xa_161>xa_162;
xa_164:=xa_163 and close>open;
xa_165:=(xa_161-xa_162)*15;
xa_166:=(xa_158-xa_159)*15000;
xa_167:=(xa_162-xa_161)*(-1);
xa_168:=if(xa_161>xa_162,xa_165/1000,0);
xa_169:=if(xa_161<xa_162,xa_165/1000,0);
xa_170:=if(xa_160 and xa_164,xa_166/1000,0);
xa_171:=if(xa_160 and xa_161<xa_162,xa_165/1000,0);
xa_172:=xa_168;
xa_173:=xa_170;
xa_174:=drawicon(cross(zig(3,10),ref(zig(3,10),1)) and xa_172 and xa_173,low*0.959,6);
xa_175:=ref(close,1);
xa_176:=sma(max(close-xa_175,0),5,1)/sma(abs(close-xa_175),5,1)*100;
xa_177:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),10);
xa_178:=high-ref(high,1);
xa_179:=ref(low,1)-low;
xa_180:=sum(if(xa_178>0 and xa_178>xa_179,xa_178,0),10);
xa_181:=sum(if(xa_179>0 and xa_179>xa_178,xa_179,0),10);
xa_182:=xa_180*100/xa_177;
xa_183:=xa_181*100/xa_177;
xa_184:=ma(abs(xa_183-xa_182)/(xa_183+xa_182)*100,5);
xa_185:=xa_176+xa_184;{好公式网www.goodgongshi.com}
xa_186:=(xa_184+ref(xa_184,5))/2+xa_176;
xa_187:=100*(hhv(high,10)-close)/(hhv(high,10)-llv(low,10));
xa_188:=xa_176-xa_187;
xa_189:=xa_185+xa_188;
drawtext(xa_174 and xa_189,low*0.969,15),coloryellow;
xa_190:=8000;
xa_191:=7500;
xa_192:=exist((close/ref(close,1)-1)*100>5.6,60);
xa_193:=dynainfo(4)>0;
xa_194:=dynainfo(7)<150;
xa_195:=capital/1500000<10;
xa_196:=xa_192 and xa_193 and xa_194 and xa_195 and close<150 and finance(42)<xa_190;
xa_197:=if(ema((2*close+high+low)/4,5)>=ref(ema((2*close+high+low)/4,5),1),ema((2*close+high+low)/4,5),drawnull);
xa_198:=every(xa_197>=ref(xa_197,1),m);
xa_199:=20;{好公式网www.goodgongshi.com}
xa_200:=(high+low+close)/3;
xa_201:=vol/if(high=low,4,high-low);
xa_202:=if(capital=0,xa_201*(xa_200-min(close,open)),xa_201*if(high=low,1,min(open,close)-low));
xa_203:=if(capital=0,xa_201*(min(open,close)-low),xa_201*if(high=low,1,xa_200-min(close,open)));
xa_204:=if(capital=0,xa_201*(high-max(open,close)),xa_201*if(high=low,1,high-max(open,close)));
xa_205:=if(capital=0,xa_201*(max(close,open)-xa_200),xa_201*if(high=low,1,max(close,open)-xa_200));
xa_206:=(xa_202+xa_203-(xa_204+xa_205))/if(capital=0,1000000,10000);
xa_207:=ma(xa_206,10)*xa_199;
xa_208:=sma(xa_207,3,1);
xa_209:=every(xa_208>=ref(xa_208,1),m) and xa_198;
xa_210:=sma(xa_208,3,1);
xa_211:=every(xa_210>=ref(xa_210,1),m) and xa_209;
xa_212:=ema(xa_210,5);
xa_213:=every(xa_212>=ref(xa_212,1),m) and xa_211;
xa_214:=close>ref(close,1) and close>ref(close,2);
xa_215:=ref(xa_214,1) and close<=ref(close,1) and close>=ref(close,2);
xa_216:=ref(xa_215,1) and close>=ref(close,1) and close<=ref(close,2);
xa_217:=ref(xa_216,1) and close<=ref(close,1) and close>=ref(close,2);
xa_218:=ref(xa_217,1) and close>=ref(close,1) and close<=ref(close,2);
xa_219:=ref(xa_218,1) and close<=ref(close,1) and close>=ref(close,2);
xa_220:=ref(xa_219,1) and close>=ref(close,1) and close<=ref(close,2);
xa_221:=ref(xa_220,1) and close<=ref(close,1) and close>=ref(close,2);
xa_222:=ref(xa_221,1) and close>=ref(close,1) and close<=ref(close,2);
xa_223:=ref(xa_222,1) and close<=ref(close,1) and close>=ref(close,2);
xa_224:=ref(xa_223,1) and close>=ref(close,1) and close<=ref(close,2);
xa_225:=ref(xa_224,1) and close<=ref(close,1) and close>=ref(close,2);
xa_226:=stickline(xa_214 or xa_215 or xa_216 or xa_217 or xa_218 or xa_219 or xa_220 or xa_221 or xa_222 or xa_223 or xa_224 or xa_225,close,ref(close,1),3,1);
xa_227:=close<ref(close,1) and close<ref(close,2);
xa_228:=ref(xa_227,1) and close>=ref(close,1) and close<=ref(close,2);
xa_229:=ref(xa_228,1) and close<=ref(close,1) and close>=ref(close,2);
xa_230:=ref(xa_229,1) and close>=ref(close,1) and close<=ref(close,2);
xa_231:=ref(xa_230,1) and close<=ref(close,1) and close>=ref(close,2);
xa_232:=ref(xa_231,1) and close>=ref(close,1) and close<=ref(close,2);
xa_233:=ref(xa_232,1) and close<=ref(close,1) and close>=ref(close,2);
xa_234:=ref(xa_233,1) and close>=ref(close,1) and close<=ref(close,2);
xa_235:=ref(xa_234,1) and close<=ref(close,1) and close>=ref(close,2);
xa_236:=ref(xa_235,1) and close>=ref(close,1) and close<=ref(close,2);
xa_237:=ref(xa_236,1) and close<=ref(close,1) and close>=ref(close,2);
xa_238:=ref(xa_237,1) and close>=ref(close,1) and close<=ref(close,2);
xa_239:=stickline(xa_227 or xa_228 or xa_229 or xa_230 or xa_231 or xa_232 or xa_233 or xa_234 or xa_235 or xa_236 or xa_237 or xa_238,close,ref(close,1),3,0);
xa_240:=ref(xa_227 or xa_228 or xa_229 or xa_230 or xa_231 or xa_232 or xa_233 or xa_234 or xa_235 or xa_236 or xa_237 or xa_238,1) and xa_214;
xa_241:=stickline(xa_240 and xa_213,ref(close,1),ref(close,2),4.5,0);
xa_242:=(3*close+high+low+open)/6;
xa_243:=(8*xa_242+7*ref(xa_242,1)+6*ref(xa_242,2)+5*ref(xa_242,3)+4*ref(xa_242,4)+3*ref(xa_242,5)+2*ref(xa_242,6)+ref(xa_242,8))/36;
xa_244:=(hhv(xa_243,5)+hhv(xa_243,10)+hhv(xa_243,20))/3;
xa_245:=(llv(xa_243,5)+llv(xa_243,10)+llv(xa_243,20))/3;
xa_246:=(hhv(xa_244,5)+hhv(xa_244,10)+hhv(xa_244,20))/3;
xa_247:=(llv(xa_245,5)+llv(xa_245,10)+llv(xa_245,20))/3;
xa_248:=(llv(xa_243,2)+llv(xa_243,4)+llv(xa_243,6))/3;
{xa_243;}
xa_249:=xa_243;
xa_250:=every(xa_249>=ref(xa_249,1),m) and xa_213;
xa_251:=if(winner(close),winner(close)*100,5);
xa_252:=every(xa_251>=ref(xa_251,1),m);
xa_253:=3*sma((close-llv(low,35))/(hhv(high,35)-llv(low,35))*100,5,2)-2*sma((close-llv(low,35))/(hhv(high,35)-llv(low,35))*60,5,2);
xa_254:=ema(xa_253,5);
xa_255:=every(xa_254>=ref(xa_254,1),m) and xa_250;
xa_256:=dynainfo(7);
xa_257:=ma(amount/vol/100,vol/capital);
xa_258:=barscount(close);
xa_259:=sma(close/hhv(high,120),3,1)*100;
xa_260:=if(xa_258>20,xa_259,0);
xa_261:=if(low>xa_256,0,if(high<xa_256,1,(xa_256-low+0.009)/(high-low+0.009)));
xa_262:=dma(xa_261,vol/capital)*100;
xa_263:=if(xa_257>xa_256,100-xa_262,xa_262);
xa_264:=if(xa_262>0 and xa_262>ref(xa_262,1) and xa_260<=88,xa_262,0);
xa_265:=xa_264;
xa_266:=every(xa_265>=ref(xa_265,1),m) and xa_250;
xa_267:=vol>ref(vol,1)*1.5;
xa_268:=vol<ref(llv(vol,13),1);
xa_269:=vol<ref(llv(vol,55),1);
xa_270:=xa_267 and xa_266;
xa_271:=sum(if(close>ref(close,1),100*vol/capital,0),7)>20 and xa_266;
xa_272:=macd.dif#week;
xa_273:=macd.dea#week;
xa_274:=dmi.adxr#week;
xa_275:=macd.dif#month;
xa_276:=macd.dea#month;
xa_277:=kdj.k#week(9,3,3);
xa_278:=kdj.d#week(9,3,3);
xa_279:=kdj.k#month(9,3,3);
xa_280:=kdj.d#month(9,3,3);
xa_281:=cross(rsi.rsi2#week(6,12,24),rsi.rsi1#week(3,6,12));
xa_282:=cross(rsi.rsi2#month(6,12,24),rsi.rsi1#month(3,6,12));
xa_283:=cross(xa_273,xa_272);
xa_284:=cross(xa_276,xa_275);
xa_285:=cross(xa_278,xa_277);
xa_286:=cross(xa_280,xa_279);
xa_287:=xa_285 or xa_283 or xa_281;
xa_288:=xa_284 or xa_286 or xa_282;
xa_289:=drawicon(xa_287,high*1.02,35);
xa_290:=drawicon(xa_288,high*1.04,2);
xa_291:=cross(xa_272,xa_273);
xa_292:=cross(xa_275,xa_276);
xa_293:=cross(xa_279,xa_280);
xa_294:=cross(xa_277,xa_278);
xa_295:=cross(xa_274,xa_274);
xa_296:=cross(rsi.rsi1#week(6,12,24),rsi.rsi2#week(3,6,12));
xa_297:=cross(rsi.rsi1#month(6,12,24),rsi.rsi2#month(3,6,12));
xa_298:=xa_291 or xa_294 or xa_296 or xa_295;
xa_299:=xa_292 or xa_293 or xa_297;
xa_300:=drawicon(xa_298 and xa_250,low*0.98,9);
xa_301:=drawicon(xa_299 and xa_250,low*0.96,34);
xa_302:=if(ema((2*close+high+low)/4,5)>=ref(ema((2*close+high+low)/4,5),1),ema((2*close+high+low)/4,5),drawnull);
xa_303:=every(xa_302>=ref(xa_302,1),m);
xa_304:=(3*close+high+low+open)/6;
xa_305:=(8*xa_304+7*ref(xa_304,1)+6*ref(xa_304,2)+5*ref(xa_304,3)+4*ref(xa_304,4)+3*ref(xa_304,5)+2*ref(xa_304,6)+ref(xa_304,8))/36;
xa_306:=(hhv(xa_305,5)+hhv(xa_305,10)+hhv(xa_305,20))/3;
xa_307:=(llv(xa_305,5)+llv(xa_305,10)+llv(xa_305,20))/3;
xa_308:=(hhv(xa_306,5)+hhv(xa_306,10)+hhv(xa_306,20))/3;
xa_309:=(llv(xa_307,5)+llv(xa_307,10)+llv(xa_307,20))/3;
xa_310:=(llv(xa_305,2)+llv(xa_305,4)+llv(xa_305,6))/3;
xa_311:=drawband(xa_305,rgb(155,50,50),xa_310,rgb(250,250,0));
xa_305;
drawnull;
xa_312:=xa_305;
xa_313:=every(xa_312>=ref(xa_312,1),m) and xa_213;
xa_314:=macd.dif#week;
xa_315:=macd.dea#week;
xa_316:=dmi.adxr#week;
xa_317:=macd.dif#month;
xa_318:=macd.dea#month;
xa_319:=kdj.k#week(9,3,3);
xa_320:=kdj.d#week(9,3,3);
xa_321:=kdj.k#month(9,3,3);
xa_322:=kdj.d#month(9,3,3);
xa_323:=cross(rsi.rsi2#week(6,12,24),rsi.rsi1#week(6,12,24));
xa_324:=cross(rsi.rsi2#month(6,12,24),rsi.rsi1#month(6,12,24));
xa_325:=cross(xa_315,xa_314);
xa_326:=cross(xa_318,xa_317);
xa_327:=cross(xa_320,xa_319);
xa_328:=cross(xa_322,xa_321);
xa_329:=xa_327 or xa_325 or xa_323;
xa_330:=xa_326 or xa_328 or xa_324;
xa_331:=drawicon(xa_329,high*1.02,35);
xa_332:=drawicon(xa_330,high*1.04,2);
xa_333:=cross(xa_314,xa_315);
xa_334:=cross(xa_317,xa_318);
xa_335:=cross(xa_321,xa_322);
xa_336:=cross(xa_319,xa_320);
xa_337:=cross(xa_274,xa_274);
xa_338:=cross(rsi.rsi1#week(6,12,24),rsi.rsi2#week(6,12,24));
xa_339:=cross(rsi.rsi1#month(6,12,24),rsi.rsi2#month(6,12,24));
xa_340:=xa_333 or xa_336 or xa_338 or xa_337;
xa_341:=xa_334 or xa_335 or xa_339;
xa_342:=drawicon(xa_340 and xa_313,low*0.98,9);
xa_343:=drawicon(xa_341 and xa_313,low*0.96,34);
xa_344:=drawtext(xa_300 and xa_342,low*0.992,16);
xa_345:=1;
xa_346:=ma(winner(close*0.1)*100*close,3);
xa_347:=if(xa_346>0,xa_346,0)/2;
xa_348:=xa_347;
xa_349:=every(xa_348>=ref(xa_348,1),xa_345);
xa_350:=(2*open+high+low+3*close)/7;
xa_351:=capital*xa_350;
xa_352:=sma(amount,10,1)/1000;
xa_353:=ma(close*3,5);
xa_354:=xa_352*close*3/xa_353*1/10;
xa_355:=xa_352*open*3/xa_353*1/10;
xa_356:=xa_352*high*3/xa_353*1/10;
xa_357:=xa_352*low*3/xa_353*1/10;
xa_358:=(2*xa_355+xa_356+xa_357+3*xa_354)/7;
xa_359:=dma(ema(xa_354,2),sum(vol,1)*xa_358);
xa_360:=ema(xa_359,2);
xa_361:=xa_359>xa_360;
xa_362:=ema(xa_351-xa_359,1);
xa_363:=ref(xa_362,1);
xa_364:=xa_362>xa_363;
xa_365:=xa_364 and close>open;
xa_366:=(xa_359-xa_360)*15000;
xa_367:=if(xa_361 and xa_365,xa_366/10000,0);
xa_368:=xa_367>0 and xa_349;
xa_369:=stickline(xa_361 and xa_365,0,xa_366,2,0);
xa_370:=every(xa_369>=ref(xa_369,1),xa_345) and xa_349;
xa_371:=close*vol;
xa_372:=ema((expma(xa_371,3)/expma(vol,3)+expma(xa_371,6)/expma(vol,6)+expma(xa_371,12)/expma(vol,12)+expma(xa_371,24)/expma(vol,24))/4,13);
xa_373:=ref(close,1)*0.1-close<0.01 and close>low;
xa_374:=1.06*xa_372;
xa_375:=cross(close,xa_374);
启:drawtext(xa_375 and xa_344 and xa_370 and xa_196 and xa_373,low*0.938,17),coloryellow;
xa_376:=vol/100;
xa_377:=ma(xa_376,5);
xa_378:=ma(xa_376,35);
xa_379:=ma(xa_376,135);
出击:stickline(cross(xa_377,xa_379) or (xa_378>xa_379 and cross(xa_377,xa_378)),close,open,2.5,0),colorff0080;
启动量:stickline(xa_377>ref(xa_377,1) and (cross(vol,xa_377) and (ref(vol,1)<ref(xa_379,1) and ref(vol,2)<ref(xa_379,2))),close,open,2.5,0),colorgreen;
xa_380:=amount/vol;
xa_381:=low<xa_380*0.9;
xa_382:=(close-ref(close,1))/ref(close,1)*100>1.2;
xa_383:=low<ma(close,5)*0.921;
xa_384:=vol<ma(vol,5)*1.5;
xa_385:=xa_381 and xa_382 and xa_383 and xa_384;
drawtext(xa_385,high*0.98,19),color4080ff;
xa_386:=finance(42);
xa_387:=datetoday(const(date));
xa_388:=xa_387-xa_386;
xa_389:=daytodate(xa_388)+19000000;
xa_390:=strcat(20,con2str(xa_389,0));
drawtext_fix(islastbar,0.76,0,0,xa_390),coloryellow;
xa_391:=close/ref(close,1)>=1.095;
xa_392:=count(xa_391,barssince(xa_391)+1);
drawnumber(xa_391,high*1.04,xa_392),coloryellow;
xa_393:=strcat(21,con2str(xa_392,0));
xa_394:=strcat(xa_393,22);
xa_395:=strcat(23,con2str(finance(42),0));
xa_396:=strcat(xa_395,24);
xa_397:=strcat(25,con2str(const(barslast(xa_391)),0));
xa_398:=strcat(xa_397,26);
xa_399:=strcat(xa_396,xa_394);
xa_400:=strcat(xa_399,xa_398);
xa_401:=strcat(27,xa_400);
drawtext_fix(currbarscount=1,0.75,0,1,xa_401),coloryellow;
xa_402:=drawtext_fix(islastbar,0,0,0,strcat(strcat(strcat(strcat(hyblock,28),dyblock),29),gnblock));
xa_403:=strcat(hyblock,28);
xa_404:=strcat(xa_403,dyblock);
xa_405:=strcat(xa_404,28);
ac1:drawtext_fix(islastbar,0,(-0.02),0,strcat(xa_405,gnblock)),colorlired;
ac2:drawtext_fix(islastbar,0,0.03,0,externstr(0,3)),colorwhite;
ac3:drawtext_fix(islastbar,0,0.06,0,externstr(0,6)),colorliblue;
ac4:drawtext_fix(islastbar,0,0.12,0,externstr(0,12)),colorligreen;
活跃股:drawtext_fix(islastbar,0,0.09,0,fgblock),colorlimagenta;
xa_406:=drawtext_fix(islastbar,0,0.999,0,externstr(0,1));
xa_407:=strcat(31,gnblock);
xa_408:=strcat(32,fgblock);
drawtext_fix(1,0,0.99,0,36),coloryellow;
drawtext_fix(1,0.07,0.99,0,externstr(0,4)),coloryellow;
drawnumber_fix(1,0.52,0.09,0,const(winner(close)*100)),coloryellow;
xa_409:=winner(close)*100;
drawtext_fix(xa_409>=95 and islastbar,0.59,0.09,0,38),colorred;
drawtext_fix(xa_409>=80 and xa_409<95 and islastbar,0.59,0.09,0,39),coloryellow;
drawtext_fix(xa_409>=50 and xa_409<80 and islastbar,0.59,0.09,0,40),colorgreen;
drawtext_fix(xa_409<50 and islastbar,0.59,0.09,0,41),colorblue;
xa_410:=finance(33)/finance(34)*100;
xa_411:=finance(23)/finance(20)*100;
xa_412:=finance(25)/finance(15);
xa_413:=finance(44);
xa_414:=finance(43);
xa_415:=const(finance(38));
xa_416:=const(finance(34));
xa_417:=const(finance(25)/finance(1));
xa_418:=const(finance(32));
xa_419:=const(finance(18));
xa_420:=dynainfo(39);
xa_421:=vol/capital*100;
xa_422:=dynainfo(17);
xa_423:=xa_410>3;
xa_424:=xa_410>0.01 and xa_410<=3;
xa_425:=xa_411>2;
xa_426:=xa_411>0;
xa_427:=xa_413>1;
xa_428:=xa_413>0;
xa_429:=xa_414>2;
xa_430:=xa_414>0.2;
xa_431:=xa_415>0.01;
xa_432:=xa_415>0.001;
xa_433:=xa_416>2;
xa_434:=xa_416>0.01;
xa_435:=xa_418>0.5;
xa_436:=xa_418>0.001;
xa_437:=xa_419>0.5;
xa_438:=xa_419>0.002;
xa_439:=xa_420<200;
xa_440:=xa_420<5000;
xa_441:=xa_421>0.1;
xa_442:=xa_421>0.01;
xa_443:=xa_98>0.8;
xa_444:=xa_98>0.3;
xa_445:=xa_423 and xa_425 and xa_427 and xa_429 and xa_431 and xa_433 and xa_435 and xa_437 and xa_439 and xa_441 and xa_443;
xa_446:=xa_424 and xa_426 and xa_428 and xa_430 and xa_432 and xa_434 and xa_436 and xa_438 and xa_440 and xa_442 and xa_444;
drawtext_fix(xa_445 and xa_446=0,0.645,0.09,0,42),colorred;
drawtext_fix(xa_446,0.685,0.09,0,43),colormagenta;
上一指标公式:十拿九稳3公式下载 通达信十拿九稳
下一指标公式:阴线买入及选股非常不错的指标公式下载 通达信非常不错选股
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文不被套主图转载和谐完全加密指标公式下载 通达信加密指标仅供学习研究。