IF(CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200824),C=ZTPRICE(REF(C,1),0.2),
C=ZTPRICE(REF(C,1),0.1)));
ZTCS90:=COUNT(涨停,90);
ZTCS125:=COUNT(涨停,125);
GZT1:=STRCAT(' 90日共涨停: ',CON2STR(ZTCS90,0));
GZT2:=STRCAT(GZT1,'次');
SSTS1:=STRCAT('125日共涨停: ',CON2STR(ZTCS125,0));
SSTS2:=STRCAT(SSTS1,'次');
NTZZT1:=STRCAT(' 距今:',CON2STR(CONST(BARSLAST(涨停)),0));
NTZZT2:=STRCAT(NTZZT1,'天有涨停');
ZTTJ1:=STRCAT(SSTS2,GZT2);
ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);
ZTTJ:=STRCAT('涨停统计:',ZTTJ2);
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.6,0,0,ZTTJ),COLORGREEN;