桂竹逃頂原碼 桂竹逃頂 drawgbk(c>0,colorrgb(1,3333,6666),colorrgb(1,8888,8888),3); var1:=llv(l,10); var2:=hhv(h,25); 動(dòng)力線:ema((c-var1)/(var2-var1)*4,4),colorff; 底部線:0.2,colorff; 關(guān)注線:0.5,colorff60ff; 警戒線:2.8,colorffff00; 減倉(cāng)線:3.2; 賣(mài)出線:3.5; var3:=winner(c*96/100)*100; var4:=ema(var3,10); var5:=var4>65; var6:=var4>80; partline(動(dòng)力線<0.5,動(dòng)力線),Linethick3,colorff0000; partline(動(dòng)力線>=0.5 and 動(dòng)力線<=3.2 and ema(動(dòng)力線,3)<ema(ref(動(dòng)力線,1),3),動(dòng)力線),Linethick3,colorff00; partline(動(dòng)力線>3.2,動(dòng)力線),Linethick3,colorffff; stickline(動(dòng)力線>ref(動(dòng)力線,1),動(dòng)力線,ref(動(dòng)力線,1),8,1),colorff; stickline(動(dòng)力線<=ref(動(dòng)力線,1),動(dòng)力線,ref(動(dòng)力線,1),8,1),colorff00; drawtext(cross(動(dòng)力線,警戒線),2.7,'警 '),colorffff00; drawtext(cross(動(dòng)力線,減倉(cāng)線),3.1,'減 '),colorffff; drawtext(cross(動(dòng)力線,賣(mài)出線),3.8,'頂 '),colorffffff; drawicon(cross(動(dòng)力線,警戒線),3,5); drawicon(cross(動(dòng)力線,減倉(cāng)線),3.4,5); drawicon(cross(動(dòng)力線,賣(mài)出線),3.9,7); drawtext(cross(動(dòng)力線,底部線),0.1,'底'),colorff; drawicon(cross(動(dòng)力線,底部線),0.3,4); 血箭:if((h-l)/l>0.085 and (c-o)/o>0.06 and (o-l)/l<0.05,2.2,0),stick,Linethick3,colorffffff; drawicon(血箭>1,血箭*1.05,8); vare:=ref(l,1)*0.9; varf:=l*0.9; var100:=(varf*v+vare*(capital-v))/capital; var110:=ema(var100,30); var120:=c-ref(c,1); var130:=max(var120,0); var140:=abs(var120); var150:=sma(var130,7,1)/sma(var140,7,1)*100; var160:=sma(var130,13,1)/sma(var140,13,1)*100; var170:=barscount(c); var180:=sma(max(var120,0),6,1)/sma(abs(var120),6,1)*100; var190:=(-200)*(hhv(h,55)-c)/(hhv(h,55)-llv(l,55))+100; var1a:=(c-llv(l,15))/(hhv(h,15)-llv(l,15))*100; var1b:=sma((sma(var1a,4,1)-50)*2,3,1); var1c:=(indexc-llv(indexl,14))/(hhv(indexh,14)-llv(indexl,14))*100; var1d:=sma(var1c,4,1); var1e:=sma(var1d,3,1); var1f:=(hhv(h,30)-c)/c*100; var200:=var180<=25 and var190<-95 and var1f>20 and var1b<-30 and var1e<30 and var110-c>=-0.25 and var150<22 and var160<55 and var170>50; 明天低位血吸:if(cross(var200,0.5),2.5,0),stick,Linethick3,colorff00ff; 計(jì)算:=ref(c,1)*0.865; 再計(jì)算:=ref(c,13)*0.772; 流通盤(pán):=100*v/capital; 第二天買(mǎi):if((c-min(計(jì)算,再計(jì)算))/c<0.1 and sum(流通盤(pán),5)/5<1.8,2.5,0),colorff;股票論壇 www.55188.com |
|