ZCIN:=IF(CODELIKE('8') OR CODELIKE('688') OR CODELIKE('4') OR CODELIKE('68'),0,1);
停牌:=(DYNAINFO(4)=0);
去除:=ST AND ZCIN AND NOT(停牌);
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
VAR3:=SMA(MAX(CLOSE-VAR1,0),13,1)/SMA(ABS(CLOSE-VAR1),13,1)*100;
VAR4:=BARSLAST(VAR3<23)<=3 AND CROSS(VAR2,VAR3);
VAR5:=(CLOSE-MA(CLOSE,23))/MA(CLOSE,20)*100<(-12.5);
VAR6:=HHV(HIGH,10);
VAR7:=LLV(LOW,5);
VAR8:=EMA((CLOSE-VAR7)/(VAR6-VAR7)*100,4);
VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);
VAR10:=IF(L=LLV(L,48),L,DRAWNULL);
VAR11:=CONST(BARSLAST(VAR10=L))+1;
VAR12:=CONST(IF(VAR11=1,L,REF(L,VAR11-1)));
(VAR5 AND VAR8<=25)*0.5,COLORMAGENTA,LINETHICK3;
否极泰来:去除>0 AND VAR8<=25 AND VAR5 AND 0-(-1)*VAR4 AND L>=VAR12,COLORYELLOW,LINETHICK3;