通达信公式网 通达信公式网收录通达信公式、大智慧公式、飞狐公式等.域名jiachenglong.cn(谐音"假成龙")

loadding...

公式-板块显示(板块)

发布时间: 2013-10-12 06:59

两市的股票越来越多,很多的股票乍一看名称根本不知它是做什么的、什么行业。可以用板块显示来把股票的行业显示出来,属于哪个板块,一看一目了然,这样就方便我们更好地追踪热门板块。以下是指标的原码:

DRAWTEXT(DISPSTATUS=2 AND INBLOCK('化工')>0,10,'化工(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('电力')>0,10,'电力(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('电力设备')>0,10,'电力设备(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('电器')>0,10,'电器(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('奥运')>0,10,'奥运(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('电子信息')>0,10,'电子信息(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('房地产')>0,10,'房地产(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('纺织服装')>0,10,'纺织服装(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('钢铁')>0,10,'钢铁(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('工程建筑')>0,10,'工程建筑(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('供水供气')>0,10,'供水供气(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('化工化纤')>0,10,'化工化纤(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('化纤')>0,10,'化纤(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('机械')>0,10,'机械(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('计算机')>0,10,'计算机(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('交通工具')>0,10,'交通工具(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('建材')>0,10,'建材(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('交通设施')>0,10,'交通设施(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('教育传媒')>0,10,'教育传媒(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('旅游酒店')>0,10,'旅游酒店(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('煤炭石油')>0,10,'煤炭石油(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('酿酒食品')>0,10,'酿酒食品(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('农林牧渔')>0,10,'农林牧渔(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('汽车类')>0,10,'汽车类(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('汽配')>0,10,'汽配(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('券商')>0,10,'券商(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('商业连锁')>0,10,'商业连锁(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('石化')>0,10,'石化(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('通信')>0,10,'通信(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('外贸')>0,10,'外贸(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('医药')>0,10,'医药(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('仪电仪表')>0,10,'仪电仪表(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('银行类')>0,10,'银行类(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('有色金属')>0,10,'有色金属(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('运输物流')>0,10,'运输物流(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('造纸印刷')>0,10,'造纸印刷(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('参股金融')>0,-90,'参股金融(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('创投')>0,-90,'创投(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('航天军工')>0,-90,'航天军工(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('节能环保')>0,-90,'节能环保(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('煤化工')>0,-90,'煤化工(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('农业龙头')>0,-90,'农业龙头(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('数字电视')>0,-90,'数字电视(板块)'),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2 AND INBLOCK('网络游戏')>0,-90,'网络游戏(板

 

关于本站 | 法律声明 | 广告合作 | RSS订阅

备案号 琼ICP备13000527号-1 同花顺公式 | 通达信公式 | 通达信指标公式

jiachenglong.cn .All Rights Reserved 联系QQ:3309881897.