N1:=6;
VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,N1),N1)/EMA(EMA(ABS(VAR1),N1),N1);
VAR3:=IF(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2< 0,2) AND CROSS(VAR2,MA(VAR2,2)),1,0);
VAR4:=IF(HHV(VAR2,2)=HHV(VAR2,7) AND COUNT(VAR2>50,2) AND CROSS(MA(VAR2,2),VAR2),1,0);
VAR5:=COUNT(C/REF(C,1)>1.099,13)>1;
VAR6:=FILTER(VAR3=1,5);
XG:VAR5 AND VAR6 NODRAW;
STICKLINE(IF(XG,120,0),10,0,1,0),COLORGREEN;
DRAWTEXT(XG,9.0,'抄底')COLORYELLOW;