A1:=COUNT(C<O,5)<=3;
A2:=C/REF(C,5)<0.85;
A3:=(MA(CLOSE,5)-C)/MA(CLOSE,5)<0.2;
A4:=MA(C,20)>REF(MA(C,20),1);
A5:=(REF(C,1)-C)/REF(C,1)>0.09;
回踩买入:=A1 AND A2 AND A3 AND A4 AND NOT (A5);
STICKLINE(回踩买入,0,1,1,0),COLOR004FFD;
DRAWTEXT(回踩买入,0.8,' 回踩买入'),COLOR004FFD;