S1:=BARSLAST(
FORM AT
TIME (1)=1);
竞额:=REF(M
ONEY FS,S1)/10000;
竞量:=REF(VOL,S1)/100;
昨额:=REF(MONEY,S1+1)/10000;
昨比:=竞额*100/昨额;
DRAWTEXT_FIX(1,0.51,0.76,0,
STRC AT(S
TRCA T(‘竞价金额:‘,T
OSTR ING(竞额,1)),‘万‘)),colorred;
DRAWTEXT_FIX(1,0.51,0.84,0,ST
RCAT (STRCAT(‘竞昨比:‘,
TOST RING (昨比,1)),‘%‘)),colorgreen;
DRAWTEXT_FIX(1,0.51,0.52,0,STRCAT (STRCAT(‘昨日成交额:‘,TOS
TRIN G (昨额,1)),‘万‘)),colorgreen;
量:=MAX(0,
SUBS AMED AY(&VOL));
A:=BARSLAST(DAYREF(DAY,1));
昨日最大量:=REF(HHV(量,A),A+1)/100;
比值:=竞量/昨日最大量*100;
DRAWTEXT_FIX(1,0.75,1.20,0,STRCAT(STRCAT(‘竞爆比:‘,TO
STRI NG(比值,1)),‘%‘)),colorcyan;
DRAWTEXT_FIX(1,0.04,0.81,0,‘行业:‘+BLOCK(0,0)+‘/‘+BLOCK(1,0)),coloryellow;
DRAWTEXT_FIX(1,0.04,1.20,0,‘概念:‘+BLOCK(3,8)),colorwhite;
DRAWTEXT_FIX(1,0.51,0.81,0,‘实际自由流通市值:‘+自由市值/100000000.00+‘亿‘),colorcyan;
S1:=BARSLAST(FORMATTIME(1)=1);
竞量:=REF(VOL,S1)/100;
竞换手Z:=竞量*10000/ZYLTGB;
DRAWTEXT_FIX(1,0.51,0.68,0,STRCAT(STRCAT(‘竞换手Z:‘,TOSTRING(竞换手Z,2)),‘%‘)),colorcyan;