不被套强式区一区四
{公式名称: 强式区一区四
公式描述: 成本强式区
参数数量: 1
参数1: m, 最小: 0, 最大: 100, 缺省: 1
公式类型: 条件选股公式-形态特征选股
公式版本: 0
参数精灵:
请设置计算参数:
m: param#0 (0.00--100.00)
用法注释:无
公式源码:}
var1:=finance(30)>=ref(finance(30),130);
var2:=var1;
var3:=if(namelike(5),0,1);
var4:=if(namelike(6),0,1);
var5:=dynainfo(17)>0;
var6:=9500;
var7:=exist((close/ref(close,1)-1)*100>5.6,60);
{好公式网-最好的股票公式网站 www.goodgongshi.com}
var8:=dynainfo(4)>0;
var9:=dynainfo(7)<150;
var10:=capital/5500000<10;
var11:=var7 and var8 and var9 and var10 and close<150 and finance(42)<var6 and var3 and var4;
var12:=if(dynainfo(8)>0.01,0.01*dynainfo(10)/dynainfo(8),dynainfo(3));
var13:=dynainfo(5)<0.01 or dynainfo(6)<0.01;
var14:=if(var13,1,var12<dynainfo(5)+0.01 and var12>dynainfo(6)-0.01);
var15:=if(var14,dma(amount/(100*vol),100*vol/finance(7)),ema((high+low+close)/3,120));
var16:=every(var15>ref(var15,1),1);
var17:=if(var16,var15,drawnull);
var18:=stickline(var17 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 and var11,refdate(hhv(high,(-5)),date),refdate(llv(low,(-5)),date),4,0);
var19:=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 var11,refdate(hhv(high,(-5)),date),refdate(llv(low,(-5)),date),6,0);
var20:=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) and var11,refdate(hhv(high,(-5)),date),refdate(llv(low,(-5)),date),4,0);
stickline(var11 and 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 and var18 and var19 and var20 and var11,refdate(hhv(high,(-5)),date),refdate(llv(low,(-5)),date),4,0),color001050;
{公式名称: 不被套
公式描述: 均线
参数数量: 1
参数1: m, 最小: 0, 最大: 100, 缺省: 1
公式类型: 技术指标公式-均线型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外y轴分界: 无
参数精灵:
请设置计算参数:
m: param#0 (0.00--100.00)
用法注释:
1.股价高于平均线,视为强势;股价低于平均线,视为弱势
2.平均线向上涨升,具有助涨力道;平均线向下跌降,具有助跌力道;
3.二条以上平均线向上交叉时,买进;
4.二条以上平均线向下交叉时,卖出;
5.移动平均线的信号经常落后股价,若以expma 、vma 辅助,可以改善。
公式源码:}
2;
30;
var1:=5;
2;
60;
var2:=13;
2;
120;
var3:=34;
var4:=if(dynainfo(8)>0.01,0.01*dynainfo(10)/dynainfo(8),dynainfo(3));
var5:=dynainfo(5)<0.01 or dynainfo(6)<0.01;
var6:=if(var5,1,var4<dynainfo(5)+0.01 and var4>dynainfo(6)-0.01);
var7:=if(var6,dma(amount/(100*vol),100*vol/finance(7)),ema((high+low+close)/3,120));
var8:=every(var7>ref(var7,1),1);
var9:=if(var8,var7,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(var9 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;
var10:=cost(40);
var11:=cost(50);
var12:=cost(60);
var13:=cost(70);
var14:=cost(80);
var15:=cost(90);
var16:=cost(99);
drawkline(high,open,low,close);
var17:=sumbars(vol,capital*1);
var18:=sum(cost(10),var17)/var17;
var19:=sum(cost(20),var17)/var17;
var20:=sum(cost(30),var17)/var17;
var21:=sum(cost(40),var17)/var17;
var22:=sum(cost(50),var17)/var17;
var23:=llv(low,250)=low;
var24:=barslast(var23);
{好公式网-最好的股票公式网站 www.goodgongshi.com}
庄家成本:(5*var18+4*var19+3*var20+2*var21+var22)/15,nodraw,colorred;
var25:=if(var6,0.01*ema(amount,var1)/ema(vol,var1),ema((high+low+close)/3,var1));
圴2:if(var6,0.01*ema(amount,var2)/ema(vol,var2),ema((high+low+close)/3,var2)),nodraw;
圴3:if(var6,0.01*ema(amount,var3)/ema(vol,var3),ema((high+low+close)/3,var3)),nodraw;
圴成本:if(var6,dma(amount/(100*vol),100*vol/finance(7)),ema((high+low+close)/3,120)),nodraw;
var26:=every(圴成本>ref(圴成本,1),1);
成本值:if(var26,圴成本,drawnull),coloryellow,linethick2;
成本金叉:drawtext(cross(var25,圴成本) 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 var24>=40 and every(上升均斜>ref(上升均斜,1),m),low,close,4,0),colorff0080;
var27:=every(庄家成本>=ref(庄家成本,1),m);
var28:=ref(llv(low,150),3);
var29:=refdate(var28,date)*0.9;
var30:=(-100)*(hhv(high,10)-close)/(hhv(high,10)-llv(low,10))+100;
var31:=(-100)*(hhv(high,6)-close)/(hhv(high,6)-llv(low,6))+100;
var32:=var30>=ref(var30,1);
var33:=var30<ref(var30,1);
var34:=var31>=ref(var31,1);
var35:=var31<ref(var31,1);
var36:=var31>=80 and var34;
var37:=vol/((high-low)*2-abs(close-open));
var38:=if(close>open,var37*(high-low),if(close<open,var37*(high-open+(close-low)),vol/2));
var39:=var38/vol*100;
var40:=var39>=ref(var39,1);
var41:=var39/50;
var42:=var39>=80 and var40 and var41>=1.5 and ref(var39,1)<=90;
var43:=ema(slope(close,22)*20+close,55);
var44:=var43-(ema(close,1)-var43);
var45:=var43-(ema(close,3)-var43);
var46:=ref(var44,1)/var44;
var47:=if(var46>1,var46,1);
var48:=var47/ref(var47,1);
var49:=var47>=ref(var47,1) and var47>=1.02 and var43>=var44;
var50:=winner(close*1.1)-winner(close*0.9);
var51:=winner(close);
var52:=var51/var50;
var53:=var50<=ref(var50,1);
var54:=ref(var50,1)/var50;
var55:=var52>=2 and var53 or var54>=1.3;
var56:=ref(close,1);
var57:=var56*1.1>=cost(90);
var58:=var36 and var42 and var49 and var55 and var57;
var59:=(open-ref(close,1))/ref(close,1)*100<=5;
var60:=(close-ref(close,1))/ref(close,1)*100;
var61:=ref(var60,1);
var62:=var59 and var60>=6.2 and var61<=6.5;
var63:=var36 and var42 and var49 and var55 and var62;
var64:=var36 and var42 and var49 and var55 and var59 and var61<=6.5;
var65:=var51>=var50;
var66:=if(var65,var43*0.96,var43);
界线:var43,colorgreen,linethick2;
界:if(var43>=ref(var43,1),var43,drawnull),colorred,linethick3;
drawtext(filter(界>1 and ema(界线,15)>ref(ema(界线,8),1),10),界,2),colorwhite;
drawtext(var58 and var64,low*0.946,3),colorwhite;
drawtext(var63,low*0.91,4),colorwhite;
var67:=close*vol;{好公式网-最好的股票公式网站 www.goodgongshi.com}
var68:=ema((ema(var67,2)/ema(vol,2)+ema(var67,4)/ema(vol,4)+ema(var67,8)/ema(vol,8)+ema(var67,16)/ema(vol,16))/4,15);
var69:=1.05*var68;
var70:=ema(var69-(ema(close,3)-var69),5);
下开:if(var70<=var69,var70,var69),colormagenta,linethick2;
var71:=2*var69-下开;
上开:if(var71>=var69,var71,var69),coloryellow,linethick2;
观望:if(下开=上开,下开,drawnull),colorgreen,linethick2;
var72:=every(观望>ref(观望,1),m);
均值上:if(var72,观望,drawnull),colorred,linethick2;
var73:=ref(close,1)*1.1-close<0.01 and high=close;
var74:=var69>=ref(var69,1) and 下开<ref(下开,1) and close>var69 and open>var69;
var75:=cross(close,var69) and var73;
drawtext(var75,low,2),coloryellow;
var76:=cross(close,下开);
var77:=((close-ref(ma(close,18),1))/18+ma(close,18))*1.004;
var78:=cross(close,var77) and var77>ref(var77,1);
加码:stickline(var78 and every(上升均斜>ref(上升均斜,1),m),open,close,3.5,0),colorff8000,linethick2;
加码1:stickline(var78 and 加码 and every(上升均斜>ref(上升均斜,1),m),open,close,2.5,0),colorblue,linethick2;
var79:=finance(30)>=ref(finance(30),130);
var80:=var79;
var81:=if(namelike(5),0,1);
var82:=if(namelike(6),0,1);
var83:=dynainfo(17)>0;
1;
10000;
var84:=9500;
var85:=exist((close/ref(close,1)-1)*100>5.6,60);
var86:=dynainfo(4)>0;
var87:=dynainfo(7)<150;
var88:=capital/1500000<10;
var89:=var85 and var86 and var87 and var88 and close<150 and finance(42)<var84 and var80 and var81 and var82;
var90:=capital/1000000<=4.98;
var91:=if(codelike(7),0,1);
var92:=if(namelike(5),0,1);
var93:=if(namelike(6),0,1);
var94:=dynainfo(17)>0;
var95:=var91 and var92 and var93 and var94;
var96:=winner(close);
var97:=open/ref(close,1)<1.06;
var98:=dynainfo(17)>=1;
var99:=vol/capital*100;
var100:=ref(close,1)-ref(open,1);
var101:=ma(close,5)>ma(close,10) and ma(close,5)>ref(ma(close,5),1);
var102:=dynainfo(23)-dynainfo(22);
var103:=ref(vol,1)-ref(vol,2);
var104:=1;
var105:=ma(close,5);
var106:=ma(close,8);
var107:=ma(close,10);
var108:=ma(close,13);
var109:=ma(close,60);
var110:=var105>var106 and var106>var108 and var108>var109;
var111:=count(close>var108,3)=3;
var112:=atan(ma(close,13)/ref(ma(close,13),1)*100-100)/3.142*180;
var113:=(var105-ma(var105,var104))/ma(var105,var104)*100;
var114:=(var107-ma(var107,var104))/ma(var107,var104)*100;
drawtext(between(var113,(-5),5) and between(var114,(-5),5) and close>=6 and close<26 and var98 and var99>=1.1 and var99<=8 and close/ref(close,1)<=1.97 and close/ref(close,1)>=1.02 and var90 and var95 and close>open and cross(var112,45) and var97 and var100 and var101 and var102 and var103 and var110 and var89,low*0.958,8),coloryellow;
var115:=ema(close,13);
var116:=ema(close,30);
var117:=ema(close,60);
var118:=ema(close,90);
var119:=ema(close,120);
var120:=ema(close,250);
var121:=var116-var117<130/1000 and var116-var118<230/1000 and var116-var119<330/1000;
var122:=var117-var116<130/1000 and var117-var118<230/1000 and var117-var119<330/1000;
var123:=var118-var116<130/1000 and var118-var117<230/1000 and var118-var119<330/1000;
var124:=var119-var116<130/1000 and var119-var117<230/1000 and var119-var118<330/1000;
var125:=var116-var117<100/1000 and var116-var118<200/1000;
var126:=var121 and var122 and var123 and var124 and cross(var116,var117);
var127:=var121 and var122 and var123 and var124 and cross(ema(close,13),var116);
var128:=var125 and close>var120 and cross(var116,var117);
var129:=var117-var118<220/1000 and var117-var119<320/1000 and var117-var120<420/1000;
var130:=var118-var116<220/1000 and var118-var117<320/1000 and var118-var120<420/1000;
var131:=var119-var117<220/1000 and var119-var118<320/1000 and var119-var120<420/1000;
var132:=var120-var117<220/1000 and var120-var118<320/1000 and var120-var119<420/1000;
var133:=var129 and var130 and var131 and var132 and cross(var115,var116);
var134:=var129 and var130 and var131 and var132 and cross(var116,var117);
启动:drawtext(var126 or var127 or var128 or var133 or var134,low*0.958,9),colorred;
var135:=5;
var136:=10;
var137:=20;
var138:=30;
var139:=60;
var140:=120;
var141:=ma(close,var135);
var142:=ma(close,var136);
var143:=ma(close,var137);
var144:=ma(close,var138);
var145:=ma(close,var139);
drawtext(cross(var144,var145),var144,13),coloryellow;
var146:=close>=max(ma(close,5),max(ma(close,10),max(ma(close,20),max(ma(close,60),ma(close,120)))));
var147:=vol<=hhv(vol,10)*0.6;
var148:=abs(close-open)/close<=0.002 and close/ref(close,1)<1.02;
drawtext(var146 and var147 and var148 and var89 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);
var149:=(2*open+high+low+3*close)/7;
var150:=capital*var149;
var151:=sma(amount,10,1)/1000;
var152:=ma(close*3,5);
var153:=var151*close*3/var152*1/10;
var154:=var151*open*3/var152*1/10;
var155:=var151*high*3/var152*1/10;
var156:=var151*low*3/var152*1/10;
var157:=(2*var154+var155+var156+3*var153)/7;
var158:=dma(ema(var153,2),sum(vol,1)*var157);
var159:=ema(var158,2);
var160:=var158>var159;
var161:=ema(var150-var158,1);
var162:=ref(var161,1);
var163:=var161>var162;
var164:=var163 and close>open;
var165:=(var161-var162)*15;
var166:=(var158-var159)*15000;
var167:=(var162-var161)*(-1);
var168:=if(var161>var162,var165/1000,0);
var169:=if(var161<var162,var165/1000,0);
var170:=if(var160 and var164,var166/1000,0);
var171:=if(var160 and var161<var162,var165/1000,0);
var172:=var168;
var173:=var170;
var174:=drawicon(cross(zig(3,10),ref(zig(3,10),1)) and var172 and var173,low*0.959,6);
var175:=ref(close,1);
var176:=sma(max(close-var175,0),5,1)/sma(abs(close-var175),5,1)*100;
var177:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),10);
var178:=high-ref(high,1);
var179:=ref(low,1)-low;
var180:=sum(if(var178>0 and var178>var179,var178,0),10);
var181:=sum(if(var179>0 and var179>var178,var179,0),10);
var182:=var180*100/var177;
var183:=var181*100/var177;
var184:=ma(abs(var183-var182)/(var183+var182)*100,5);
var185:=var176+var184;
var186:=(var184+ref(var184,5))/2+var176;
var187:=100*(hhv(high,10)-close)/(hhv(high,10)-llv(low,10));
var188:=var176-var187;
var189:=var185+var188;
drawtext(var174 and var189,low*0.969,15),coloryellow;
1;
10000;
var190:=8000;
1;
8000;
var191:=7500;
var192:=exist((close/ref(close,1)-1)*100>5.6,60);
var193:=dynainfo(4)>0;
var194:=dynainfo(7)<150;
var195:=capital/1500000<10;
var196:=var192 and var193 and var194 and var195 and close<150 and finance(42)<var190;
var197:=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);
var198:=every(var197>=ref(var197,1),m);
var199:=20;
var200:=(high+low+close)/3;
var201:=vol/if(high=low,4,high-low);
var202:=if(capital=0,var201*(var200-min(close,open)),var201*if(high=low,1,min(open,close)-low));
var203:=if(capital=0,var201*(min(open,close)-low),var201*if(high=low,1,var200-min(close,open)));
var204:=if(capital=0,var201*(high-max(open,close)),var201*if(high=low,1,high-max(open,close)));
var205:=if(capital=0,var201*(max(close,open)-var200),var201*if(high=low,1,max(close,open)-var200));
var206:=(var202+var203-(var204+var205))/if(capital=0,1000000,10000);
var207:=ma(var206,10)*var199;
var208:=sma(var207,3,1);
var209:=every(var208>=ref(var208,1),m) and var198;
var210:=sma(var208,3,1);
var211:=every(var210>=ref(var210,1),m) and var209;
var212:=ema(var210,5);
var213:=every(var212>=ref(var212,1),m) and var211;
var214:=close>ref(close,1) and close>ref(close,2);
var215:=ref(var214,1) and close<=ref(close,1) and close>=ref(close,2);
var216:=ref(var215,1) and close>=ref(close,1) and close<=ref(close,2);
var217:=ref(var216,1) and close<=ref(close,1) and close>=ref(close,2);
var218:=ref(var217,1) and close>=ref(close,1) and close<=ref(close,2);
var219:=ref(var218,1) and close<=ref(close,1) and close>=ref(close,2);
var220:=ref(var219,1) and close>=ref(close,1) and close<=ref(close,2);
var221:=ref(var220,1) and close<=ref(close,1) and close>=ref(close,2);
var222:=ref(var221,1) and close>=ref(close,1) and close<=ref(close,2);
var223:=ref(var222,1) and close<=ref(close,1) and close>=ref(close,2);
var224:=ref(var223,1) and close>=ref(close,1) and close<=ref(close,2);
var225:=ref(var224,1) and close<=ref(close,1) and close>=ref(close,2);
var226:=stickline(var214 or var215 or var216 or var217 or var218 or var219 or var220 or var221 or var222 or var223 or var224 or var225,close,ref(close,1),3,1);
var227:=close<ref(close,1) and close<ref(close,2);
var228:=ref(var227,1) and close>=ref(close,1) and close<=ref(close,2);
var229:=ref(var228,1) and close<=ref(close,1) and close>=ref(close,2);
var230:=ref(var229,1) and close>=ref(close,1) and close<=ref(close,2);
var231:=ref(var230,1) and close<=ref(close,1) and close>=ref(close,2);
var232:=ref(var231,1) and close>=ref(close,1) and close<=ref(close,2);
var233:=ref(var232,1) and close<=ref(close,1) and close>=ref(close,2);
var234:=ref(var233,1) and close>=ref(close,1) and close<=ref(close,2);
var235:=ref(var234,1) and close<=ref(close,1) and close>=ref(close,2);
var236:=ref(var235,1) and close>=ref(close,1) and close<=ref(close,2);
var237:=ref(var236,1) and close<=ref(close,1) and close>=ref(close,2);
var238:=ref(var237,1) and close>=ref(close,1) and close<=ref(close,2);
var239:=stickline(var227 or var228 or var229 or var230 or var231 or var232 or var233 or var234 or var235 or var236 or var237 or var238,close,ref(close,1),3,0);
var240:=ref(var227 or var228 or var229 or var230 or var231 or var232 or var233 or var234 or var235 or var236 or var237 or var238,1) and var214;
var241:=stickline(var240 and var213,ref(close,1),ref(close,2),4.5,0);
var242:=(3*close+high+low+open)/6;
var243:=(8*var242+7*ref(var242,1)+6*ref(var242,2)+5*ref(var242,3)+4*ref(var242,4)+3*ref(var242,5)+2*ref(var242,6)+ref(var242,8))/36;
var244:=(hhv(var243,5)+hhv(var243,10)+hhv(var243,20))/3;
var245:=(llv(var243,5)+llv(var243,10)+llv(var243,20))/3;
var246:=(hhv(var244,5)+hhv(var244,10)+hhv(var244,20))/3;
var247:=(llv(var245,5)+llv(var245,10)+llv(var245,20))/3;
var248:=(llv(var243,2)+llv(var243,4)+llv(var243,6))/3;
var243;
drawnull;
var249:=var243;
var250:=every(var249>=ref(var249,1),m) and var213;
var251:=if(winner(close),winner(close)*100,5);
var252:=every(var251>=ref(var251,1),m);
var253:=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);
var254:=ema(var253,5);
var255:=every(var254>=ref(var254,1),m) and var250;
var256:=dynainfo(7);
var257:=ma(amount/vol/100,vol/capital);
var258:=barscount(close);
var259:=sma(close/hhv(high,120),3,1)*100;
var260:=if(var258>20,var259,0);
var261:=if(low>var256,0,if(high<var256,1,(var256-low+0.009)/(high-low+0.009)));
var262:=dma(var261,vol/capital)*100;
var263:=if(var257>var256,100-var262,var262);
var264:=if(var262>0 and var262>ref(var262,1) and var260<=88,var262,0);
var265:=var264;
var266:=every(var265>=ref(var265,1),m) and var250;
var267:=vol>ref(vol,1)*1.5;
var268:=vol<ref(llv(vol,13),1);
var269:=vol<ref(llv(vol,55),1);
var270:=var267 and var266;
var271:=sum(if(close>ref(close,1),100*vol/capital,0),7)>20 and var266;
var272:=macd.dif#week;
var273:=macd.dea#week;
var274:=dmi.adxr#week;
var275:=macd.dif#month;
var276:=macd.dea#month;
var277:=kdj.k#week(9,3,3);
var278:=kdj.d#week(9,3,3);
var279:=kdj.k#month(9,3,3);
var280:=kdj.d#month(9,3,3);
var281:=cross(rsi.rsi2#week(6,12,24),rsi.rsi1#week(3,6,12));
var282:=cross(rsi.rsi2#month(6,12,24),rsi.rsi1#month(3,6,12));
var283:=cross(var273,var272);
var284:=cross(var276,var275);
var285:=cross(var278,var277);
var286:=cross(var280,var279);
var287:=var285 or var283 or var281;
var288:=var284 or var286 or var282;
var289:=drawicon(var287,high*1.02,35);
var290:=drawicon(var288,high*1.04,2);
var291:=cross(var272,var273);
var292:=cross(var275,var276);
var293:=cross(var279,var280);
var294:=cross(var277,var278);
var295:=cross(var274,var274);
var296:=cross(rsi.rsi1#week(6,12,24),rsi.rsi2#week(3,6,12));
var297:=cross(rsi.rsi1#month(6,12,24),rsi.rsi2#month(3,6,12));
var298:=var291 or var294 or var296 or var295;
var299:=var292 or var293 or var297;
var300:=drawicon(var298 and var250,low*0.98,9);
var301:=drawicon(var299 and var250,low*0.96,34);
var302:=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);
var303:=every(var302>=ref(var302,1),m);
var304:=(3*close+high+low+open)/6;
var305:=(8*var304+7*ref(var304,1)+6*ref(var304,2)+5*ref(var304,3)+4*ref(var304,4)+3*ref(var304,5)+2*ref(var304,6)+ref(var304,8))/36;
var306:=(hhv(var305,5)+hhv(var305,10)+hhv(var305,20))/3;
var307:=(llv(var305,5)+llv(var305,10)+llv(var305,20))/3;
var308:=(hhv(var306,5)+hhv(var306,10)+hhv(var306,20))/3;
var309:=(llv(var307,5)+llv(var307,10)+llv(var307,20))/3;
var310:=(llv(var305,2)+llv(var305,4)+llv(var305,6))/3;
var311:=drawband(var305,rgb(155,50,50),var310,rgb(250,250,0));
var305;
drawnull;
var312:=var305;
var313:=every(var312>=ref(var312,1),m) and var213;
var314:=macd.dif#week;
var315:=macd.dea#week;
var316:=dmi.adxr#week;
var317:=macd.dif#month;
var318:=macd.dea#month;
var319:=kdj.k#week(9,3,3);
var320:=kdj.d#week(9,3,3);
var321:=kdj.k#month(9,3,3);
var322:=kdj.d#month(9,3,3);
var323:=cross(rsi.rsi2#week(6,12,24),rsi.rsi1#week(6,12,24));
var324:=cross(rsi.rsi2#month(6,12,24),rsi.rsi1#month(6,12,24));
var325:=cross(var315,var314);
var326:=cross(var318,var317);
var327:=cross(var320,var319);
var328:=cross(var322,var321);
var329:=var327 or var325 or var323;
var330:=var326 or var328 or var324;
var331:=drawicon(var329,high*1.02,35);
var332:=drawicon(var330,high*1.04,2);
var333:=cross(var314,var315);
var334:=cross(var317,var318);
var335:=cross(var321,var322);
var336:=cross(var319,var320);
var337:=cross(var274,var274);
var338:=cross(rsi.rsi1#week(6,12,24),rsi.rsi2#week(6,12,24));
var339:=cross(rsi.rsi1#month(6,12,24),rsi.rsi2#month(6,12,24));
var340:=var333 or var336 or var338 or var337;
var341:=var334 or var335 or var339;
var342:=drawicon(var340 and var313,low*0.98,9);
var343:=drawicon(var341 and var313,low*0.96,34);
var344:=drawtext(var300 and var342,low*0.992,16);
0;
100;
var345:=1;
var346:=ma(winner(close*0.1)*100*close,3);
var347:=if(var346>0,var346,0)/2;
var348:=var347;
var349:=every(var348>=ref(var348,1),var345);
var350:=(2*open+high+low+3*close)/7;
var351:=capital*var350;
var352:=sma(amount,10,1)/1000;
var353:=ma(close*3,5);
var354:=var352*close*3/var353*1/10;
var355:=var352*open*3/var353*1/10;
var356:=var352*high*3/var353*1/10;
var357:=var352*low*3/var353*1/10;
var358:=(2*var355+var356+var357+3*var354)/7;
var359:=dma(ema(var354,2),sum(vol,1)*var358);
var360:=ema(var359,2);
var361:=var359>var360;
var362:=ema(var351-var359,1);
var363:=ref(var362,1);
var364:=var362>var363;
var365:=var364 and close>open;
var366:=(var359-var360)*15000;
var367:=if(var361 and var365,var366/10000,0);
var368:=var367>0 and var349;
var369:=stickline(var361 and var365,0,var366,2,0);
var370:=every(var369>=ref(var369,1),var345) and var349;
var371:=close*vol;
var372:=ema((expma(var371,3)/expma(vol,3)+expma(var371,6)/expma(vol,6)+expma(var371,12)/expma(vol,12)+expma(var371,24)/expma(vol,24))/4,13);
var373:=ref(close,1)*0.1-close<0.01 and close>low;
var374:=1.06*var372;
var375:=cross(close,var374);
启:drawtext(var375 and var344 and var370 and var196 and var373,low*0.938,17),coloryellow;
var376:=vol/100;
var377:=ma(var376,5);
var378:=ma(var376,35);
var379:=ma(var376,135);
出击:stickline(cross(var377,var379) or (var378>var379 and cross(var377,var378)),close,open,2.5,0),colorff0080;
启动量:stickline(var377>ref(var377,1) and (cross(vol,var377) and (ref(vol,1)<ref(var379,1) and ref(vol,2)<ref(var379,2))),close,open,2.5,0),colorgreen;
var380:=amount/vol;
var381:=low<var380*0.9;
var382:=(close-ref(close,1))/ref(close,1)*100>1.2;
var383:=low<ma(close,5)*0.921;
var384:=vol<ma(vol,5)*1.5;
var385:=var381 and var382 and var383 and var384;
drawtext(var385,high*0.98,19),color4080ff;
var386:=finance(42);
var387:=datetoday(const(date));
var388:=var387-var386;
var389:=daytodate(var388)+19000000;
var390:=strcat(20,con2str(var389,0));
drawtext_fix(islastbar,0.76,0,0,var390),coloryellow;
var391:=close/ref(close,1)>=1.095;
var392:=count(var391,barssince(var391)+1);
drawnumber(var391,high*1.04,var392),coloryellow;
var393:=strcat(21,con2str(var392,0));
var394:=strcat(var393,22);
var395:=strcat(23,con2str(finance(42),0));
var396:=strcat(var395,24);
var397:=strcat(25,con2str(const(barslast(var391)),0));
var398:=strcat(var397,26);
var399:=strcat(var396,var394);
var400:=strcat(var399,var398);
var401:=strcat(27,var400);
drawtext_fix(currbarscount=1,0.75,0,1,var401),coloryellow;
var402:=drawtext_fix(islastbar,0,0,0,strcat(strcat(strcat(strcat(hyblock,28),dyblock),29),gnblock));
var403:=strcat(hyblock,28);
var404:=strcat(var403,dyblock);
var405:=strcat(var404,28);
ac1:drawtext_fix(islastbar,0,(-0.02),0,strcat(var405,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;
var406:=drawtext_fix(islastbar,0,0.999,0,externstr(0,1));
var407:=strcat(31,gnblock);
var408:=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;
var409:=winner(close)*100;
drawtext_fix(var409>=95 and islastbar,0.59,0.09,0,38),colorred;
drawtext_fix(var409>=80 and var409<95 and islastbar,0.59,0.09,0,39),coloryellow;
drawtext_fix(var409>=50 and var409<80 and islastbar,0.59,0.09,0,40),colorgreen;
drawtext_fix(var409<50 and islastbar,0.59,0.09,0,41),colorblue;
var410:=finance(33)/finance(34)*100;
var411:=finance(23)/finance(20)*100;
var412:=finance(25)/finance(15);
var413:=finance(44);
var414:=finance(43);
var415:=const(finance(38));
var416:=const(finance(34));
var417:=const(finance(25)/finance(1));
var418:=const(finance(32));
var419:=const(finance(18));
var420:=dynainfo(39);
var421:=vol/capital*100;
var422:=dynainfo(17);
var423:=var410>3;
var424:=var410>0.01 and var410<=3;
var425:=var411>2;
var426:=var411>0;
var427:=var413>1;
var428:=var413>0;
var429:=var414>2;
var430:=var414>0.2;
var431:=var415>0.01;
var432:=var415>0.001;
var433:=var416>2;
var434:=var416>0.01;
var435:=var418>0.5;
var436:=var418>0.001;
var437:=var419>0.5;
var438:=var419>0.002;
var439:=var420<200;
var440:=var420<5000;
var441:=var421>0.1;
var442:=var421>0.01;
var443:=var98>0.8;
var444:=var98>0.3;
var445:=var423 and var425 and var427 and var429 and var431 and var433 and var435 and var437 and var439 and var441 and var443;
var446:=var424 and var426 and var428 and var430 and var432 and var434 and var436 and var438 and var440 and var442 and var444;
drawtext_fix(var445 and var446=0,0.645,0.09,0,42),colorred;
drawtext_fix(var446,0.685,0.09,0,43),colormagenta;
上一指标公式:趋势导航主图+用法说明配图指标下载 通达信源码
下一指标公式:操作区与风险区作用力与反作用力指标下载 通达信源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文不被套强式区一区四(副图源码)指标附实测图下载 通达信源码仅供学习研究。