板块:=STRLEFT(BKNAME,STRFIND(BKNAME,',' ,50)-1);
DRAWTEXTAbs(0,5,' '+' '+板块+' '),COLORYELLOW;
WW:=BArslAST(DISPSTATUS=1);
低涨:=(C/LLV(LOW,WW)-1)*100;
涨天:=BARSLAST(L=LLV(LOW,WW));
高跌:=(C/HHV(H,WW)-1)*100;
跌天:=BARSLAST(H=HHV(H,WW));
DRAWTEXTABS(12,20,'低点至今上涨:'+NUMTOSTRN(低涨,2)+'% '+NUMTOSTRN(涨天,0)+'天'),LINETHICK0,COLOR0000FF;
DRAWTEXTABS(12,35,'高点至今下跌:'+NUMTOSTRN(高跌,2)+'% '+NUMTOSTRN(跌天,0)+'天'),LINETHICK0,COLORGREEN;
DRAWTEXTABS(12,50,'目前可见k线:'+NUMTOSTRN(WW+1,0)+'天'),LINETHICK0,COLORCYAN;