VAR1:=HHV(HIGH,25);
VAR2:=LLV(LOW,25);
VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20)/2,COLORF0F000,LINETHICK2;
VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
持股线:=VAR4/2,COLORRED,LINETHICK2;
VAR5:=C<HHV(C,60)*0.6 OR C<HHV(C,10)*0.8 OR C<HHV(C,3)*0.9 AND (H-L)/REF(C,1)>0.04 OR (REF(H,1)-REF(L,1))/REF(C,2)>0.08 AND V>MA(V,5) AND 持股线<10 AND 持股线>REF(持股线,1);
XG:VAR5=1;