TD1:=3;
TD2:=5;
KB:=BARSCOUNT(CLOSE)<=15;
PT:=BARSCOUNT(CLOSE)<=20;
A1:=EVERY(C/REF(C,1)>=1.097 AND C=O,1);
A2:=BArslAST(A1)=1;
A3:=C/REF(C,1)<1.098 OR O/REF(C,1)<1.098 OR L/REF(C,1)<1.098;
B1:=REF(EVERY((C/REF(C,1)>1.099 AND O=C AND H=L),3),1);
B2:=O/REF(C,1)>1.099 AND H=O AND L<O;
B3:=O=C AND C=H AND L<C;
PA1:=BARSLAST(C/REF(C,1)>1.05)<1;
PA2:=REF(((HHV(H,TD1)-LLV(L,TD1))/LLV(L,TD1)),1)<=TD2/100
AND C>=REF(HHV(H,TD1),1) AND BARSCOUNT(C)>TD1;
一字板开板:=KB AND A2 AND A3;
T字板开板:=KB AND B3;
突破3日横盘:=PA1 AND PA2 AND PT;
开板:=一字板开板 OR T字板开板;
突破:一字板开板 OR T字板开板 OR 突破3日横盘;