主图显示K线动态行情---为方便、省事(源码、主图、贴图)介绍
主图显示K线动态行情---为方便、省事(源码、主图、贴图)
在交易中我们需看K线图,但动态行情往往看不成,转来转去不够方便,故在别人的基础上加进。左收 、今开、最新、涨停、最高、最低、涨幅。在主图最下中。较实用。
ztsp:=ref(c,1);
DRAWTEXTABS(170,230,'今开:'+o+' '),color00aa00,LINETHICK1;
DRAWTEXTABS(250,230,'左收:'+ztsp+' '),color00aa00,LINETHICK1;
DRAWTEXTABS(330,230,'最新:'+c+' '),color00aa00,LINETHICK1;
DRAWTEXTABS(410,230,'最高:'+h+' '),COLOR00aa00,LINETHICK1;
DRAWTEXTABS(480,230,'最低:'+l+' '),COLOR00aa00,LINETHICK1;
Z,f:=(c/ref(c,1)-1)*100;
DRAWTEXTABS(560,230,'涨幅:'+Z,f+'%'),color00aa00,LINETHICK1;
DRAWTEXTABS(660,230,'涨停:'+DYNAINFO(54)+' '),COLOR00aa00,LINETHICK1;
gd14718