DP:=strcmp('',stkname)<>0 and strcmp('深证',stkname)<>0;{当前是否为指数}{大盘线}TC:=STRCMP(STRLEFT(MARKETLABEL,2),'SZ');DPSH:="SH000001$CLOSE"/HHV(STKINDI('SH000001','wd.昨收#DAY'),0);DPSZ:="SZ399001$CLOSE"/HHV(STKINDI('SZ399001','wd.昨收#DAY'),0);DPC:=IF(INBLOCK('A股'),DYNAINFO(3)*IF(TC=0,DPSZ,DPSH),C);POLYLINE(C>0,DPC),COLOR9999ff,LINETHICK1,LAYER0;最新价:=NUMTOSTRN(DYNAINFO(7),2);:=NUMTOSTRN(DYNAINFO(14)*100,2);大盘:=NUMTOSTRN(INDEXC,2);DRAWTEXT( BARSTATUS=2,C ,'最新价:'+最新价+' 涨幅:'+涨幅+'%'),Colorffffff;DRAWTEXT(