ZTTJ:=(CLOSE>=ZTPRICE(REF(CLOSE,1),IF(FINANCE(3)=4,0.2,0.1)));
一板1:=ZTTJ AND NOT(REF(ZTTJ,1)) AND H=C AND FINANCE(42)>20;
一板:=C>REF(C,1)*1.065 AND C<REF(C,1)*1.118 AND C=H AND REF(C,1)<REF(C,2)*1.065;
M1:=一板 AND V<REF(V,1);
二连板1:=((C>=ZTPRICE(REF(C,1),0.1) AND FINANCE(42)>30 AND
REF(C,1)=ZTPRICE(REF(C,2),0.1)) OR
(C>=ZTPRICE(REF(C,1),0.2) AND FINANCE(42)>30 AND
REF(C,1)=ZTPRICE(REF(C,2),0.2)) AND NOT(REF(ZTTJ,2)));
二连板:=C>REF(C,1)*1.095 AND C<REF(C,1)*1.118 AND C=H AND
REF(C,1)>REF(C,2)*1.095 AND REF(C,1)<REF(C,2)*1.118 AND REF(C,1)=REF(H,1) AND REF(C,2)<REF(C,3)*1.095;
M2:=STICKLINE(二连板 AND V<REF(V,1),(O+C)/2,C,1,0),COLORRED;
三连板1:=(C>=ZTPRICE(REF(C,1),0.1) AND FINANCE(42)>20 AND
REF(C,1)=ZTPRICE(REF(C,2),0.1) AND
REF(C,2)=ZTPRICE(REF(C,3),0.1)) OR
(C>=ZTPRICE(REF(C,1),0.2) AND FINANCE(42)>20 AND
REF(C,1)=ZTPRICE(REF(C,2),0.2) AND
REF(C,2)=ZTPRICE(REF(C,3),0.2));
三连板:=C>REF(C,1)*1.095 AND C<REF(C,1)*1.118 AND C=H AND
REF(C,1)>REF(C,2)*1.095 AND REF(C,1)<REF(C,2)*1.118 AND REF(C,1)=REF(H,1) AND
REF(C,2)>REF(C,3)*1.095 AND REF(C,2)<REF(C,3)*1.118 AND REF(C,2)=REF(H,2);
M3:=三连板 AND V<REF(V,1);
MAvol1:=MA(V,5);
Y:=DRAWTEXT(一板 AND C>O AND V>REF(MAVOL1,1)*2,L-0.07,'一进二'),COLORRED;
Y1:=DRAWTEXT(M1 AND C>O,L-0.09,'一进二'),COLORRED;
E1:=DRAWTEXT(M2 ,L-0.07,'二进三'),COLORYELLOW;
E2:=DRAWTEXT(M3 ,O,'龙妖'),COLORYELLOW;
夹1:=C>REF(C,1)*1.075 AND REF(C,1)<REF(C,2)*1.095 AND REF(C,2)>REF(C,3)*1.075 AND REF(C,3)<REF(C,4)*1.075 AND H=C;
Y2:=DRAWTEXT(夹1 ,L-0.09,'一进二'),COLORYELLOW;
夹2:=C>REF(C,1)*1.075 AND REF(C,1)<REF(C,2)*1.075 AND REF(C,2)<REF(C,3)*1.075 AND REF(C,3)>REF(C,4)*1.075 AND REF(C,4)<REF(C,5)*1.075 AND H=C;
Y3:=DRAWTEXT(夹2 ,L-0.09,'一进二'),COLORYELLOW;
封单量:=DYNAINFO(58);
量比:=(V/240)/((REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5))/1200);
一J二:=(一板 AND C>O AND V>REF(MAVOL1,1)*2) OR (M1 AND C>O) OR 夹1 OR 夹2;
打一进二:(一J二 AND (量比>=1 AND 量比<=5)) AND ((封单量>10000 AND C>20) OR (封单量>30000 AND C>10 AND C<20) OR (封单量>80000 AND C<10));