a2:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
a3:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
a:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
a4 := ((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
a5 := ((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
a6 := ((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
s1:=(a2+a3+a+a4+a5+a6)/6;
s2:=ema(s1,3);
s3:=abs(a4-a6);
s4:=(s1+s3)/2;
s5:=(-1)*(ema(100*(1-WINNER(CLOSE)),1)-50)+50;
s6:=s5+s4;
s7:=IF( a1>0 and s6<0,200,0);
s8:=if(s4<0 and c=llV(c,5) and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and VOL/CAPITAL*100<5,-50,0);
s9:=if(s6<0 and s8=-50,100,0);
c0:=ref(c,2)*0.865;
c1:=ref(c,13)*0.772;
c2:=MIN(c0,c1);
c3:=100*vol/capital;
c4:=if((c-c2)/c<3/100 and sum(c3,5)/5<1.8,1,0);
aa:=if(c4>0 and (s8<0 or a1>0),100,0);
v1:=(((s7>0 and s9>0 and SUM(VOL/CAPITAL*100,5)/5<1) or c4>0) and (s8<0 or a1>0)) ;
v2:=((s7>0 and s9>0 and SUM(VOL/CAPITAL*100,5)/5<1) or (c4>0 and ref(c,1)/ref(c,2)>0.902));
v3:=v1 or v2;
v4:=aa or v3;
v5:=aa;
g:=MA(CLOSE,80)-MA(CLOSE,10)/3;
z:=if(v4>0,87,0);
z1:=if(v5>0,91,0);
z2:=if(aa>0 and CLOSE
Var2q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
q:= MA((CLOSE-Var2q)/Var2q,1);
xa:=ema(q,12)*0.7;
xb:=ema(q,3);
d:=if(llv(xb-xa,12)>0,0,-30);
LL:=REF(CLOSE,1);
MM:=SMA(MAX(CLOSE-LL,0),6,1)/SMA(ABS(CLOSE-LL),6,1)*100;
分批出: IF(CROSS(80,MM),50,100),COLORYELLOW;
Var1:=IF(MA(CLOSE,88),1,0);
趋势: WINNER(AMOUNT/VOL/100)*100*Var1;
阻:ABS((COST(50)-CLOSE)/CLOSE*100)*Var1;
DRAWTEXT(FILTER(COUNT(d<-20,3)=3,34),20,'抄底啦'),COLORRED,LINETHICK3;
抄底啦:FILTER(COUNT(d<-20,3)=3,34),STICK,LINETHICK1, COLORRED;
{顶尖财经 股票学院: }
STICKLINE(FILTER(COUNT(d<-20,3)=3,34),0,20,3,0),STICK,LINETHICK3,COLORRED;
DRAWTEXT(FILTER(z>80 and z1>90 and z2>90 and z3>90,13),60,'抢钱啦'),COLORWHITE,LINETHICK5;
0,pointdot, linethick1 ,COLORMAGENTA;