新高天数:=topRANGE(H)+1,NODRAW;
值:=IF(ISLASTBAR,CONST(C*1.1),H);
明涨停新高天数:=TOPRANGE(值),NODRAW;
画线:CONST(C*1.1),LINETHICK2;
DRAWTEXT_FIX(1,0.89,0.91,0,' 新高天数:'),COLORRED;
DRAWNUMBER_FIX(1,0.93,0.91,0,CONST(新高天数));
DRAWTEXT_FIX(1,0.87,0.95,0,'明涨停新高天数:'),COLORGREEN;
DRAWNUMBER_FIX(1,0.93,0.95,0,CONST(明涨停新高天数));