趋势线:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))- SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);
GUB2:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);
GUB3:=EMA(GUB2,7);
GUB4:=EMA(GUB3,10);
GUB5:=(3)*(GUB3)-(2)*(GUB4);
GUB6:=EMA(GUB5,5);
底部:=IF((趋势线<=5),1,0),COLORFF00FF;
串:=EMA(GUB6,1);
彩色:=IF(REF((COUNT((串<=REF(串,1)),5)=5),1) AND (串>REF(串,1)),1,0);
成功抄底:=(彩色 AND 底部),COLORRED;
去除ST和停牌:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR DYNAINFO(4)=0);
去除科创板:=IF(CODELIKE('688'),0,1);
市值:=FINANCE(40)/100000000;
XG:成功抄底 AND 去除ST和停牌 AND 去除科创板 AND 市值<50;