hh:=v*100/capital;
aa:=(c-ref(c,1))*100/ref(c,1);
jj:=amount/100*v;
tt:=count(hh>=2.6 and aa>0 and c>=jj,91);
tt1:=count(hh>=2.6 and aa>0 and c>=jj,34);
tt2:=count(hh>=2.6 and aa>0 and c>=jj or aa>=hh-0.8 and aa>=2.2,34);
tt3:=count(hh>=1.5 and aa>1.5 and aa>=hh-0.6,34);
ya:=if(aa>0.8,hh,0);
yi:=if(aa<-0.8,-(1*hh),0);
bb:=ya+yi;
bs:=sum(bb,34);
t1:=tt2;
mt:=ma(t1,7);
t2:=bs/2;
t3:=t1+t2;
m1:=ema(t3,7);
z:=indexc;
a:=(z-ref(z,1))*100/z;
b:=(c-ref(c,1))*100/c;
cc:=b-a;
gd:=sum(cc,13);
gd1:=sum(cc,10);
q13:=if(gd>0,gd+5,gd);
q10:=if(gd1>0,gd1+5,gd1);
mq1:=if(ema(q13,13)>3,ema(q13,13)+1.5,ema(q13,13));
ma34:=ema(c,34);
sd1:=100*(c-llv(l,34))/(hhv(h,34)-llv(l,34));
m11:=ma(sd1,3)/4;
sd2:=100*(indexc-llv(indexl,34))/(hhv(indexh,34)-llv(indexl,34));
m2:=ma(sd2,3)/4;
hlp:=pwinner(1,c)*100;
d21:=llv(c,21);
d18:=llv(c,18);
aad:=(c-d21)*100/d21;
sss:=if(llv(hlp,6)<=6 and aa>=7.3 and c+0.04>=h and aad<=16 and d18<=llv(c,58) and c>ref(h,1) and count(aa<=1,5)>=2 and hlp<=68 and llv(c,13)=llv(c,21) and hh>=0.4 and (count(c>ema(c,34),9)<=0 or count(c>=ema(c,34),9)<=1 and c>=ema(c,34)),1,0);
eq:if(c<=1000,t3+q13,0),Linethick2;
stickline(q10>13.6,7,15,6,0),colorffff;
stickline(m11>=19 and c<=250,0,7,6,0),colorff;
mid:=ema(eq,26);
上线:mid+2*std(eq,26),colorff00;
lower:=mid-2*std(eq,26);
下线:if(c<=4000,ema(eq,13),0),Linethick2,colorff00;
oo2:20,colorff;
oo3:34,colorff;
drawicon(c<=1000 and sss=1,0,1);
评论(0)