K:=EMA(C,2);
K1:=EMA(K,2);
K2:=EMA(K1,2);
K3:=EMA(K2,2);
快:=EMA(K1,3),COLORRED,LINETHICK1;
中:=EMA(K2,5),COLORYELLOW,LINETHICK1;
慢:=EMA(K3,7),COLORBLUE,LINETHICK1;
重心:=(2*C+H+L)/4,COLOR00FFFF,LINETHICK0;
SJ:=WMA((重心-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2);
A1:=EMA(C,14),COLORWHITE,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100;
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.095 AND C<REF(C,1)*1.118 AND C=H AND REF(C,1)<REF(C,2)*1.095;
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);
夹1:=C>REF(C,1)*1.095 AND REF(C,1)<REF(C,2)*1.095 AND REF(C,2)>REF(C,3)*1.095 AND REF(C,3)<REF(C,4)*1.095;
夹2:=C>REF(C,1)*1.095 AND REF(C,1)<REF(C,2)*1.095 AND REF(C,2)<REF(C,3)*1.095 AND REF(C,3)>REF(C,4)*1.095 AND REF(C,4)<REF(C,5)*1.095;
火箭:(一板 AND C>O AND V>REF(MAVOL1,1)*2) OR (M1 AND C>O) OR (M2) OR (M3) OR(夹1) OR (夹2) OR(crOSS(A1X,0) AND C>=REF(HHV(H,7),1) AND C>REF(C,1)*1.097 AND C=H AND CROSS(快,慢) AND C>=快 AND C>O);