G1:=CLOSE;
G2:=LOW;
G3:=OPEN;
G4:=HIGH;
GUP1:=G1/REF(G1,1)>1.05 AND G4/G1< 1.01 AND G1>REF(G1,1);
GUP2:=FILTER(GUP1,30);
STICKLINE(GUP2,1,60,2,0),COLORMAGENTA;
GUP3:=(G1-LLV(G1,10))/(HHV(G1,10)-LLV(G1,10));
GUP4:=CROSS(GUP3,0.05)*3 AND FILTER(G1/REF(G1,1)>1.048 AND C=H AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28);
STICKLINE(GUP4,0,80,2,0),COLORRED;
DRAWTEXT(GUP4,70,'↙肥牛'),COLORRED;
DRAWTEXT(GUP2,50,'↙精牛'),COLORMAGENTA;
GUP5:=LLV(G2,10);
GUP6:=HHV(G4,25);
GUP7:=EMA(((G1-GUP5)/(GUP6-GUP5))*4,4);
DRAWTEXT((CROSS(3.6,GUP7)),85,'↙逃顶'),LINETHICK1,COLORGREEN;