通达信实现K线图自动显示概念、主题、增减持等数据的方法(图解)

拾荒网 通达信公式 17

通达信7.63已经自带部分主要自定义数据(见图),如概念主题、实控人,公司地位,增减持、评级等等,可以直接引用,再也不用每天下载他人数据了。

1、复制下列代码到你主图指标中,保存。

DRAWTEXT_FIX(1,0.00,0.00,0,'概念:')COLOR0000FF;

DRAWTEXT_FIX(1,0.05,0.00,0,EXTERNSTR(1,10001))COLOR0000FF;

DRAWTEXT_FIX(1,0.00,0.05,0,'品类:')COLORFF00FF;

DRAWTEXT_FIX(1,0.05,0.05,0,EXTERNSTR(1,10004))COLORFF00FF;

DRAWTEXT_FIX(1,0.00,0.10,0,'实控:')COLORCYAN;

DRAWTEXT_FIX(1,0.05,0.10,0,EXTERNSTR(1,10007))COLORCYAN;

DRAWTEXT_FIX(1,0.00,0.15,0,'控型:')COLORCYAN;

DRAWTEXT_FIX(1,0.05,0.15,0,EXTERNSTR(1,10008))COLORCYAN;

DRAWTEXT_FIX(1,0.00,0.20,0,'地位:')COLORMAGENTA;

DRAWTEXT_FIX(1,0.05,0.20,0,EXTERNSTR(1,10010))COLORMAGENTA;

DRAWTEXT_FIX(1,0.00,0.25,0,'策略:')COLORWHITE;

DRAWTEXT_FIX(1,0.05,0.25,0,EXTERNSTR(1,10013))COLORWHITE;

DRAWTEXT_FIX(1,0.00,0.30,0,'业绩:')COLOR0000FF;

DRAWTEXT_FIX(1,0.05,0.30,0,EXTERNSTR(1,10014))COLOR0000FF;

DRAWTEXT_FIX(1,0.00,0.35,0,'解禁:')COLORGREEN;

DRAWTEXT_FIX(1,0.05,0.35,0,EXTERNSTR(1,10015))COLORGREEN;

DRAWTEXT_FIX(1,0.00,0.40,0,'增减持:')COLORYELLOW;

DRAWTEXT_FIX(1,0.05,0.40,0,EXTERNSTR(1,10016))COLORYELLOW;

DRAWTEXT_FIX(1,0.00,0.45,0,'评级:')COLORWHITE;

DRAWTEXT_FIX(1,0.05,0.45,0,EXTERNSTR(1,10017))COLORWHITE;

2、下载一次专业财务数据,重启软件。