X2:=ROUND2(1.2*REF(C,1),2); X3:=IF(CODELIKE('60') OR CODELIKE('00') ,ROUND2(1.1*REF(C,1),2),X2); ZT:=C>=X3 AND C=H AND INBLOCK('ST板块')=0; X1:=LLV(L,4)/LLV(L,20); T1:=HHV(V,3)< REF(V,3) AND EVERY(C>O AND ZT=0,4) AND X1<1.4; N1:=BARSLAST(T1); XG:(crOSS(C,REF(HHV(H,4),N1)) OR CROSS(C,REF(HHV(C,4),N1))) AND N1<4 AND ZT; STICKLINE(XG,0,30,4,0),COLORYELLOW; STICKLINE(XG,0,30,4,0),COLORYELLOW; STICKLINE(XG,0,30,0.22,0),COLORLIRED;
X2:=ROUND2(1.2*REF(C,1),2);
X3:=IF(CODELIKE('60') OR CODELIKE('00') ,ROUND2(1.1*REF(C,1),2),X2);
ZT:=C>=X3 AND C=H AND INBLOCK('ST板块')=0;
X1:=LLV(L,4)/LLV(L,20);
T1:=HHV(V,3)< REF(V,3) AND EVERY(C>O AND ZT=0,4) AND X1<1.4;
N1:=BARSLAST(T1);
XG:(crOSS(C,REF(HHV(H,4),N1)) OR CROSS(C,REF(HHV(C,4),N1))) AND N1<4 AND ZT;
STICKLINE(XG,0,30,4,0),COLORYELLOW;
STICKLINE(XG,0,30,4,0),COLORYELLOW;
STICKLINE(XG,0,30,0.22,0),COLORLIRED;