F10基本资料(需要聚源资讯F10支持)[其他软件公式]
相关标签:
a:=F10FIND('主要指标:',1);c0:=F10FIND('各家评论',a);aa:=F10TEXT(c0,6600);e1:=F10FIND('每股现金净流量(元)',a);
y1:=F10FIND('指标名称',a);a2:=F10FIND('每股收益(元)',a);c1:=F10FIND('每股净资产(元)',a);
d1:=F10FIND('净资产收益率(%)',a);f1:=F10FIND('每股资本公积金(元)',a);i1:=F10FIND('净利润增长率(%)',a);
EXPLAIN(CLOSE,''+aa+''),COLOR00DDDD;b1:=F10FIND('主营业务利润率(%)',a);
DRAWTEXTEX(CLOSE,1,70,0,STKLABEL+' '+STKNAME+''),ColorFFEE00;
n1:=F10TEXT(y1+15,2);nn1:=F10TEXT(y1+18,2);nn2:=F10TEXT(y1+21,2);n2:=F10TEXT(y1+35,2);
n3:=F10TEXT(y1+45,2);n4:=F10TEXT(y1+55,2);aa1:=STRTONUM(F10TEXT(a2+20,10));
a01:=STRTONUM(F10TEXT(a2+30,10));aa2:=STRTONUM(F10TEXT(a2+40,10));
aa3:=STRTONUM(F10TEXT(a2+50,10));aa4:=STRTONUM(F10TEXT(a2+60,10));
bb1:=STRTONUM(F10TEXT(b1+20,10));bb2:=STRTONUM(F10TEXT(b1+40,10));
bb3:=STRTONUM(F10TEXT(b1+50,10));bb4:=STRTONUM(F10TEXT(b1+60,10));
cc1:=STRTONUM(F10TEXT(c1+20,10));cc2:=STRTONUM(F10TEXT(c1+40,10));
cc3:=STRTONUM(F10TEXT(c1+50,10));cc4:=STRTONUM(F10TEXT(c1+60,10));
dd1:=STRTONUM(F10TEXT(d1+20,10));dd2:=STRTONUM(F10TEXT(d1+40,10));
dd3:=STRTONUM(F10TEXT(d1+50,10));dd4:=STRTONUM(F10TEXT(d1+60,10));
ee1:=STRTONUM(F10TEXT(e1+20,10));ee2:=STRTONUM(F10TEXT(e1+40,10));
ee3:=STRTONUM(F10TEXT(e1+50,10));ee4:=STRTONUM(F10TEXT(e1+60,10));
ff1:=STRTONUM(F10TEXT(f1+20,10));ff2:=STRTONUM(F10TEXT(f1+40,10));
ff3:=STRTONUM(F10TEXT(f1+50,10));ff4:=STRTONUM(F10TEXT(f1+60,10));
ii1:=STRTONUM(F10TEXT(i1+20,10));ii2:=STRTONUM(F10TEXT(i1+628,10));
ii3:=STRTONUM(F10TEXT(i1+642,10));ii4:=STRTONUM(F10TEXT(i1+656,10));
STICKLINE(BARPOS=DATACOUNT-45,0,aa1,80,0),COLOR0099FF;
STICKLINE(BARPOS=DATACOUNT-35,0,a01,80,0),COLOR009900;
STICKLINE(BARPOS=DATACOUNT-25,0,aa2,80,0),COLOR000099;
STICKLINE(BARPOS=DATACOUNT-15,0,aa3,80,0),COLORBB00BB;
STICKLINE(BARPOS=DATACOUNT-5,0,aa4,80,0),COLORBB0000;
DRAWTEXTEX(CLOSE,1,10,120,'报告时间: '),coloryellow;
DRAWTEXTEX(CLOSE,1,90,120,''+n1+'-'+nn1+'-'+nn2+'季报'),coloryellow;
DRAWTEXTEX(CLOSE,1,220,120,'20'+n2+'年报'),coloryellow;
DRAWTEXTEX(CLOSE,1,320,120,'20'+n3+'年报'),coloryellow;
DRAWTEXTEX(CLOSE,1,420,120,'20'+n4+'年报'),coloryellow;
DRAWTEXTEX(CLOSE,1,10,240,'每股收益: '),Colorred;
DRAWTEXTEX(CLOSE,1,90,240,NUMTOSTR(aa1,3)),Colorred;
DRAWTEXTEX(CLOSE,1,220,240,NUMTOSTR(aa2,3)),Colorred;
DRAWTEXTEX(CLOSE,1,320,240,NUMTOSTR(aa3,3)),Colorred;
DRAWTEXTEX(CLOSE,1,420,240,NUMTOSTR(aa4,3)),Colorred;
DRAWTEXTEX(CLOSE,1,10,360,'主营利润: '),Color80DDFF;
DRAWTEXTEX(CLOSE,1,90,360,NUMTOSTR(bb1,3)),Color80DDFF;
DRAWTEXTEX(CLOSE,1,220,360,NUMTOSTR(bb2,3)),Color80DDFF;
DRAWTEXTEX(CLOSE,1,320,360,NUMTOSTR(bb3,3)),Color80DDFF;
DRAWTEXTEX(CLOSE,1,420,360,NUMTOSTR(bb4,3)),Color80DDFF;
DRAWTEXTEX(CLOSE,1,10,480,'每股净资: '),ColorFFFF80;
DRAWTEXTEX(CLOSE,1,90,480,NUMTOSTR(cc1,2)),ColorFFFF80;
DRAWTEXTEX(CLOSE,1,220,480,NUMTOSTR(cc2,2)),ColorFFFF80;
DRAWTEXTEX(CLOSE,1,320,480,NUMTOSTR(cc3,2)),ColorFFFF80;
DRAWTEXTEX(CLOSE,1,420,480,NUMTOSTR(cc4,2)),ColorFFFF80;
DRAWTEXTEX(CLOSE,1,10,600,'净资收益: '),Colorcccccc;
DRAWTEXTEX(CLOSE,1,90,600,NUMTOSTR(dd1,2)+'%'),Colorcccccc;
DRAWTEXTEX(CLOSE,1,220,600,NUMTOSTR(dd2,2)+'%'),Colorcccccc;
DRAWTEXTEX(CLOSE,1,320,600,NUMTOSTR(dd3,2)+'%'),Colorcccccc;
DRAWTEXTEX(CLOSE,1,420,600,NUMTOSTR(dd4,2)+'%'),Colorcccccc;
DRAWTEXTEX(CLOSE,1,10,720,'每股现金: '),ColorFF80FF;
DRAWTEXTEX(CLOSE,1,90,720,IF(ee1=0,'',NUMTOSTR(ee1,3))),ColorFF80FF;
DRAWTEXTEX(CLOSE,1,220,720,IF(ee2=0,'',NUMTOSTR(ee2,3))),ColorFF80FF;
DRAWTEXTEX(CLOSE,1,320,720,IF(ee3=0,'',NUMTOSTR(ee3,3))),ColorFF80FF;
DRAWTEXTEX(CLOSE,1,420,720,IF(ee4=0,'',NUMTOSTR(ee4,3))),ColorFF80FF;
DRAWTEXTEX(CLOSE,1,10,840,'每股公积: '),Color4080FF;
DRAWTEXTEX(CLOSE,1,90,840,NUMTOSTR(ff1,4)),Color4080FF;
DRAWTEXTEX(CLOSE,1,220,840,NUMTOSTR(ff2,4)),Color4080FF;
DRAWTEXTEX(CLOSE,1,320,840,NUMTOSTR(ff3,4)),Color4080FF;
DRAWTEXTEX(CLOSE,1,420,840,NUMTOSTR(ff4,4)),Color4080FF;
DRAWTEXTEX(CLOSE,1,10,960,'净利润率: '),ColorEEEEFF;
DRAWTEXTEX(CLOSE,1,90,960,NUMTOSTR(ii1,2)+'%'),ColorEEEEFF;
DRAWTEXTEX(CLOSE,1,220,960,NUMTOSTR(ii2,2)+'%'),ColorEEEEFF;
DRAWTEXTEX(CLOSE,1,320,960,NUMTOSTR(ii3,2)+'%'),ColorEEEEFF;
DRAWTEXTEX(CLOSE,1,420,960,NUMTOSTR(ii4,2)+'%'),ColorEEEEFF;
动态收益:(SUM(aa1,4)-aa2)/3,PRECISION2,ColorFFFFFF,LINETHICK;
静态收益:aa2,Color00FFFF,PRECISION2,LINETHICK;
市净率:CLOSE/cc1,ColorFF00FF,PRECISION2,LINETHICK;
动态市盈率:CLOSE/动态收益,PRECISION2,ColorFFFFFF,LINETHICK;
静态市盈率:CLOSE/静态收益,PRECISION2,Color00FFFF,LINETHICK;
DRAWTEXTEX(aa1>a01,1,180,0,'业绩较同期增长'),Color0000FF;
DRAWTEXTEX(aa1<a01,1,180,0,'业绩较同期下滑'),Color00FF00;
DRAWTEXT(BARPOS=DATACOUNT-48,0,' 季报\n'+NUMTOSTR(aa1,3)),PXUP60,ColorFFFFFF;
DRAWTEXT(BARPOS=DATACOUNT-38,0,' 同期\n'+NUMTOSTR(a01,3)),PXUP60,ColorFFFFFF;
DRAWTEXT(BARPOS=DATACOUNT-28,0,' 年报\n'+NUMTOSTR(aa2,3)),PXUP60,ColorFFFFFF;
DRAWTEXT(BARPOS=DATACOUNT-18,0,' 上年\n'+NUMTOSTR(aa3,3)),PXUP60,ColorFFFFFF;
DRAWTEXT(BARPOS=DATACOUNT-8,0,' 前年\n'+NUMTOSTR(aa4,3)),PXUP60,ColorFFFFF;
{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容