n:=14;
限制:=if(date<1501228,1,0);
a6a:=ref(high,6)=hhv(high,2*6+1);
b6a:=filter(a6a,6);
c6a:=backset(b6a,6+1);
d6a:=filter(c6a,6);
a7a:=ref(low,6)=llv(low,2*6+1);
b7a:=filter(a7a,6);
c7a:=backset(b7a,6+1);
d7a:=filter(c7a,6);
e6a:=(ref(llv(low,2*6),1)+ref(hhv(high,2*6),1))/2;
e7a:=(high+low)/2;
h6a:=(d6a and not(d7a and e6a>=e7a)) or barstatus=2 or barscount(close)=1;
h7a:=d6a and not(d7a and e6a>=e7a);
l6a:=d7a and not(d6a and e6a=e7a);
x6a:=ref(barslast(h6a),1)+1;
f6a:=backset(h6a and count(l6a,x6a)>0,llvbars(if(l6a,low,10000),x6a));
g6a:=f6a>ref(f6a,1);
i6a:=backset(g6a,2);
ld2a:=i6a>ref(i6a,1);
l7a:=ld2a or barstatus=2 or barscount(close)=1;
x7a:=ref(barslast(l7a),1)+1;
f7a:=backset(l7a and count(h7a,x7a)>0,hhvbars(if(h7a,high,0),x7a));
g7a:=f7a>ref(f7a,1);
i7a:=backset(g7a,2);
hd2a:=i7a>ref(i7a,1);
uu3a:=backset(barstatus=2,barslast(ld2a)+1);
vv3a:=uu3a>ref(uu3a,1);
ww3a:=backset(vv3a,ref(barslast(ld2a),1)+2);
xx3a:=ww3a>ref(ww3a,1);
drawline(xx3a and 限制,l,vv3a and 限制,l,1),color800040;
uu4a:=backset(barstatus=2,barslast(hd2a)+1);
vv4a:=uu4a>ref(uu4a,1);
ww4a:=backset(vv4a,ref(barslast(hd2a),1)+2);
xx4a:=ww4a>ref(ww4a,1);
drawline(xx4a and 限制,h,vv4a and 限制,h,1),color800040;
a6b:=ref(high,3)=hhv(high,2*3+1);
b6b:=filter(a6b,3);
c6b:=backset(b6b,3+1);
d6b:=filter(c6b,3);
a7b:=ref(low,3)=llv(low,2*3+1);
b7b:=filter(a7b,3);
c7b:=backset(b7b,3+1);
d7b:=filter(c7b,3);
e6b:=(ref(llv(low,2*3),1)+ref(hhv(high,2*3),1))/2;
e7b:=(high+low)/2;
h6b:=(d6b and not(d7b and e6b>=e7b)) or barstatus=2 or barscount(close)=1;
h7b:=d6b and not(d7b and e6b>=e7b);
l6b:=d7b and not(d6b and e6b=e7b);
x6b:=ref(barslast(h6b),1)+1;
f6b:=backset(h6b and count(l6b,x6b)>0,llvbars(if(l6b,low,10000),x6b));
g6b:=f6b>ref(f6b,1);
i6b:=backset(g6b,2);
ld2b:=i6b>ref(i6b,1);
l7b:=ld2b or barstatus=2 or barscount(close)=1;
x7b:=ref(barslast(l7b),1)+1;
f7b:=backset(l7b and count(h7b,x7b)>0,hhvbars(if(h7b,high,0),x7b));
g7b:=f7b>ref(f7b,1);
i7b:=backset(g7b,2);
hd2b:=i7b>ref(i7b,1);
uu3b:=backset(barstatus=2,barslast(ld2b)+1);
vv3b:=uu3b>ref(uu3b,1);
ww3b:=backset(vv3b,ref(barslast(ld2b),1)+2);
xx3b:=ww3b>ref(ww3b,1);
drawline(xx3b and 限制,l,vv3b and 限制,l,1),color009090;
uu4b:=backset(barstatus=2,barslast(hd2b)+1);
vv4b:=uu4b>ref(uu4b,1);
ww4b:=backset(vv4b,ref(barslast(hd2b),1)+2);
xx4b:=ww4b>ref(ww4b,1);
drawline(xx4b and 限制,h,vv4b and 限制,h,1),color888888;
a6e:=ref(high,13)=hhv(high,2*13+1);
b6e:=filter(a6e,13);
c6e:=backset(b6e,13+1);
d6e:=filter(c6e,13);
a7e:=ref(low,13)=llv(low,2*13+1);
b7e:=filter(a7e,13);
c7e:=backset(b7e,13+1);
d7e:=filter(c7e,13);{低点}
e6e:=(ref(llv(low,2*13),1)+ref(hhv(high,2*13),1))/2;
e7e:=(high+low)/2;
h6e:=(d6e and not(d7e and e6e>=e7e)) or barstatus=2 or barscount(close)=1;
h7e:=d6e and not(d7e and e6e>=e7e);
l6e:=d7e and not(d6e and e6e=e7e);
x6e:=ref(barslast(h6e),1)+1;
f6e:=backset(h6e and count(l6e,x6e)>0,llvbars(if(l6e,low,10000),x6e));
g6e:=f6e>ref(f6e,1);
i6e:=backset(g6e,2);
ld2e:=i6e>ref(i6e,1);
l7e:=ld2e or barstatus=2 or barscount(close)=1;
x7e:=ref(barslast(l7e),1)+1;
f7e:=backset(l7e and count(h7e,x7e)>0,hhvbars(if(h7e,high,0),x7e));
g7e:=f7e>ref(f7e,1);
i7e:=backset(g7e,2);
hd2e:=i7e>ref(i7e,1);
uu3e:=backset(barstatus=2,barslast(ld2e)+1);
vv3e:=uu3e>ref(uu3e,1);
ww3e:=backset(vv3e,ref(barslast(ld2e),1)+2);
xx3e:=ww3e>ref(ww3e,1);
drawline(xx3e and 限制,l,vv3e and 限制,l,1),colorred;
uu4e:=backset(barstatus=2,barslast(hd2e)+1);
vv4e:=uu4e>ref(uu4e,1);
ww4e:=backset(vv4e,ref(barslast(hd2e),1)+2);
xx4e:=ww4e>ref(ww4e,1);
drawline(xx4e and 限制,h,vv4e and 限制,h,1),colorgreen;
aw1:=ref(h,n)=hhv(h,2*n+1);
bw1:=filter(aw1,n);
cw1:=backset(bw1,n+1);
dw1:=filter(cw1,n);{高点}
aw2:=ref(l,n)=llv(l,2*n+1);
bw2:=filter(aw2,n);
cw2:=backset(bw2,n+1);
dw2:=filter(cw2,n);{低点}
ew1:=(ref(llv(l,2*n),1)+ref(hhv(h,2*n),1))/2;
ew2:=(h+l)/2;{高低点出现在同一k线上时可作取舍}
hw1:=(dw1 and not(dw2 and ew1>=ew2)) or barstatus=2 or barscount(c)=1;
lw1:=(dw2 and not(dw1 and ew1<ew2));
hw2:=dw1 and not(dw2 and ew1>=ew2);
xw1:=ref(barslast(hw1),1)+1;
fw1:=backset(hw1 and count(lw1,xw1)>0,llvbars(if(lw1,l,10000),xw1));
gw1:=fw1>ref(fw1,1);
iw1:=backset(gw1,2);
ldw:=iw1>ref(iw1,1);{过滤后低点}
lw2:=ldw or barstatus=2 or barscount(c)=1;
xw2:=ref(barslast(lw2),1)+1;
fw2:=backset(lw2 and count(hw2,xw2)>0,hhvbars(if(hw2,h,0),xw2));
gw2:=fw2>ref(fw2,1);
iw2:=backset(gw2,2);
hdw:=iw2>ref(iw2,1);{过滤后高点}
rw1:=backset(barstatus=2,barslast(hdw)+1);
sw1:=rw1>ref(rw1,1); {前一高}
tw1:=backset(barstatus=2,barslast(ldw)+1);
uw1:=tw1>ref(tw1,1); {前一低}
rw2:=backset(sw1,ref(barslast(hdw),1)+2);
sw2:=rw2>ref(rw2,1); {前二高}
tw2:=backset(uw1,ref(barslast(ldw),1)+2);
uw2:=tw2>ref(tw2,1); {前二低}
rw3:=backset(sw2,ref(barslast(hdw),1)+2);
sw3:=rw3>ref(rw3,1); {前三高}
tw3:=backset(uw2,ref(barslast(ldw),1)+2);
uw3:=tw3>ref(tw3,1); {前三低}
rw4:=backset(sw3,ref(barslast(hdw),1)+2);
sw4:=rw4>ref(rw4,1); {前四高}
tw4:=backset(uw3,ref(barslast(ldw),1)+2);
uw4:=tw4>ref(tw4,1); {前四低}
rw5:=backset(sw4,ref(barslast(hdw),1)+2);
sw5:=rw5>ref(rw5,1); {前五高}
tw5:=backset(uw4,ref(barslast(ldw),1)+2);
uw5:=tw5>ref(tw5,1); {前五低}
rw6:=backset(sw5,ref(barslast(hdw),1)+2);
sw6:=rw6>ref(rw6,1); {前六高}
tw6:=backset(uw5,ref(barslast(ldw),1)+2);
uw6:=tw6>ref(tw6,1); {前六低}
忽悠涨停板:drawline(uw4 and 限制,l,uw3 and 限制,l,0),colorff00ff;
qq群号40344705:drawline(uw3 and 限制,l,uw2 and 限制,l,0),color8080ff;
提示是参考!:drawline(sw2 and 限制,h,sw1 and 限制,h,1),colorcyan;
决策在人脑!:drawline(uw2 and 限制,l,uw1 and 限制,l,1),colorfaabec;
公式本人所有:drawline(sw5 and 限制,h,sw4 and 限制,h,1),colorff9c00;
q号461312276:drawline(uw5 and 限制,l,uw4 and 限制,l,1),color400080;
祝大家合家幸福:drawline(sw6 and 限制,h,sw5 and 限制,h,0);
财源滚滚!:drawline(uw6 and 限制,l,uw5 and 限制,l,0),color800080;
个人观点!:drawline(sw3 and 限制,h,sw2 and 限制,h,0),colorblue;
仅供参考!:drawline(sw4 and 限制,h,sw3 and 限制,h,1),color009900;
ma20:=ma(close,20);
ma25:=ma(close,35);
diff:=ema(close,12) - ema(close,26);
dea :=ema(diff,9);
macd := 2*(diff-dea);
真见招:ma(close,9),color006600;
aa12:=ma(close,12);
bb10:=((atan((真见招 - ref(真见招,1))) * 3.1416) * 10);
bb12:=((atan((aa12 - ref(aa12,1))) * 3.1416) * 10);
var1q:=((((open + low) + high) + close) / 4);
强力支撑:=llv(low,30);
强力压力:=hhv(high,27);
短底:=ema(var1q,5);
支撑:=hhv(短底,60);
压力一:=hhv(low,23);
压力:=sma(low,5,1);
中线:ma(close,3),color2f2f6f;
drawtext(filter((((high > 支撑) and (close < 支撑)) and 限制 and ((close / open) > (0 - 1.06))),5),(high)*(1.02),'逃'),align1,color009900;
中轨:=(ma(high,15) * 1.05);
天:=(ma(low,15) * 0.985);
人:=(ma(low,15) * 0.96);
地:=(((high + low) + close) / 3);
b1:=hhv(地,(4 * 15));
b6:=llv(地,(4 * 15));
b7:=(b1 - b6);
b8:=(ma(((地 - b6) / b7),2) * 80);
var1:=(((close - llv(low,100)) / (hhv(high,100) - llv(low,100))) * 200);
顶底线:=sma(var1,3,1);
var2:=sma(顶底线,3,1);
var3:=((3 * 顶底线) - (2 * var2));
var4:=llv(low,5);
var5:=hhv(high,5);
var6:=(ema((((close - var4) / (var5 - var4)) * 100),4) * 2);
var7:=ema(((0.667 * ref(var6,1)) + (0.333 * var6)),2);
var8:=((3 * var6) - (2 * var7));
var9:=(pow(ma(close,5),2) + ma(close,5));
vara:=(pow(ma(low,5),2) + ma(low,5));
varb:=(pow(ma(high,5),2) + ma(high,5));
varc:=(((((var9 - llv(vara,64)) / (hhv(varb,64) - llv(vara,64))) * 150) + 65) - 10);
vard:=((sma(varc,3,1) * 1.5) - 100);
vare:=sma(vard,3,1);
varf:=((3 * vard) - (2 * vare));
var10:=(((high + low) + (close * 2)) / 4);
var11:=ema(var10,13);
var12:=std(var10,13);
var13:=(((var10 - var11) * 100) / var12);
var14:=ema(var13,5);
var15:=ema(var14,13);
var16:=((ema(var14,13) + 200) - 100);
var17:=ema(var16,10);
var18:=((3 * var16) - (2 * var17));
var19:=(((顶底线 + var6) + vard) + var16);
var1a:=(((var2 + var7) + vare) + var17);
var1b:=(((var3 + var8) + varf) + var18);
var1c:=(((high + low) + close) / 3);
var1d:=((amount / vol) / 100);
var1e:=((sum(amount,5) / sum(vol,5)) / 100);
var1f:=((var1c - ma(var1c,34)) / (0.015 * avedev(var1c,34)));
var20:=dma(((amount / vol) / 100),(vol / capital));
var21:=((((high + low) + close) + var1c) / 4);
var22:=ema(var21,24);
var23:=std(var21,24);
var24:=(((var21 - var22) / var23) * 100);
var25:=((var1c - ma(var1c,24)) / (0.015 * avedev(var1c,24)));
var26:=ema(var24,5);
var27:=((var1d - ma(var1d,21)) / (0.015 * avedev(var1d,21)));
var28:=((var1e - ma(var1e,90)) / (0.015 * avedev(var1e,90)));
var29:=(((((((var28 + var27) + var26) + var25) + var1f) / 5) + 165) / 4);
var2a:=(((((var19 + var1a) + (var1b * 30)) / 32) / 5) - 15);
var2b:=(((var29 + var2a) / 2) / 1.1);
var2c:=var2b;
mid:=ma(close,26);
boll上:=mid + 2*std(close,26);
boll下:=mid -2*std(close,26);
短线:=ma(var2c,26);
mid1:=(短线 + (2 * std(var2c,26)));
upper1:=(短线 - (2 * std(var2c,26)));
lower1:=if((var2c > 短线),短线,var2c);
短期底:=(llv(high,30) * 0.9125);
ma80:=llv(high,30);
短期底二:=sma(close,2,1);
趋势:=(ma(low,10) * 0.96);
趋:=(ema(open,107) * 0.897);
超跌二:=ma(close,15);
man:=(sma(high,21,2) * 1.05);
上一:=(hhv(短底,60) * 0.92);
压力二:=(sma(high,21,2) * 1.035);
阻挡线:=(sma(low,21,2) * 0.96);
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rsv:=sma(下档线,3,1);
k:=sma(rsv,3,1);
d:=((3 * rsv) - (2 * k));
j:=(((close - ma(close,6)) / ma(close,6)) * 100);
var2p:=(((close - ma(close,12)) / ma(close,12)) * 100);
var3p:=(((close - ma(close,24)) / ma(close,24)) * 100);
var4p:=(((j + (2 * var2p)) + (3 * var3p)) / 6);
var5p:=ma(var4p,3);
var6p:=(((close - llv(low,34)) / (hhv(high,34) - llv(low,34))) * 100);
rsv12:=sma(var6p,3,1);
k12:=sma(rsv12,3,1);
d12:=((3 * rsv12) - (2 * k12));
j12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(j12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
vzr2:=llv(low,27);
vzr3:=hhv(high,34);
vzr4:=ema((close-vzr2)/(vzr3-vzr2)*4,4)*25;
注意买:=if((vzr4<10),80,100);
zsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
ka:=sma(zsv,3,1);
db:=sma(ka,3,1);
jd:=3*ka-2*db;
超跌:=if(jd<0,10,0);
bddd:=llv(jd,2)=llv(jd,8);
买入:=if(cross(jd,ref(jd+0.01,1)) and bddd and jd<20,30,0);
百比:=(close/open)<1.0124;
drawtext(买入 and 注意买=100 and 限制 and 超跌=0 and 百比,low,'短炒'),align1,color2f2f5f;
压力位:=if(cross(d24,d),high,l);
支撑位:=if((close >= ma(close,20)),80,50);
u2l:=if((close >= ma(close,20)),50,20);
中期支撑:=llv(high,30);
rl5:=(sma(high,5,2) * 1.05);
上:=(sma(low,5,2) * 0.96);
下:=sma(low,2,1);
中:=(((((3 * close) + high) + low) + open) / 6);
x1:=ema(中,10);
x2:=ref(x1,1);
x3:=((ref(high,1) + ref(low,1)) / 2);
x4:=(ma(close,21) + (2 * std(close,21)));
x5:=ref(close,1);
x6:=((sma(max((close - x5),0),7,1) / sma(abs((close - x5)),7,1)) * 100);
x7:=cross(79,x6);
x9:=ma(close,115);
x10:=cross(x6,79);
x11:=filter(x10,4) and 限制;
ma2:=ma(vol,10);
drawtext(x11 and vol>ma2,(high * 1.04),'调'),align1,colorff9c00;
csy:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;
yjd:=(ema(csy,3)-50)*2;
见风2:=ref(yjd>70,1);
过滤:=filter(见风2,2);
趋势线:=3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)-2*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1);
趋势参考:=ema(趋势线,3);
高顶:vertline(趋势线>85 and 限制 and 趋势线<105 and (趋势线/趋势参考)>1.03,3),color003300;
趋势参考2:=趋势线>20 and ref(趋势线<80,1);
drawtext(过滤 and 趋势参考2 and vol>ma2 and 限制,(high * 1.06),'减'),align1,color00ff00;
老婆:=(真见招-中线)>0.038;
老公:=(真见招-ref(真见招,1))< 0.0125 and 中线<ref(中线,1) and 中线>真见招;
反正切:=(c+l+h)/3;
二奶:=ma(反正切,9)-ref(ma(反正切,3),1)>0.1;
二奶2:=ma(反正切,9)-ref(ma(反正切,3),1)>0.125;
深底:vertline(趋势线<=6.1 and 二奶2 and vol>ma2*0.668 and 限制 and (趋势参考/趋势线)>1.035,4),color2f0f3f;
逃遁:=(sma(high,21,2) * 1.05);
stickline((open >= close),close,open,7,0),colorff1100;
stickline((open >= close),close,open,6,0),colorff3300;
stickline((open >= close),close,open,5,0),colorff5500;
stickline((open >= close),close,open,4,0),colorff7700;
stickline((open >= close),close,open,3,0),colorff9900;
stickline((open >= close),close,open,2,0),colorffbb00;
stickline((open >= close),close,open,1,0),colorffdd00;
stickline(close>=open,close,open,7,0) ,color000055;
stickline(close>=open,close,open,6,0) ,color000066;
stickline(close>=open,close,open,5,0) ,color000077;
stickline(close>=open,close,open,4,0) ,color000099;
stickline(close>=open,close,open,3,0) ,color0000bb;
stickline(close>=open,close,open,2,0) ,color0000dd;
stickline(close>=open,close,open,1,0) ,color0000ff;
stickline(((((close / open) > 1.04) and (close < 逃遁)) and 趋势线<25 and ((close - ref(close,1)) > 0)),close,open,7,0),colorff11ff;
stickline(((((close / open) > 1.04) and (close < 逃遁)) and 趋势线<25 and ((close - ref(close,1)) > 0)),close,open,6,0),colorff33ff;
stickline(((((close / open) > 1.04) and (close < 逃遁)) and 趋势线<25 and ((close - ref(close,1)) > 0)),close,open,5,0),colorff55ff;
stickline(((((close / open) > 1.04) and (close < 逃遁)) and 趋势线<25 and ((close - ref(close,1)) > 0)),close,open,4,0),colorff77ff;
stickline(((((close / open) > 1.04) and (close < 逃遁)) and 趋势线<25 and ((close - ref(close,1)) > 0)),close,open,3,0),colorff99ff;
stickline(((((close / open) > 1.04) and (close < 逃遁)) and 趋势线<25 and ((close - ref(close,1)) > 0)),close,open,2,0),colorffbbff;
stickline(((((close / open) > 1.04) and (close < 逃遁)) and 趋势线<25 and ((close - ref(close,1)) > 0)),close,open,1,0),colorffddff;
stickline(((((close < ref(close,1)) and (close < ref(close,1))) and 趋势线>75 and (high > 逃遁)) and (close < 逃遁)),close,open,7,0),color003300;
stickline(((((close < ref(close,1)) and (close < ref(close,1))) and 趋势线>75 and (high > 逃遁)) and (close < 逃遁)),close,open,6,0),color005500;
stickline(((((close < ref(close,1)) and (close < ref(close,1))) and 趋势线>75 and (high > 逃遁)) and (close < 逃遁)),close,open,5,0),color007700;
stickline(((((close < ref(close,1)) and (close < ref(close,1))) and 趋势线>75 and (high > 逃遁)) and (close < 逃遁)),close,open,4,0),color009900;
stickline(((((close < ref(close,1)) and (close < ref(close,1))) and 趋势线>75 and (high > 逃遁)) and (close < 逃遁)),close,open,3,0),color00bb00;
stickline(((((close < ref(close,1)) and (close < ref(close,1))) and 趋势线>75 and (high > 逃遁)) and (close < 逃遁)),close,open,2,0),color00dd00;
stickline(((((close < ref(close,1)) and (close < ref(close,1))) and 趋势线>75 and (high > 逃遁)) and (close < 逃遁)),close,open,1,0),color00ff00;
阻挡:=(sma(low,21,2) * 0.94);
drawtext((((((cross(var2c,短线) and 限制 and ((close - ref(high,1)) > 0)) and ((中线 - ref(中线,1)) > 0)) and (high <= 压力一)) and (close < ma20)) and (low <= 中线)),(low - 0.06),'关注'),align1,colorfaabec;
drawtext(filter(((((((low <= 天) and 限制 and (close >= ma20)) and (high < 压力一)) and ((天 - ref(天,1)) > 0)) and (close < 压力一)) and ((ma20 - ref(ma20,1)) > 0)),6) and (low<=((强力压力+短期底)/2)),(low - 0.24),'全仓'),align1,color4f2f4f;
drawtext(((((low <= 上) and (high >= 短期底)) and 限制 and (close >= 中期支撑))and (low<=((强力压力+强力支撑)/2)) and((close/low)>1.026 )) ,l * 0.97,'短'),align1,color0000ff;
drawtext(((((low <= 上) and (high >= 短期底)) and 限制 and (close >= 中期支撑))and (low<=((强力压力+强力支撑)/2)) and((close/low)>1.026 )) ,l * 0.92,'炒'),align1,color0000ff;
drawtext((((cross(ma20,压力位) and 限制 and (low <= ma20)) and ((ma20 - ref(ma20,1)) > 0.02)) and 老婆 and (macd>-0.03)),(low - 0.07),'佳'),align1,color999999;
drawtext((((cross(ma20,压力位) and 限制 and (low <= ma20)) and ((ma20 - ref(ma20,1)) > 0.02)) and 老公 and (macd>-0.03)),(low - 0.07),'佳'),align1,color9a589f;
drawtext(((cross(ma25,压力位) and 限制 and (low <= ma25)) and ((ma25 - ref(ma25,1)) > 0.02)) and (low<=((强力压力+短期底)/2)),(low - 0.35),'绝佳'),align1,color0000b7;
drawtext((low <= 强力支撑) and 限制 and (close > low) and((close/low)>1.0175) and (low/boll下)<0.9375,l * 0.935,'底'),align1,color0000b7;
b1u:=sum(if(close>ref(close,1),vol,if(close < ref(close,1),0-vol,0)),0);
b2u:=40;
b3u:=if(close>llv(close,b2u),1,-1)*if(b1u>llv(b1u,b2u),1,-1);
b4u:=if(b3u=-1,1,0);
b5u:=count(b4u=1,8)>3;
b6u:=sum(amount,13)/(amount/vol/100)/100;
b7u:=dma((high+low+close)/3,vol/b6u);
b8u:=(close-b7u)/b7u*100<-21;
b9u:=(close-min(ref(close,5)*0.830,ref(close,21)*0.720))/close<0.045;
drawtext(b8u and b9u and 趋势线>-1.5 and vol>ma2*0.7 and 限制 and b5u,(low - 0.42),'财'),align1,color9dffff;
见招线:=100*(close-llv(low,10))/(hhv(close,10)-llv(low,10));
曾见招:=if(cross(见招线,3),1,0) and 二奶2 and 限制;
招线:vertline(曾见招 ,1),color555555;
a1n:=(c/ma(c,48))<0.75;
a2n:=(c/ma(c,70))<0.70;
a3n:=a1n and a2n;
a4n:=v<ref(v,1)*2.8 and (count(c<o*0.966,2)=2 or count(h/l>1.1085,5)>2.99);
a5n:=a3n and ((c-l)/c>0.03 or c>ref(c,1)*1.012) and a4n;
a7n:=(((close / ma(close,40)) * 100) < 78);
a8n:=(((close / ma(close,60)) * 100) < 74);
a9n:=(high > (low * 1.08));
a10n:=(a9n and (count(a9n,5) >2));
a11n:=dma(close,vol/sum(vol,34));
a12n:=dma(close,vol/sum(vol,13));
a13n:=(close-a11n)/a11n*100;
a14n:=(close-a12n)/a12n*100;
a15n:=a14n<=-20 and a13n<=-35.8;
aan:=if((a10n and (a7n or a8n)),2,0);
bbn:=c/ref(c,25)<=0.698;
ccn:=(sma(max(c-ref(c,2),0),7,1)/sma(abs(c-ref(c,2)),7,1)*100)<15;
v3n:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;
ddn:=sma(v3n,2,1);
v5n:=sma(ddn,2,1);
een:=if(ddn>ref(ddn,1) and ref(ddn,1)<ref(ddn,2) and ddn<20 ,1.5,0);
ffn:=bbn and aan and ccn and een;
宝宝1:=a5n and a15n and ffn and 限制;
vbd1:=close/ma(close,15)*100<77.3;
vbd2:=close/ma(close,30)*100<69.4;
vbd3:=high>=low*1.13146;
vbd4:=vbd3 and count(vbd3,6)>=2;
宝宝2:=(vbd4 and (vbd1 or vbd2) and count(high=low and close=open and close<ref(close,1),3)=0)*10 and 限制;
drawtext(宝宝2,l * 0.905,'宝'),align1,linethick3,color0000ff;
drawtext(宝宝1,l * 0.903,'宝'),align1,linethick3,colore6e8fa;
宝宝3:=c/ma(c,48)<0.74 and c/ma(c,70)<0.69 and ((c-l)/c>0.03 or c>ref(c,1)*0.97) and v<ref(v,1)*2.8 and (count(c<o*0.958,2)=2 or count(h/l>1.1072,5)>3) and (close-dma(close,vol/sum(vol,13)))/dma(close,vol/sum(vol,13))*100<=-25.2 and (close-dma(close,vol/sum(vol,34)))/dma(close,vol/sum(vol,34))*100<=-29.8 and 限制;
drawtext(宝宝3,l * 0.901,'宝'),align1,linethick3,colorff9c00;
drawtextrel(408.5,980.5,stklabel+stkname+' 流通股:'+numtostrn(finance2(37),0)+'万'),color1dffff;
drawtextabs(2,4,'市盈率:'+dynainfo(39)),color9dffff;
drawtextabs(110,4,'市净率:'+c/finance2(4)),color9dffff;
drawtextabs(218,4,'最新收益:'+finance2(3)+'元 '),color9dffff;
drawtextabs(326,4,'莸利比例:'+winner(c )*100),color9dffff;
drawtextabs(434,4,'主营收入同比增长:'+finance2(11)+'% '),color9dffff;
drawtextabs(588,4,'净利润同比增长:'+finance2(10)+'% '),color9dffff;
drawtextabs(2,17,'板块名称:'+bkname),color9dffff;
drawtextabs(688,17,'评级:'+extrastring('评级')),color9dffff;
tj:=if((c-ref(c,1))/ref(c,1)>0.025,1,0);
yl:=if(c>ref(o,barslast(tj =1)),ref(o,barslast(tj =1)),0);
ft:=barslast(yl);
ylx:=ref(yl,ft);
平台突破:=cross(c,ylx);
vak2:=ref(low,1);
vak3:=sma(abs(low-vak2),13,1)/sma(max(low-vak2,0),13,1)*100;
vak4:=ema(if(close*1.2,vak3*13,vak3/13),13);
vak5:=llv(low,34);
vak6:=hhv(vak4,34);
vak7:=if(llv(low,56),1,0);
vak8:=ema(if(low<=vak5,(vak4+vak6*2)/2,0),3)/618*vak7;
主力进场:=vak8>ref(vak8,1);
进场:=ref(主力进场,1);
drawtext(进场 and 限制 and 平台突破 ,l * 0.97,'进'),align1,color8000ff;
vame:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
vamf:=100-3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
vam10:=100-3*sma((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
vam11:=vamf<ref(vam10,1) and vol>ref(vol,1) and close>ref(close,1);
drawtext(vam11 and 趋势线<35 and 限制 and count(vam11,30)=1,low*0.95,'动'),align1,colorff00ff;
vam12:=(high+low+close)/3;
vam13:=(vam12-ma(vam12,14))/(0.015*avedev(vam12,14));
vam14:=(vam12-ma(vam12,70))/(0.015*avedev(vam12,70));
vam15:=if(vam13>=150 and vam13<200 and vam14>=150 and vam14<200,10,0);
vam16:=if(vam13<=-150 and vam13>-200 and vam14<=-150 and vam14>-200,-10,vam15);
vam17:=(close-ma(close,13))/ma(close,13)*100;
vam18:=100-abs(vam17);
vam19:=if(vam18<90,vam18,100);
vam1a:=if(vame>0,vame,0);
vam1b:=if(vam14>=200 and vam13>=150,15,if(vam14<=-200 and vam13<=-150,-15,vam16))+60;
vam1c:=vam1a>48 and vam1b>60 and vam19<100;
drawtext(vam1c and 限制 and count(vam1c,30)=1,high*1.03,'战'),align1,colorff00ff;
drawtextrel(2,980.5,'底部区域:'+numtostr(cost(0.33))),color0000ff;
drawtextrel(128,980.5,'安全区域:'+numtostr(cost(5))),colorff00ff;
drawtextrel(2,950.5,'投机区域:'+numtostr(cost(15))),color00ddff;
drawtextrel(128,950.5,'风险区域:'+numtostr(cost(55))),color00ff00;
限制2:=if(date>1091228,1,0);
时限线:vertline(限制2,1),color9dffff;
上一指标公式:八仙过海公式 源码 大智慧过海
下一指标公式:资金分时公式 源码 大智慧资金
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文板板主图公式 源码 大智慧板主仅供学习研究。