标注连板次数ZT:=C>REF(C,1)*1.095 AND C=H;
A:=BARSLASTCOUNT(ZT);
TJ:=(A>1 AND REFX(NOT(ZT),1)) OR (REF(ZT,1) AND ZT AND ISLASTBAR);
DRAWTEXT(TJ,H*0.95,VARCAT(VAR2STR(A,0),'天连板'))COLORYELLOW;
主图
A1:=REF(C,1)<REF(O,1); A2:=REF(C,2)>REF(O,2) AND REF(C,1)<REF(C,2); A3:=REF(C,2)<REF(O,2) AND REF(C,1)<REF(O,2); AA:=A1 OR A2 OR A3; B1:=C>O AND C>REF(H,1); B2:=ABS((REF(V,1)-LLV(V,N))/LLV(V,N))<=0.1; B3:=V/REF(V,1)>=1.8; BB:=B1 AND B2 AND B3; DB:AA AND BB;
ZT:=C>REF(C,1)*1.095 AND C=H; A:=BARSLASTCOUNT(ZT); TJ:=(A>1 AND REFX(NOT(ZT),1)) OR (REF(ZT,1) AND ZT AND ISLASTBAR); DRAWTEXT(TJ,H*0.95,VARCAT(VAR2STR(A,0),'天连板'))COLORYELLOW;